<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Recent versions of pdftoppm have trouble with reading input from stdin"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97803">97803</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Recent versions of pdftoppm have trouble with reading input from stdin
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>utils
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>brecht@mos6581.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Using this PDF file: <a href="http://www.mos6581.org/rinohtype/_downloads/demo.pdf">http://www.mos6581.org/rinohtype/_downloads/demo.pdf</a>

This works: 

    pdftoppm -f 5 -singlefile -gray demo.pdf >demo.pgm

This fails to parse the PDF properly:

    cat demo.pdf | pdftoppm -f 5 -singlefile -gray - >demo.pgm

This has the same effect:

    pdftoppm -f 5 -singlefile -gray - <demo.pdf >demo.pgm


These warnings are output:

Syntax Error (15429): Illegal character ')'
Syntax Error (15429): Illegal character ')'
Syntax Error (15429): Illegal character ')'
Syntax Error (15429): Illegal character ')'
Syntax Error (15429): Illegal character ')'
Syntax Error (15429): Illegal character ')'
Syntax Error (15429): Illegal character ')'
Syntax Error (15429): Illegal character ')'
Syntax Error (15445): Illegal character ')'
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Element of show/space array must be number or string
Syntax Error (15445): Unknown operator 'Enote'
Syntax Error (15445): Unknown operator ']'
Syntax Error (15445): Too few (0) args to 'TJ' operator

This used to work with poppler 0.41.0. I have tried a couple of versions since
then, all of which suffer from the same problem. 0.47.0 is still broken.

I believe the other utils have similar problems with reading from stdin.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>