We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Image Files not converting correctly to PDF

Hello, I am currently using methods of converting a .png file to .pdf using both Aspose.Pdf and Aspose.Words. Each time the .png is converted to PDF, the resulting pdf is either zoomed in and cropped incorrectly, or it is off-centered and cropped incorrectly. What is the recommended way to properly convert image files to PDF?

Hi Brett,

Thank you for your interest in Aspose.Pdf. I am a representative of Aspose.Pdf team.

Kindly check the following documentation links for more details and code snippets as per your requirement.

If you still face any issue, please share the source PNG file with us. This will help us to identify the issue and reply back to you soon.

We apologize for your inconvenience.

Thanks & Regards,

Hi
Brett,


Thanks for your inquiry. I am representative of Aspose.Words team and I believe the code suggested in the following article would be helpful to you:
http://www.aspose.com/docs/display/wordsnet/How+to++Convert+an+Image+to+PDF

Best Regards,