You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by "Finzen, Jan" <Ja...@iao.fraunhofer.de> on 2012/10/08 16:00:20 UTC

Flipped images

Hi,

we use pdf-box to extract images from PDF files. Unfortunately images sometimes come out mirrored  - and we do not understand when and why. Is it possible that images are actually stored in a flipped way within the PDF itself? And if so - is there something similar to the findRotation()-method to find out about it?

Thanks & regards,
Jan

Re: Flipped images

Posted by Andreas Lehmkuehler <an...@lehmi.de>.
Hi,

Am 08.10.2012 16:00, schrieb Finzen, Jan:
> Hi,
>
> we use pdf-box to extract images from PDF files. Unfortunately images sometimes
 > come out mirrored  - and we do not understand when and why.
Which version are you using? Try the current trunk, as I just checked in some
fixes concerning the rotation

 > Is it possible that images are actually stored in a flipped way within
 > the PDF itself?
AFAIK no. That doesn't makes sense ...

> And if so - is there something similar to the findRotation()-method to
 > find out about it?
You should use the PDFDebugger to dig deeper into a pdf. It's part of PDFBox.

> Thanks & regards,
> Jan

BR
Andreas Lehmkühler