-define PDF:use-cropbox-true doesn't recognize cropbox
Posted: 2006-08-01T13:43:04-07:00
Take the following two PDF-files:
http://fkurth.de/uwest/usti/PGMEA.pdf
http://fkurth.de/uwest/usti/PGMEA-2.pdf
and convert them with the following command to a PNG:
convert -define pdf:use-cropbox=true PGMEA.pdf PGMEA.png
The file PGMEA-2.pdf is in PDF format 1.4 and Imagemagick correctly recognized its cropbox.
But the file PGMEA.pdf is in PDF format 1.2 and Imagemagick ignored or didn't recognized its cropbox so that the resulting PNG is too large, see the results:
http://fkurth.de/uwest/usti/PGMEA.png
http://fkurth.de/uwest/usti/PGMEA-2.png
I'm using Imagemagick 6.2.8-7.
http://fkurth.de/uwest/usti/PGMEA.pdf
http://fkurth.de/uwest/usti/PGMEA-2.pdf
and convert them with the following command to a PNG:
convert -define pdf:use-cropbox=true PGMEA.pdf PGMEA.png
The file PGMEA-2.pdf is in PDF format 1.4 and Imagemagick correctly recognized its cropbox.
But the file PGMEA.pdf is in PDF format 1.2 and Imagemagick ignored or didn't recognized its cropbox so that the resulting PNG is too large, see the results:
http://fkurth.de/uwest/usti/PGMEA.png
http://fkurth.de/uwest/usti/PGMEA-2.png
I'm using Imagemagick 6.2.8-7.