This project has moved. For the latest updates, please go here.

Converting only a certain portion of PDF to image.

Dec 10, 2014 at 1:29 AM
I've been trying to figure this out and can't seem to determine the proper method. I am creating an image from PDF and only need to use a certain area of it. For now, I'm resorting to cropping using a MagickGeometry. It works great, but the problem is that there's a lot of processing time and memory being wasted on the original size. Is there a way for me to only convert a certain portion of the pdf?

Any help would be greatly appreciated. Target machines have low memory and low processing power.
Coordinator
Dec 10, 2014 at 2:52 PM
I don't think that is possible at the moment. If your pdf document contains a cropbox you could set the option pdf:use-cropbox to true. I will do some research next week to see if it is possible to define a custom cropbox.