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

Free Support Forum - aspose.com

Convert image to PDF using Aspose.PDF for .NET - image is cropped in output

Hi, Support:

It may be a bug!
For example:
a 3000x2000 pic is converted to a pdf document.
using aspose.pdf.dll to the pdf file, and then call pages(1).setpagesize(1000,600), and then save it to NewPdf.pdf

then Open the NewPdf.pdf,found the 3000x2000 pic has been cropped, not zoomout the 3000x2000 pic to 1000x600!
Please pay attention to it and fix it======resize a pdfpage size not equal to crop the page, it must be zoom the page.

@ducaisoft

Could you please share the sample code snippet and sample files with us so that we can test the scenario in our environment and address it accordingly.