Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 15. Working Directly with Bitmap Data

Chapter 15. Working Directly with Bitmap Data

A bitmap image is a graphic that is created using a grid. The grid is a set of pixels, each with a defined color. When you zoom in on a bitmap image, the grid is obvious. Zooming in on a bitmap causes the pixilated look you've probably seen on resized or low-resolution images. Bitmap images are different from vector images in this way. A vector image is defined by points. As a vector image is scaled, the points remain in the same relative position. Lines and fills are drawn between these points as the vector is scaled. Because the lines and fills are redrawn, no pixilation occurs. When vector images are converted to bitmaps based on their current scale within a specified pixel area, they are referred to as rasterized graphics.

Before Flash 8, Flash could not directly manipulate bitmap graphics at the pixel level. Flash has always been able to display bitmap images and modify them as a movieClip object, but ActionScript was never able to fetch the pixel information and work with the pixels directly.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint