Does anyone understand the TIFF file format?
I want to read and display a TIFF file from its raw data.
I've read many TIFF documents, and have read about the initial header and the IFD tags and their meanings, and have successfully read and decoded the IFD from a sample TIFF file, listing the image height, width, bits per sample, data type, etc.
But I can't find the answer to one little detail - how do you know exactly where in the file the bitmap data starts?
Some IFD tags point to ASCII strings, like scanner manufacturer, scanner model, image name, etc. Does the image follow those strings?
Or is there a tag I'm not understanding that points to the start of the bitmap data?
I want to read and display a TIFF file from its raw data.
I've read many TIFF documents, and have read about the initial header and the IFD tags and their meanings, and have successfully read and decoded the IFD from a sample TIFF file, listing the image height, width, bits per sample, data type, etc.
But I can't find the answer to one little detail - how do you know exactly where in the file the bitmap data starts?
Some IFD tags point to ASCII strings, like scanner manufacturer, scanner model, image name, etc. Does the image follow those strings?
Or is there a tag I'm not understanding that points to the start of the bitmap data?