Graphics Programs Reference
In-Depth Information
Figure 5-14. Form XObject used at two scales
width and height, and some parameters which describe the conversion from the image
data to values in its color space.
Here is a resources entry for an image XObject:
<< /XObject << /X2 5 0 R >> >>
This defines an image XObject called /X2 whose parameters are:
5 0 obj
<<
/Type /XObject It's an XObject
/Subtype /Image It's an image
/ColorSpace /DeviceGray The color space of the image. Also determines how many components it has.
/Length 8 The length of the stream in bytes, as usual
/Width 8 Image width in pixels
/Height 8 Image height in pixels
/BitsPerComponent 1 Number of bits used for each component
>>
stream
@`pxxp`@ The image data
endstream
 
Search WWH ::




Custom Search