How can I convert each pages of a PDF’s file in C#, using free command line or free library?
Thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Example commandlines for Ghostscript converting multipage PDF to images (1 image per page):
.
.
.
.
.
.
…and many more are possible….
If you need to control resolutions and page sizes (and not rely on Ghostscript’s defaults) add these parameters:
gives you a horizontal and vertical resolution of 600 dpi.
applies a widths of 5950 “devicepoints” and a height of 8420 “devicepoints”. Depending on the resolution used at the same time, the devicepoints will end up on paper in different sizes. In case of a resolution
-r720x720above example of-g5950x8420will become the same as media size ofDIN A4 ISO(which is in PostScript points595by842.