Fun with rotation

  • I'm trying to rotate a page in a pdf, which seems to be working fine.
    I'm then saving this page to a temporary file, which seems to be working fine.
    I'm then using wpview_pdfMakeJPEG() to convert this temporary pdf-file into jpeg (which is required by our system). This step however seems to have a problem. The rotation is gone, and the resulting jpeg is a conversion of the original pdf, not the rotated temporary one.
    Could it be that the rotation is stored as metadata, and that wpview_pdfMakeJPEG() doesn't take this into account?