[ 
https://issues.apache.org/jira/browse/PDFBOX-1693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13749979#comment-13749979
 ] 

Tilman Hausherr edited comment on PDFBOX-1693 at 8/26/13 10:39 AM:
-------------------------------------------------------------------

The files are like that in your PDF. Xerox did it that way. When rendering, 
they are rotated 270°.

<< /Type /Page
/Parent 2 0 R
/Resources 3 0 R
/MediaBox [0 0 842 596]
/Rotate 270
/Contents 5 0 R
>>

                
      was (Author: tilman):
    The files are like that in your PDF. When rendering, they are rotated 270°. 
Xerox did it.

<< /Type /Page
/Parent 2 0 R
/Resources 3 0 R
/MediaBox [0 0 842 596]
/Rotate 270
/Contents 5 0 R
>>

                  
> The images have rotated 90 degrees
> ----------------------------------
>
>                 Key: PDFBOX-1693
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1693
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.8.2
>         Environment: Windows 7
> pdfbox-app-1.8.2.jar
> java version 1.7.0_17 (build 1.7.0_17-b02) 64-bit Server VM
>            Reporter: Christian Czech
>         Attachments: DOC008.pdf, test_DOC008_test_001.png, 
> test_DOC008_test_002.png
>
>
> Hi everybody,
> I have a problem with images extraction from PDF.
> The images have rotated 90 degrees.
> My code:
> PDXObject xobject = xobjects.get(key);
> PDXObjectImage image = null;
> if (xobject instanceof PDXObjectImage) {
> image = (PDXObjectImage) xobject;
> image.write2file(outputPath);
> }
> Does anyone know what's the problem?
> Thanks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to