[Image-SIG] Getting Image resolution ?

Terry Hancock hancock@ipac.caltech.edu
Wed, 30 Jan 2002 07:53:29 -0800 (PST)

I'm pretty sure that TIFFs contain this information, but I
think that JPEGs and GIFs do not.  For those, you will
probably have to get this information some other way
(such as asking the user).  I'm hoping someone else will
tell you how to extract it from the TIFF header, as I
don't know that part.


* Terry Hancock -- Science Software Support  -- IPAC *
*    http://www.ipac.caltech.edu/local/Science/sw/   *
*              hancock@ipac.caltech.edu              *

On Wed, 30 Jan 2002, Doyon, Jean-Francois wrote:
> Is there a way to find out the resolution of a saved image?
> I have a bunch of GIF's/JPEG's/TIFF's and I need to know what DPI they were
> scanned as ... i.e. 300dpi and so on ...