| {{header}} | 
 | {{object 1 0}} << | 
 |   /Type /Catalog | 
 |   /Pages 2 0 R | 
 | >> | 
 | endobj | 
 | {{object 2 0}} << | 
 |   /Type /Pages | 
 |   /Count 1 | 
 |   /Kids [3 0 R] | 
 | >> | 
 | endobj | 
 | {{object 3 0}} << | 
 |   /Type /Page | 
 |   /Parent 2 0 R | 
 |   /Contents 4 0 R | 
 |   /MediaBox [0 0 88 128] | 
 |   /Resources << | 
 |     /XObject << | 
 |       /ImGray 5 0 R | 
 |       /ImGrayAlpha 6 0 R | 
 |       /ImRGB 7 0 R | 
 |       /ImRGBAlpha 8 0 R | 
 |       /ImCMYK 9 0 R | 
 |       /ImCMYKAlpha 10 0 R | 
 |     >> | 
 |   >> | 
 | >> | 
 | endobj | 
 | {{object 4 0}} << | 
 |   {{streamlen}} | 
 | >> | 
 | stream | 
 |  | 
 | % 50% gray background rectangle | 
 | q | 
 |   0.5 0.5 0.5 rg | 
 |   0 0 88 128 re | 
 |   f | 
 | Q | 
 |  | 
 | % grayscale, grayscale with alpha | 
 | q | 
 |   32 0 0 32 8 88 cm | 
 |   /ImGray Do | 
 | Q | 
 | q | 
 |   32 0 0 32 48 88 cm | 
 |   /ImGrayAlpha Do | 
 | Q | 
 |  | 
 | % RGB, RGB with alpha | 
 | q | 
 |   32 0 0 32 8 48 cm | 
 |   /ImRGB Do | 
 | Q | 
 | q | 
 |   32 0 0 32 48 48 cm | 
 |   /ImRGBAlpha Do | 
 | Q | 
 |  | 
 | % CMYK, CMYK with alpha | 
 | q | 
 |   32 0 0 32 8 8 cm | 
 |   /ImCMYK Do | 
 | Q | 
 | q | 
 |   32 0 0 32 48 8 cm | 
 |   /ImCMYKAlpha Do | 
 | Q | 
 |  | 
 | endstream | 
 | endobj | 
 |  | 
 | % grayscale | 
 | {{object 5 0}} << | 
 |   /Type /XObject | 
 |   /Subtype /Image | 
 |   /ColorSpace /DeviceGray | 
 |   /Filter /JPXDecode | 
 |   /Height 4 | 
 |   /Width 4 | 
 |   {{streamlen}} | 
 | >> | 
 | stream | 
 | {{include ../gray.jp2}} | 
 | endstream | 
 | endobj | 
 |  | 
 | % grayscale with opacity | 
 | {{object 6 0}} << | 
 |   /Type /XObject | 
 |   /Subtype /Image | 
 |   /ColorSpace /DeviceGray | 
 |   /Filter /JPXDecode | 
 |   /Height 4 | 
 |   /SMaskInData 1 | 
 |   /Width 4 | 
 |   {{streamlen}} | 
 | >> | 
 | stream | 
 | {{include ../gray-alpha.jp2}} | 
 | endstream | 
 | endobj | 
 |  | 
 | % RGB | 
 | {{object 7 0}} << | 
 |   /Type /XObject | 
 |   /Subtype /Image | 
 |   /ColorSpace /DeviceRGB | 
 |   /Filter /JPXDecode | 
 |   /Height 4 | 
 |   /Width 4 | 
 |   {{streamlen}} | 
 | >> | 
 | stream | 
 | {{include ../RGB.jp2}} | 
 | endstream | 
 | endobj | 
 |  | 
 | % RGB with opacity | 
 | {{object 8 0}} << | 
 |   /Type /XObject | 
 |   /Subtype /Image | 
 |   /ColorSpace /DeviceRGB | 
 |   /Filter /JPXDecode | 
 |   /Height 4 | 
 |   /SMaskInData 1 | 
 |   /Width 4 | 
 |   {{streamlen}} | 
 | >> | 
 | stream | 
 | {{include ../RGB-alpha.jp2}} | 
 | endstream | 
 | endobj | 
 |  | 
 | % CMYK | 
 | {{object 9 0}} << | 
 |   /Type /XObject | 
 |   /Subtype /Image | 
 |   /ColorSpace /DeviceCMYK | 
 |   /Filter /JPXDecode | 
 |   /Height 4 | 
 |   /Width 4 | 
 |   {{streamlen}} | 
 | >> | 
 | stream | 
 | {{include ../CMYK.jpf}} | 
 | endstream | 
 | endobj | 
 |  | 
 | % CMYK with opacity. | 
 | {{object 10 0}} << | 
 |   /Type /XObject | 
 |   /Subtype /Image | 
 |   /ColorSpace /DeviceCMYK | 
 |   /Filter /JPXDecode | 
 |   /Height 4 | 
 |   /SMaskInData 1 | 
 |   /Width 4 | 
 |   {{streamlen}} | 
 | >> | 
 | stream | 
 | {{include ../CMYK-alpha.jpf}} | 
 | endstream | 
 | endobj | 
 |  | 
 | {{xref}} | 
 | {{trailer}} | 
 | {{startxref}} | 
 | %%EOF |