wrong crop box used for conversions of PDF images

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
donovaly
Posts: 43
Joined: 2004-10-04T16:24:55-07:00

wrong crop box used for conversions of PDF images

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: wrong crop box used for conversions of PDF images

Post 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.
Post Reply