Free Support Forum - aspose.com

PDFViewer mashed my pdf!

I've attached the input and output files from this code:

PdfViewer pdfView = new PdfViewer();

pdfView.OpenPdfFile("c:\\test2.pdf");

try

{

if (pdfView.PageCount > 0)

{

System.Drawing.Bitmap firstPage = pdfView.DecodePage(1);

firstPage.Save("C:\\test002.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);

pdfView.ClosePdfFile();

}

}

catch (Exception ex)

{

pdfView.ClosePdfFile();

}

What happened to the jpeg?

Hi Nigel,

Thank you very much for considering Aspose.

I have tested the PDF file with the latest version Aspose.Pdf.Kit for .NET 4.0.0 and the result is much better. I have attached the output image with this post. Please try the latest version at your end and see if you get better results as well.

I have noticed the only problem with the output image and that’s missing text under the top log (top-right corner). I have logged this issue as
PDFKITNET-13308 in our issue tracking system. Our team will look into this issue and you’ll be updated via this forum thread once the issue is resolved.

We’re sorry for the inconvenience.
Regards,