Details
Description
When running the following Scala program on one of the attached PDFs:
import org.apache.pdfbox.pdmodel.PDDocument import org.apache.pdfbox.rendering.PDFRenderer import java.io.File object FigureExtractorBatchCli { def main(args: Array[String]): Unit = { new PDFRenderer(PDDocument.load(new File("problem.pdf"))).renderImageWithDPI(0, 195) } }
a fatal error occurs with the JVM at the call to java.awt.Graphics2D.draw.
For problem.pdf this only happens at a DPI >= 195. For problem2.pdf it's DPI >= 5. For problem3.pdf it happens at any DPI.
Attachments
Attachments
Issue Links
- relates to
-
PDFBOX-2373 Rendering at 72 dpi crashes java
- Closed
-
PDFBOX-2929 "Illegal instruction: 4" with PDFToImage
- Closed