[ https://issues.apache.org/jira/browse/PDFBOX-5195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17346296#comment-17346296 ]
Tilman Hausherr commented on PDFBOX-5195: ----------------------------------------- We really need the file. If you can't share the PDF, use PDFDebugger to look at the page content streams. I think the last one should have the QR code invocation, please post that segment. Something with "cm" and "Do". And look in the XObject resources whether the QR code is there. Unrelated to your problem: - don't use JPEG for barcodes. Use lossless or CCITT. (The gold standard would be vector graphics) - insertPDImageXObject has a memory leak, please use try-with-resources - "doc" never gets closed - the role of pmgPlancheckMobilQrcode is confusing > QR-Code not showing on certain documents > ---------------------------------------- > > Key: PDFBOX-5195 > URL: https://issues.apache.org/jira/browse/PDFBOX-5195 > Project: PDFBox > Issue Type: Bug > Components: PDModel > Affects Versions: 2.0.20 > Reporter: Maximilian Belli > Priority: Major > Attachments: QR-Code_generation_code.java > > > We create a software that enables users to download pdf files with a custom > qrcode. To add the qrcode to the pdf file we use pdfbox (relevant code will > be attached in a file). We now encounter files somtimes that get obviously > changed by pdf box (we see that in the size of the file and also when using > tools like winmerge), but the QR-Code does not show on the resulting file. > So far we saw that all files had in common that they were pdf's of version > 1.6, created via AutoCAD with the producer pdfplot12.hdi. > We are currently talking to our customer to release the document for testing. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org