开发者

Is there a programmatic way to convert PDFs to images using Adobe's PDF renderer?

We trying to set up automated regression testing our generated PDFs by converting our them to images and then using Python Imaging library to test the difference, pixel by pixel, between new and old versions. Right now, the only step that isn't automated is 开发者_开发问答converting the PDFs to images. I know there are ways to convert PDFs to images with other rendering engines (e.g. postscript), but since we're doing precise pixel by pixel comparisons we want to make sure that we are using Adobe's PDF renderer to generate the image. Is there a way to do this with Adobe's renderer?


Have a look at GhostScript - http://www.ghostscript.com/

Also have a look at the PDF tools from tall components - http://www.tallcomponents.com/

You can use Acrobat programatically, however this may be against their licensing and as far as I remember it was much slower than GhostScript.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜