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!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

0
Votes

Hello,

I am trying converting a PDF

page 

(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);

}

  1. with 300 dpi, the gridline is not shape enough as Adobe, and the background is not very clear as Adobe
  2. with 96 dpi, the gridline is very shape and close to the looking on Adobe, but the background is still not very clear.