> > What you could try is to extend *getNonStrokingPaint* and > *getStrokingPaint* > and set both values to 1 (that is the default if no ca/CA entry exists) > with *setAlphaConstant*() and *setNonStrokeAlphaConstant*().
Thanks. Do you mind offering a pointer on how to perform this? For example, *getNonStrokingPaint*() and *getStrokingPaint*() return Paint objects. Should I be forcing *setAlphaConstant*() and *setNonStrokeAlphaConstant*() like this code example? https://github.com/apache/pdfbox/blob/f7ac68e7b367a43e36e74e1ec915c25b117304cb/pdfbox/src/main/java/org/apache/pdfbox/contentstream/PDFStreamEngine.java#L237-L238 As a quick test, I hard-coded them to always set/return "1" in *PDGraphicsState * and it appears to fix the rasterization of the second page, but I'd like to be able to make this toggleable. Here's my current code: https://github.com/qzind/tray/pull/1108/files#diff-aba44d09ef8de16a001d790ae7671bea33941071306f549b8dc290504e3e1d1b, which is largely based on a conversation here: https://issues.apache.org/jira/browse/PDFBOX-4123?focusedCommentId=17529733&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17529733 . [image: image.png] - tres.finocchi...@gmail.com