2003.01.27 16:12 "Re: Are there de facto defaults for resolution (TIFF 6 file) ??", by Michael O'Rourke
Too true. Got my jpeg reading and tiff reading code confused. Just ran into this issue a couple weeks ago and it wasn't as fresh in my mind as I thought.
For those who care, I ran into a jpeg file where the jfif marker was there and said 72 dpi but there was also an exif block with resolution info of 300 dpi.
Sorry for the confusion,
----- Original Message -----
From: "Martin Bailey" <email@example.com>
To: "Michael O'Rourke" <firstname.lastname@example.org>; <email@example.com>
Sent: Monday, January 27, 2003 3:16 AM
Subject: Re: Are there de facto defaults for resolution (TIFF 6 file)??
unfortunately some very odd folks put the resolution into a exif block in a tiff and not in the main tag table for a page. sucks, but in such circumstances you can only get the right into if you parse exif blocks too.
That's certainly true for JPEG, but the EXIF data is encoded as TIFF tags anyway - there *is* no EXIF block for TIFF...