IM 6.2.5 identify returns wrong dpi values with PNG and BMP

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

Post by el_supremo »

Your problem may be related to the bug I have described in my post "BMP resolution units".
If you interpret 28.34 as being pixels per centimetre then multiplying by 2.54cm/in gives 72 pixels per inch. So that number is correct provided that you realize that it is pixels per centimetre rather than per inch.