Create image of, “specific page” of postscript file using ghostscript

泪湿孤枕 提交于 2019-12-11 12:42:41

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!