AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2005.07.22 19:32 "[Tiff] RE: Deciding whether data in Value/Offset field is Value or offset to real data in the file", by Anmol Misra
2005.07.22 22:29 "Re: [Tiff] RE: Deciding whether data in Value/Offset field is Value oroffset to real data in the file", by Joris

2005.07.22 22:29 "Re: [Tiff] RE: Deciding whether data in Value/Offset field is Value oroffset to real data in the file", by Joris

Anmol,

I am trying to code in C regarding tiff file. I want to write a section

of code which decides whether the data in the "Value" section of the
Entry of the
IFD(Last 4 bytes of each Entry) is an actual data or the pointer to the
actual data somewhere else in file. Will it always be the case that
if the actual data can fit in 4 bytes, it will be placed in teh
"value/offset" field.

Yes, that's right.

A short informal overview is here:

http://www.awaresystems.be/imaging/tiff/faq.html#q3

The complete specification, along with supplements, is hosted here:

http://partners.adobe.com/public/developer/tiff/index.html

Are you aware that there's an excellent library freeing you from all this nitty gritty detail? LibTiff is the mother of all TIFF codecs, and is here:

http://www.remotesensing.org/libtiff/

CONFIDENTIALITY NOTICE:

Hilarious.

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html