[ https://issues.apache.org/jira/browse/PDFBOX-5343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17460718#comment-17460718 ]
Tilman Hausherr commented on PDFBOX-5343: ----------------------------------------- I wonder why you have a button in the first place. Your use case is probably that the client enters his data in a form and uploads a photo, you then create a PDF for printing. You don't need a button to add an image to a PDF. > PdfBox images Alignation Issue after using flatten function > ----------------------------------------------------------- > > Key: PDFBOX-5343 > URL: https://issues.apache.org/jira/browse/PDFBOX-5343 > Project: PDFBox > Issue Type: Bug > Components: AcroForm > Affects Versions: 3.0.0 PDFBox > Reporter: Mohamed Sameem > Priority: Major > Labels: PDFBox, acroform, bug, flatten, pdf > Attachments: Screenshot_2021-12-15-22-49-00-277_com.adobe.reader.jpg, > Screenshot_2021-12-15-22-50-18-641_com.adobe.reader.jpg, bug.pdf, > irregular.png, irregular2.png > > > Using flatten function of pdfbox changes the position of images from the > required box to be filled.I would like to know if there is a fix for this. I > would like the pdfbox team to look into it.Images attached The images are > moving out of their respective position after using PDAcroForm.flatten() > Images attached > https://stackoverflow.com/questions/70361091/pdfbox-images-alignation-issue-after-using-flatten-function -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org