Page 1 of 1

new option "-define pdf:use-cropbox=true" doesn't

Posted: 2006-03-26T15:08:18-07:00
by donovaly
I'm using Imagemagick 6.2.6-4 and wanted to test out the new option "-define pdf:use-cropbox=true"

Attached a pdf-file that has:

/MediaBox[0 0 595 842]
/CropBox[62.362183 85.039368 566.653564 737.118103]

When I use the following command

convert -define pdf:use-cropbox=true pdf:Tachyonen.pdf ppm:Tachyonen.ppm

The resulting ppm shows not the content of the cropbox, but a region like this [0 0 550 700]

I would attach the a pdf as testfile but don't know how.

Posted: 2006-03-26T15:10:52-07:00
by donovaly
I would attach the a pdf as testfile but don't know how.

Posted: 2006-03-26T19:30:11-07:00
by magick
Can you post a URL to your image so we can download it?

Posted: 2006-03-30T17:39:33-07:00
by donovaly
[quote="magick"]Can you post a URL to your image so we can download it?[/quote]

Here it is:

http://fkurth.de/uwest/LyX/Tachyonen.pdf
and the resulting ppm:
http://fkurth.de/uwest/LyX/Tachyonen.ppm

With this pdf test image you can also test the two other related bugs I reported:

http://redux.imagemagick.org/discussion ... d3778a2c12

http://redux.imagemagick.org/discussion ... d3778a2c12

Posted: 2006-03-30T19:14:41-07:00
by magick
The correct behavior is always one patch away... ImageMagick 6.2.6-8 Beta properly converts your image with the correct cropbox. 6.2.6-8 will be available tommorrow.