<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 - pdftoppm: X and Y scaling are swapped"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=95268">95268</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>pdftoppm: X and Y scaling are swapped
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </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>jason@aquaticape.us
          </td>
        </tr></table>
      <p>
        <div>
        <pre>A similar bug for pdftocairo was fixed in <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Scale-to arguments not working in some cases"
   href="show_bug.cgi?id=94655">bug #94655</a>.  The ZIP archive in that
bug (<a href="https://bugs.freedesktop.org/attachment.cgi?id=122468">https://bugs.freedesktop.org/attachment.cgi?id=122468</a>) has two files,
good.pdf and bad.pdf.

Running the following command:

  pdftoppm -png -singlefile -f 1 -scale-to-x 1275 -scale-to-y 1650 bad.pdf bad

creates a 1651 x 1275 png image.  With those -scale-to-x/y arguments, it should
be 1275 x 1651.  The x and y scaling gets swapped because the PDF is internally
rotated.  The page dictionary specifies /Rotate 270.</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>