O'Reilly logo

Programming with Quartz by Philip Schneider, Bunny Laden, David Gelphman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9 Drawing Images

A bitmap image is a rectangular array of image samples (also called pixels), with each sample representing a single color value at a particular location in the image. There are a wide variety of sources of images. Digital cameras produce bitmap photographic images directly. Digital scanners can produce images from a wide variety of source material. Quartz produces bitmap image data when it renders to a bitmap context. Pixel painting programs produce images through human interaction. Images can be produced synthetically, such as with special-purpose rendering software to algorithmically produce a rendered scene. Figure 9.1. illustrates a few different image sources.

Figure 9.1 Images come from many sources, such as photographs, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required