09.12.2012 Views

Preface - Adobe

Preface - Adobe

Preface - Adobe

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2.3<br />

13<br />

Page Description Languages<br />

consist of one memory cell per pixel. Some implementations use other representations,<br />

such as display lists. The <strong>Adobe</strong> imaging model has been carefully designed not<br />

to depend on any particular representation of raster memory.<br />

For each graphical element that is to appear on the page, the scan converter sets<br />

the values of the corresponding pixels. When the interpretation of the page description<br />

is complete, the pixel values in memory represent the appearance of the<br />

page. At this point, a raster output process can make this representation visible<br />

on a printed page or a display.<br />

Scan-converting a graphical shape, such as a rectangle or a circle, involves determining<br />

which device pixels lie “inside” the shape and setting their values appropriately<br />

(for example, setting them to black). Because the edges of a shape do not<br />

always fall precisely on the boundaries between pixels, some policy is required for<br />

deciding which pixels along the edges are considered to be “inside.” Scanconverting<br />

a text character is conceptually the same as scan-converting an arbitrary<br />

graphical shape; however, characters are much more sensitive to legibility<br />

requirements and must meet more rigid objective and subjective measures of<br />

quality.<br />

Rendering grayscale elements on a bilevel device—one whose pixels can only be<br />

black or white—is accomplished by a technique known as halftoning. The array<br />

of pixels is divided into small clusters according to some pattern (called the<br />

halftone screen). Within each cluster, some pixels are set to black and some to<br />

white in proportion to the level of gray desired at that place on the page. When<br />

viewed from a sufficient distance, the individual dots become unnoticeable and<br />

the result is a shade of gray. This enables a bilevel raster output device to reproduce<br />

shades of gray and to approximate natural images, such as photographs.<br />

Some color devices use a similar technique.<br />

2.3 Page Description Languages<br />

Theoretically, an application program could describe any page as a full-page pixel<br />

array. But this would be unsatisfactory, because the description would be bulky,<br />

the pixel array would be device-dependent, and memory requirements would be<br />

beyond the capacity of many personal computers.<br />

A page description language should enable applications to produce files that are<br />

relatively compact for storage and transmission, and independent of any particular<br />

output device.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!