创建“特定页面”图片使用ghostscript的附言文件 [英] Create image of, "specific page" of postscript file using ghostscript

查看:105
本文介绍了创建“特定页面”图片使用ghostscript的附言文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请有人帮我提供ghostscript。...

Please someone help me with ghostscript....

我想使用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.

ghostscript是否可能?

Is this possible with ghostscript?

推荐答案

在当前版本的Ghostscript中,您有两种选择:

In current versions of Ghostscript you have two choices:

1)将每个页面渲染为图像文件,使用'%d'文件名格式,以便您知道想要的页面,然后删除其他页面。

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是一种编程语言。编写一个客户EndPage过程,该过程在页面是您想要的页面时返回true,对于其他页面返回false。

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.

在尚未发布的Ghostscript版本中,FirstPage并且可以使用LastPage参数。

In a yet to be released version of Ghostscript, the FirstPage and LastPage paramters could be used to do this.

这篇关于创建“特定页面”图片使用ghostscript的附言文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆