Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.26
-
None
Description
To solve the troubles from PDFBOX-4123 (low print quality of PDFs with unneeded transparency groups)
As mentioned in the mailing list in this thread
Both options are related to transparency groups. These are an extension of XObject forms. I thought about ignoring them, i.e. treat them like ordinary forms.
So I looked at PDXobject.createXObject(); this one is called by PDResources.getXObject(), which is called by DrawObject.process(). That one class can officially be replaced if you extend PageDrawer and call "addOperator(new DrawObject());" in the constructor; that class should have a slightly modified code that does NOT call showTransparencyGroup(), but only showForm() (there are 3 DrawObject classes, copy the one in org.apache.pdfbox.contentstream.operator.graphics). You can extend PageDrawer, but you'll have to extend PDFRenderer as well, see class comment of PageDrawer.
and implemented by tresf in this commit.