[
https://issues.apache.org/jira/browse/PDFBOX-4123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16376165#comment-16376165
]
Tilman Hausherr commented on PDFBOX-4123:
-----------------------------------------
I did it with NOTEPAD++.
There is no direct simple technique with PDFBox, but you could go through each
dictionary (page, but also resources like XObject forms and patterns) and then
remove it on the COS level.
For PDF files like the one attached it makes no difference (or I can't see it),
but for "nice" PDFs (e.g. illustrations) the result would be very different.
The better solution would be not to use transparency groups when creating the
PDF. Your PDF is just an average looking form.
> PDF will only print rasterized
> ------------------------------
>
> Key: PDFBOX-4123
> URL: https://issues.apache.org/jira/browse/PDFBOX-4123
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.8
> Reporter: Tres Finocchiaro
> Priority: Major
> Attachments: PDFBOX-4123-no-transparency.pdf
>
>
> [This PDF|https://github.com/qzind/tray/files/1749977/test.pdf] will only
> print rasterized. It looks fine in Adobe Reader, but once printed using
> PDFBOX, it will always print rasterized.
> Information about how the PDF was created (reported by a 3rd party, can get
> more details if needed):
> * Created with Adobe Illustrator
> * Form-filled programmatically using using FPDI
> * The PDF before FPDI does not experience this issue.
> Expected results (zoomed 24x):
> [!https://user-images.githubusercontent.com/6345473/36575790-d730b36e-181a-11e8-8eea-855b05383b2e.png!|https://user-images.githubusercontent.com/6345473/36575790-d730b36e-181a-11e8-8eea-855b05383b2e.png]
>
> Actual results:
> [!https://user-images.githubusercontent.com/12505463/36571015-c1ea7d5e-1802-11e8-8bfb-84983dd0479a.png!|https://user-images.githubusercontent.com/12505463/36571015-c1ea7d5e-1802-11e8-8bfb-84983dd0479a.png]
> Command used for testing:
>
>
> {noformat}
> java -jar /Users/owner/Downloads/pdfbox-app-2.0.8.jar PrintPDF -silentPrint
> -defaultPrinter PDFCreator -dpi 0 ~/Downloads/test.pdf{noformat}
> Also reproduced on CUPS-PDF, Microsoft Print To PDF
> The symptom from the business area was "slow printing", but this symptom was
> a side effect of a high resolution rasterization, causing the PDF to spool to
> about 800MB.
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]