Description
I get this with the attached image, which is page 14 of the file 002710.pdf in
http://digitalcorpora.org/corp/nps/files/govdocs1/zipfiles/002.zip
java.lang.UnsupportedOperationException
at org.apache.pdfbox.pdmodel.graphics.color.PDPattern.toPaint(PDPattern.java:104)
at org.apache.pdfbox.util.operator.pagedrawer.Invoke.process(Invoke.java:76)
Invoke.java has a comment "TODO: pass page height?".
After changing the code by passing the height (see also rev 1580326), running code in PDPattern.java is called and I get a better image. To see the difference, look at "Sailor springs" and "New Harmony Consolidated". In the "good" image there's a pattern which isn't in the "bad" image.
Attachments
Attachments
Issue Links
- is related to
-
PDFBOX-1094 Pattern colorspace support
- Closed
-
PDFBOX-1991 Shading PaintContexts should not depend on the page height
- Closed