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,