Welcome to the ASP.NET MVC feedback portal. We’re happy you’re here! If you have feedback on how to improve the ASP.NET MVC, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Hello,
I am trying converting a PDF
(please find in attachment,
Edited_PDF.pdf) to PNG file with 96 dpi and 300 dpi, but the output image is not very clear when comparing to view on Adobe. my code as below:
var dpi = 300;
using (PdfLoadedDocument pdfDocument =new PdfLoadedDocument(inputFile))
{
Bitmap image=pdfDocument.ExportAsImage(page, dpi, dpi);
image.Save(outputFile, ImageFormat.Png);
}