Version: ImageMagick-6.3.6-2
GhostScript Version: 8.60
OS: CentOS 5 (Linux 2.6.18-8.1.14)

Run command:
convert -density 100 -border 50 -bordercolor white /tmp/input.png /tmp/output.pdf to generate a PDF that contains my image with a 50 pixel border (in this case, a 1/2 inch border). I can also generate PDF files whose density (dpi) is 300x300.

I then run:
  identify -verbose /tmp/output.pdf | grep Resolution
expecting to see a resolution of "100x100" yet I see "72x72"

This then causes problems for other software that depends on the resolution being correctly set. For example if I then try to get a thumbnail from the PDF using:
  convert -resize 90x90 /tmp/output.pdf /tmp/thumbnail.jpg
I see a huge white border at the top and right of my original image which is shrunk in size (to be about 2/3rds of the full thumbnail size). This is just one example of a program that expects the resolution to be set correctly and since it is not, behaves incorrectly.

Any fixes would be greatly appreciated.
  ++Tait

_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs

Reply via email to