Hi, I'm using pdfbox 1.8.11 to convert pages to png but for some PDFs I'm getting white space around the page. Checking these files I see that these PDFs have the crop box bigger than the media box and pdfbox seems to be using the crop box to get the output size.

If I open them with Adobe reader, these files display correctly (no extra white space) and print correctly. I know that this seems odd, usually the crop box is smaller or equal to the media box, but Abobe Reader is handling them "correctly". It seems to use the smallest of the boxes which seems logical to me.

Is this a bug in pdfbox?

Carlos



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to