问题
Please someone help me with ghostscript....
I want to create image of a particular page postscript file using ghostscript. I will specify the page number or something like that will get the respective image as output.
Is this possible with ghostscript?
回答1:
In current versions of Ghostscript you have two choices:
1) Render every page to an image file, use the '%d' file name format so that you know which page you want, delete the others.
2) PostScript is a programming language. Write a customer EndPage procedure which returns true when the page is the one you want, and false for all others.
In a yet to be released version of Ghostscript, the FirstPage and LastPage paramters could be used to do this.
来源:https://stackoverflow.com/questions/32476903/create-image-of-specific-page-of-postscript-file-using-ghostscript