Page 1 of 1

wrong crop box used for conversions of PDF images

Posted: 2007-02-13T19:09:53-07:00
by donovaly
Take this PDF-image (in PDF format 1.4):
http://fkurth.de/uwest/usti/TMMFStructure-2.pdf
and convert it to a PNG using this command:

Code: Select all

convert -define pdf:use-cropbox=true -depth 8 pdf:TMMFStructure-2.pdf png:TMMFStructure-2.png
The result is this PNG:
http://fkurth.de/uwest/usti/TMMFStructure-2.png

convert.exe doesn't take the correct crop box: The left and bottom border of the crop box is correct, but the upper and the right border are set so that the resulting image has A4 size.

I'm using IM 6.3.2-3 and Ghostscript 8.54.

Re: wrong crop box used for conversions of PDF images

Posted: 2007-02-13T20:30:48-07:00
by magick
We have a fix for the problem you reported. We'll update ImageMagick within a day or two. Thanks for the problem report.