Reputation: 103
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?
Upvotes: 1
Views: 107
Reputation: 24535
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.
Upvotes: 1