Hello John,

This works in the unreleased 2.0.4
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.4-SNAPSHOT/

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).

Tilman


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,
John

--

*JOHN PLANOW *| SOFTWARE DEVELOPER
jpla...@parchment.com <mailto:jpla...@parchment.com>
direct916.367.6868**ext.1623
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