[
https://issues.apache.org/jira/browse/PDFBOX-5601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17722363#comment-17722363
]
Tilman Hausherr edited comment on PDFBOX-5601 at 5/13/23 1:42 PM:
------------------------------------------------------------------
I found out that by copying the BufferedImage into a TYPE_4BYTE_ABGR image (but
not TYPE_INT_ARGB) then it works fine. (Sadly this workaround does not solve
PDFBOX-4010)
[~tresf] please test the new version whether it works for you, and also test
the code I posted earlier, on a non windows system because I want to report the
bug to Oracle.
I'm wondering if this change ruins other of your printings that you reported
here, as this introduces transparency where there were not. (However your file
here already has transparency elsewhere with the "flipcart" image)
was (Author: tilman):
I found out that by copying the BufferedImage into a TYPE_4BYTE_ABGR image (but
not TYPE_INT_ARGB) then it works fine. (Sadly this workaround does not solve
PDFBOX-4010)
[~tresf] please test the new version whether it works for you, and also test
the code I posted earlier, on a non windows system because I want to report the
bug to Oracle.
> Barcode corrupted when printing document
> ----------------------------------------
>
> Key: PDFBOX-5601
> URL: https://issues.apache.org/jira/browse/PDFBOX-5601
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.27
> Reporter: Tres Finocchiaro
> Priority: Major
> Attachments: 234457694-edit.pdf,
> PDFBOX-5601-badbarcodeprint-reduced.pdf, PDFBOX-5601-original-barcode.png,
> jpeg.jpg, preview.png
>
>
> When printing the attached document, the barcode on the left side is
> corrupted. Please see preview of desired versus actual.
> !preview.png!
> * This does not occur when printing with other applications
> * This issue also occurs on the latest 3.0 alpha version
> {code:java}
> java -jar pdfbox-app-2.0.27.jar PrintPDF 234457694-edit.pdf
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]