Wrong resolution value

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
slein

Wrong resolution value

Post by slein »

Hello,

we are using ImageMagick (6.4.8 Q16, Windows) to identify the resolution of an image.

Now we discovered a problem with some JPEG images:

Code: Select all

Format: JPEG (Joint Photographic Experts Group JFIF format)
Class: DirectClass
Geometry: 5158x3434+0+0
Resolution: 0.0305x0.0305
Print size: 169115x112590
Units: PixelsPerInch
...
As you can see the resolution as well as the print size is completely implausible. According to PhotoShop or Gimp it should have a resolution of 305 dpi.
Do you have any idea how to get the correct resolution value?

Thank you!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Wrong resolution value

Post by magick »

Post a URL to your JPEG image. We need to download and inspect it before we can offer any help.
slein

Re: Wrong resolution value

Post by slein »

You can find the image here.
Post Reply