Wrong resolution for JPEG Images
Posted: 2009-07-15T05:53:09-07:00
Hi all,
I am using ImageMagick to find some image attributes associated with JPEG files. The version in use currently is ver-6.4.0. The command is identify -verbose <filepath>. The problem is that for some of the images ImageMagick returns the resolution as 72x72 pixelsperinch whereas if viewed in Adobe Photoshop the resolution is different. For the images in question the EXIF data has the X Resolution and Y Resolution as 72 but the Image resolution is not the same as 72. I have tried the latest version (6.5.4-2) as well with no luck.
Is there a bug somewhere in ImageMagick? Where exactly is the resolution read from by identify?
I am using ImageMagick to find some image attributes associated with JPEG files. The version in use currently is ver-6.4.0. The command is identify -verbose <filepath>. The problem is that for some of the images ImageMagick returns the resolution as 72x72 pixelsperinch whereas if viewed in Adobe Photoshop the resolution is different. For the images in question the EXIF data has the X Resolution and Y Resolution as 72 but the Image resolution is not the same as 72. I have tried the latest version (6.5.4-2) as well with no luck.
Is there a bug somewhere in ImageMagick? Where exactly is the resolution read from by identify?