Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Thu Mar 24, 2022 3:00 pm

Hello,

I would like to convert a pdf to an image with the maximum of quality.

I use the next code, but there is no enough pixel :
Code: Select all
            PdfDocument doc = new PdfDocument();
            doc.LoadFromFile(sIn);
            Image imageJPG = doc.SaveAsImage(0);
            imageJPG.Save(sOutjpg, System.Drawing.Imaging.ImageFormat.Jpeg);


Is-there a way to change parameters of converting ?

Thanks a lot,

camille_59
 
Posts: 12
Joined: Mon Feb 01, 2021 4:21 pm

Thu Mar 24, 2022 3:26 pm


camille_59
 
Posts: 12
Joined: Mon Feb 01, 2021 4:21 pm

Fri Mar 25, 2022 7:00 am

Hello,

Glad to hear that this issue was solved by yourself.

If you encounter other issues related to our products in the future, please feel free to contact us.

Have a nice day!

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1657
Joined: Wed Apr 07, 2021 2:50 am

Return to Spire.PDF