IM does not use media box by default
Posted: 2006-04-26T14:48:01-07:00
Hi magick,
I've read that IM is supposed to use the media box by default when converting a PDF document to something else, e.g.
Unfortunately, I have a PDF document where this behaviour is not true using ImageMagick 6.2.7-1.
The media box, the crop box and the art box (= bounding box) are of the same size. This is the size I'd like to have after the conversion.
The bleed box and the trim box are of the same size as well, but bigger.
When converting a PDF document as described, the size of the bleed box resp. trim box is taken into account, i.e. the image is too big.
The option -define pdf:use-cropbox=true leads to the same result.
Sorry, but I cannot provide a suitable PDF document at the moment.
I hope that you can help...
Thanks a lot in advance and best regards
Sven
I've read that IM is supposed to use the media box by default when converting a PDF document to something else, e.g.
Code: Select all
convert image.pdf image.jpg
The media box, the crop box and the art box (= bounding box) are of the same size. This is the size I'd like to have after the conversion.
The bleed box and the trim box are of the same size as well, but bigger.
When converting a PDF document as described, the size of the bleed box resp. trim box is taken into account, i.e. the image is too big.
The option -define pdf:use-cropbox=true leads to the same result.
Sorry, but I cannot provide a suitable PDF document at the moment.
I hope that you can help...
Thanks a lot in advance and best regards
Sven