{{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 96 96]
  /Resources <<
    /XObject <<
      /X0 5 0 R
    >>
  >>
>>
endobj

% Cross formed by red horizontal rectangle overlaid with blue vertical
% rectangle.
{{object 4 0}} <<
  {{streamlen}}
>>
stream
q
  % Red horizontal rectangle defined by clip.
  8 32 80 32 re W* n
  1 0 0 rg
  0 0 96 96 re f
Q
q
  % Blue vertical rectangle defined by masked image.
  32 0 0 80 32 8 cm
  /X0 Do
Q
endstream
endobj

% Single pixel image with /SMask to trigger masked image rendering.
{{object 5 0}} <<
  /Type /XObject
  /Subtype /Image
  /Width 1
  /Height 1
  /ColorSpace /DeviceRGB
  /BitsPerComponent 8
  /SMask 6 0 R
  /Filter /ASCIIHexDecode
  {{streamlen}}
>>
stream
00 00 FF
endstream
endobj
{{object 6 0}} <<
  /Type /XObject
  /Subtype /Image
  /Width 1
  /Height 1
  /ColorSpace /DeviceGray
  /BitsPerComponent 8
  /Filter /ASCIIHexDecode
  {{streamlen}}
>>
stream
80
endstream
endobj

{{xref}}
{{trailer}}
{{startxref}}
%%EOF
