From: Jan P. <pa...@pi...> - 2005-07-01 05:11:21
|
Hi guys, TIFF structure is simple. In fact, libEXIF already contains TIFF parsers. EXIF is built on top of TIFF. The TIFF consists of an 8-byte TIFF header (already parsed in exif_data_load_data and Cannon mnote), several IFDs, and image data. I am volunteering to extend libEXIF to parse EXIF embedded in TIFF. However, because leaving for holiday, I can do it after July the 10th. == Jan > Udi Fuchs twisted the bytes to say: > > Udi> I'm also no expert in the TIFF structure, but looking at dcraw.c > and Udi> specifically at the function parse_tiff() it looks pretty > simple. I Udi> think that it is the sample as JPEG after you remove the > first 12 Udi> bytes from the JPEG header. > > As trivial/difficult as JPEG. At least the canon version. It embeds a > EXIF record inside the tiff, two several jpegs and the raw data. You can > check the code I wrote to scan this files in gqview > (src/format_canon.c). It is fairly simple and straightforward (100-200 > lines of code). gqview is in C, though. It is nicely documented by Adobe > (TIFF V 6.0). > > > > Udi> Udi > > Udi> On 6/30/05, Lutz M=FCller <lu...@us...> wrote: > >> On Wed, 2005-06-29 at 22:46 -0400, Hubert Figuiere wrote: > >> > Like reinventing the wheel ? > >> =20 > >> Again, I don't know how complex the TIFF structure is. JPEG is > trivial. =20 > >> Regards > >> -- |