> On 9 Feb 2016, at 02:38, Carlos Villegas <[email protected]> wrote: > > 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?
Yes, it’s a bug. It should be fixed in 2.0. — John > Carlos > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

