title: PDF inline Image does not work
body: <p>I defined an image within a pdf stream. It works correctly an shows me a red 4 pixel palette:</p>
  
  <pre><code>%PDF-1.7
  1 0 obj
  &lt;&lt;
    /Type     /Catalog
    /Pages    2 0 R
    /PageMode /UseNone
  &gt;&gt;
  endobj
  2 0 obj
  &lt;&lt;
    /Type  /Pages
    /Count 1
    /Kids  [3 0 R]
  &gt;&gt;
  endobj
  3 0 obj
  &lt;&lt;
    /Type      /Page
    /Parent    2 0 R
    /MediaBox  [0 0 50 20]
    /Contents  4 0 R
    /Resources
    &lt;&lt;
      /XObject &lt;&lt; /Im1 5 0 R &gt;&gt;
    &gt;&gt;
  &gt;&gt;
  endobj
  4 0 obj
  &lt;&lt;
    /Length 38
  &gt;&gt;
  stream
    40 0 0 10 5 5 cm
    /Im1          Do
  endstream
  endobj
  5 0 obj
  &lt;&lt;
    /Type             /XObject
    /Subtype          /Image
    /Width            4
    /Height           1
    /ColorSpace       /DeviceRGB
    /BitsPerComponent 2
    /Filter           /ASCIIHexDecode
    /Length 10
  &gt;&gt;
  stream
   01 08 30
  endstream
  endobj
  xref
  0 6
  0000000000 65535 f 
  0000000009 00000 n 
  0000000090 00000 n 
  0000000155 00000 n 
  0000000311 00000 n 
  0000000400 00000 n 
  trailer
  &lt;&lt;
    /Size 6
    /Root 1 0 R
  &gt;&gt;
  startxref
  720
  %%EOF
  </code></pre>
  
  <p>But when I try to show the same image as an inline image, there is only a blank page:</p>
  
  <pre><code>...
  ...same as above...
  ...
  3 0 obj
  &lt;&lt;
    /Type      /Page
    /Parent    2 0 R
    /MediaBox  [0 0 50 20]
    /Contents  4 0 R
  &gt;&gt;
  endobj
  4 0 obj
  &lt;&lt;
    /Length 92
  &gt;&gt;
  stream
   40 0 0 10 5 5 cm
   BI
    /W   4
    /H   1
    /CS  /RGB
    /BPC 2
    /F   /AHx
   ID
    01 08 30
   EI
  endstream
  endobj
  ...
  </code></pre>
  
  <p>When I use no abbreviations for the image properties, there is already a blank page.</p>
  
  <p>Does anyone has an idea what could be the problem?</p>
  
  <p>Thank you for any hint and help!</p>