I am following the guidelines provided from: https://docs.aspose.com/pdf/net/working-with-images/
Hi Bryan,
Absolutely, thank you for the response. I’ve attached a “GoodForm.pdf” and “BadForm.pdf” which are the originals that I am using for this repro.
I did notice something else. I believe there is something different or wrong on the original forms that I am trying to add the images to, or some property or setting is changed during the Document.Save() method.
Hi Bryan,
Hi Bryan,bwadams:
I did notice something else. I believe there is something different or wrong on the original forms that I am trying to add the images to, or some property or setting is changed during the Document.Save() method.If I take the original form, add an image and then save that PDF, it will appear incorrectly. If I then take that saved PDF that I had previously added an image to, and add another image, the subsequent image is displayed correctly. Is something being changed or set differently in the Document.Save() method?
Thank you for logging this into your system. While trying to find a work around on my end, I ran across something else I’d like to mention. The above solution I mentioned, where you can save the pdf and the saved version will be corrected will only work when there is no license being used.
Hi Bryan,bwadams:
Thank you for logging this into your system. While trying to find a work around on my end, I ran across something else I'd like to mention. The above solution I mentioned, where you can save the pdf and the saved version will be corrected will only work when there is no license being used.Once I add in our license, this workflow is no longer correct and the saved pdf will still have the issue.EDIT:Going along with this, it appears that when you add in text onto a page, such as what is done with the evaluation message that is added when not using a license, it fixes the issue for that specific page within the document. It appears that this alters the page information, but I'm not sure what exactly it is changing on the original pdf.var pdfPage = document.Pages[1];var textFragment = new TextFragment("");textFragment.Position = new Position(0, 0);var textBuilder = new TextBuilder(pdfPage);textBuilder.AppendText(textFragment);