I use Aspose PDF to convert PDF to PNG using a regular code like this:
//Create Resolution object Resolution resolution = new Resolution(300); //create PNG device with specified attributes PngDevice pngDevice = new PngDevice(resolution); //Convert a particular page and save the image to stream pngDevice.Process(pdfDocument.Pages[pageCount], imageStream);
I works well except with attached “A4-300dpi.pdf” file for which output png file is too small (as a thumbnail).
Here is the output file:
Aspose.Pdf.dll version: 126.96.36.199 (2014.02.07)
Is it a bug in Aspose Pdf?