Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
2.0.0
Description
taking the code from the example at
examples/src/main/java/org/apache/pdfbox/examples/pdmodel/Annotation.java
add the following lines at the end (before the finally):
BufferedImage image = new PDFRenderer(document).renderImageWithDPI(0, 600); ImageIO.write(image, "jpg", new File("example.jpg"));
and the image contains only the text without any annotation.
Attachments
Attachments
Issue Links
- is duplicated by
-
PDFBOX-2019 Annotations produced by Annotation.java example are not rendered correctly
- Closed