[magick-users] Problem Finding PDF Dimension using ImageMagick
Charlie Tian
charlie.tian at gmail.com
Wed Feb 20 10:04:53 PST 2008
I run into some problems when using imagemagick installed on one linux
machine (Redhat). When I use "identify" command to try to get the
dimension of a PDF file. It gives me wrong information (height and
width swapped). It works on another linux machine (Debian). See below
for the output. Any ideas why it does not work on Redhat linux? Please
advice. Thanks.
On Redhat linux machine. The dimension is NOT correct.
dev at redhat:~$ identify /home/dev/test/volcanoes.pdf
/home/dev/test/volcanoes.pdf[0] PDF 612x792 612x792+0+0 PseudoClass
256c 5.1mb 0.050u 0:01
/home/dev/test/volcanoes.pdf[1] PDF 612x792 612x792+0+0 PseudoClass
256c 5.1mb 0.040u 0:01
On Debian linux machine. I get CORRECT dimension here.
dev at debian:~$ identify /home/dev/test/volcanoes.pdf
/home/dev/test/volcanoes.pdf[0] PDF 792x612 612x792+0+0 DirectClass 13.4mb
/home/dev/test/volcanoes.pdf[1] PDF 792x612 612x792+0+0 DirectClass 13.4mb
More information about the Magick-users
mailing list