Details
Description
On display of a PDF document additional unexpected thick points and lines are displayed.
- Example of problematic PDF documents see attachment "anonymous.pdf"
- Screenshot of displayed image see attachment "display.png"
For displaying PDF Document we use following methods of class PDFRenderer (package org.apache.pdfbox.rendering):
public BufferedImage renderImage(int pageIndex, float scale) throws IOException
- value of pageIndex: 0
- value of scale: 1.9417475
public void renderPageToGraphics(int pageIndex, Graphics2D graphics, float scaleX, float scaleY, RenderDestination destination) throws IOException
- value of pageIndex: 0
- value of graphics: SunGraphics2D
- value of scaleX: 0.973301
- value of scaleY: 0.973301
- value of destination: "VIEW"
Remark: On test of PDFTools only empty pages are displayed
Attachments
Attachments
Issue Links
- duplicates
-
PDFBOX-1752 Rendering PDF containing Jpeg2000 fails
- Closed