Hi all
I'm experiencing several images where ImageMagick identify reports incorrect DPI.
For this particular incident, ImageMagick reports 44 DPI with command: "identify -format %x [file]"
Windows explorer and Photoshop report 300dpi.
The image can be found here: http://www.fernando.dk/tgdpi44Issue.jpg
Thanks for your help.
Ruvan
Identify.exe reports incorrect DPI
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
Re: Identify.exe reports incorrect DPI
Paint Shop Pro X3 also reports 44dpi but Windows Explorer does indeed claim 300dpi.
Pete
Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
See my message in this topic for a link to a zip of all the files.
Re: Identify.exe reports incorrect DPI
Oh dear, forgot to mention something about versions (forgive me)
Win7, 64bit pro.
ImageMagick-6.6.0-Q16 (64bit)
/Ruvan
Win7, 64bit pro.
ImageMagick-6.6.0-Q16 (64bit)
/Ruvan
Re: Identify.exe reports incorrect DPI
We've run a number of open source packages against the image and they all report 44DPI.
Re: Identify.exe reports incorrect DPI
I'm not sure how to interpret this statement.magick wrote:We've run a number of open source packages against the image and they all report 44DPI.
The following two lines of .NET code (which I provide with no restrictions, or limitations) :
Code: Select all
Image newImage = Image.FromFile(@"c:\temp\tgdpi44Issue.jpg");
MessageBox.Show("DPI: " + newImage.HorizontalResolution);
Simply stating that ImageMagick and other open source packages report 44dpi really isn't that helpful.
Since we are talking about DPI, we are talking printing and the printing industry pretty much regards InDesign as the defacto tool for printing, and that tool reports 300 dpi if placed in a document.
So, the question is, what is the correct answer?
Thanks,
Ruvan
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Identify.exe reports incorrect DPI
I will add my two cents. I am on a Mac. I opened your image in Preview, Debabelizer or Pixelmator and it reports 44 dpi. But if I open it in GraphicsConverter, it reports 300dpi.
Is it possible that it contains an imbedded thumbnail and on or the other of the image and thumbnail are at 44dpi and 300dpi respectively?
Is it possible that it contains an imbedded thumbnail and on or the other of the image and thumbnail are at 44dpi and 300dpi respectively?
Re: Identify.exe reports incorrect DPI
Seems likely, and I have addressed your question to the image originator and will revert back. The image is used in our DAM and the image was rejected by the DPI requirement, which inspired me to post the issue here.fmw42 wrote:Is it possible that it contains an imbedded thumbnail and on or the other of the image and thumbnail are at 44dpi and 300dpi respectively?
Thanks for testing on other platforms.