Rohit Kumar
Rohit Kumar

Reputation: 9

Create image of, "specific page" of postscript file using ghostscript

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?

Upvotes: 1

Views: 373

Answers (1)

KenS
KenS

Reputation: 31141

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.

Upvotes: 1

Related Questions