Hi, everybody!
Try to convert complex pdf page with a lot of images to png-file. In result, I have an incorrect colors and some artifacts (green spots in the 24 square). Can you help me to have a better quality of resulting png-file?
Code (from there):
Aspose.Pdf.Document book = new Aspose.Pdf.Document(pdfPath);
using (FileStream imageStream = new FileStream(pngPath, FileMode.Create))
{
Resolution resolution = new Resolution(300);
PngDevice pngDevice = new PngDevice(resolution);
pngDevice.Process(book.Pages[1], imageStream);
imageStream.Close();
}