Testing your (free version) JAR with some sample PDF files, when following your code here Tutorials/ JAVA/ Spire.PDF-for-JAVA/ Program-Guide/ Conversion/ Convert-PDF-to-Image-in-Java.html, the resultant PNG files are generated where the actual page-image is in the lower left corner of the file -- maybe roughly 20% of the image, and the rest of the image ("canvas") is blank.
I would expect the page-image to be the full size of the canvas.
NOTE: That I am using dpi = 96, because setting dpi too high quickly causes a heap violation.
Do you have an updated sample code that saves an image from a PDF page where the image is scaled correctly?
Thank you,
AJ