wrong crop box used for conversions of PDF images
Posted: 2007-02-13T19:09:53-07:00
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:
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.
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
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.