Page 1 of 1
Posted: 2006-03-08T11:35:52-07:00
by magick
The solution to the problem is to strip the MediaBox from the PDF or edit the ImageMagick source, coders/pdf.c. Remove the MediaBox check from ReadPDFImage() and rebuild/reinstall. Alternatively you can download ImageMagick 6.2.6-4 Beta within a few days and add this to your command line:
- -define pdf:use-cropbox=true
Posted: 2006-05-07T08:20:22-07:00
by magick
Try upgrading your version of Ghostscript. If that does not make a difference this may work:
- convert -define pdf:use-cropbox=true 1005.pdf -delete 1-99 sizetest.jpg
Posted: 2006-05-07T11:00:22-07:00
by magick
Our recommendation is to use the Ghostscript program directly and bypass ImageMagick.
Posted: 2006-05-07T12:16:46-07:00
by magick
Yes you can use Ghostscript to convert directly to JPEG. See the Ghostscript forums to determine how this is done. Add -verbose to your convert command to see the options ImageMagick passes to Ghostscript.