Do the annotations have an appearance (AP) entry? Olaf
Am 28 Mar 2014 um 21:17 schrieb "Stan Taylor" <[email protected]>: > Is anyone else experience issues regarding annotations not being rendered? > Attached here are two PDF samples created from the > /examples/src/main/java/org/apache/pdfbox/examples/pdmodel/Annotation.java > example program from PDFBox 1.8.4 (stan1.pdf) and PDFBox 2.0.0 (stan2.pdf). > > Viewing these PDFs in Adobe Reader (Windows v10), I can see the annotations > fine, but the annotations don’t show up when I use the PDFBox app’s PDFReader > feature from either version of PDFBox. The annotations are likewise not > visible when I render the (first and only) page to an image, via > PDPage.convertToImage() in PDFBox 1.8.4 or via PDFRender. > renderImageWithDPI() in PDFBox 2.0.0. > > The original problem I was investigating was why annotations created by > another PDF package were not showing up, but now I am realizing that > annotations generated by PDFBox’s own example program don’t render either?! > > And ideas/recommendations? > > Thanks, > Stan >

