Hello John,

This works in the unreleased 2.0.4

I suspect that this is related to the PDFBOX-3000 issue, although your file doesn't have transparency groups, but one of the changes was related to rotated pages (yours is).


Am 18.10.2016 um 01:37 schrieb John Planow:
I've just migrated to PDFBox 2.0.3 (from 1.8.x) for some PDF to image conversion we're doing. In my initial testing, I'm seeing some of the text rendered upside-down and out of position when I use this method:

    public BufferedImage renderImageWithDPI(int pageIndex,
                   float dpi,
                   ImageType imageType)
                   throws IOException

The PDF and resulting image file are attached.

This looks suspiciously similar to issues people have had with PDPageContentStream <http://stackoverflow.com/questions/27919436/pdfbox-pdpagecontentstreams-append-mode-misbehaving>, but in this case, I don't know of any way to mess with the graphics context during rendering.

Is this a bug in the PDFBox library? Regardless, is there any way to workaround it?

With gratitude,


jpla...@parchment.com <mailto:jpla...@parchment.com>
3000 Lava Ridge Court, Suite 210, Roseville, CA 95661
*Parchment *|**Turn Credentials Into Opportunities
www.parchment.com <http://www.parchment.com/>

To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to