TIFF header [message #8784] |
Mon, 21 April 1997 00:00 |
<hsiacc
Messages: 1 Registered: April 1997
|
Junior Member |
|
|
Hello:
When I save a tiff file as follows:
tiff_write, 'filename.tif', 2D-byte-array
The tiff file is 198 bytes bigger than the "raw" image part, so I assumed
the header is 198 bytes at the beginning of the file. Is this assumption
incorrect? I'm writing a program which skips the IDL tiff header and reads
in the image part only, so I want to know exactly how many bytes to skip
and where. I looked at tiff_write.pro but I couldn't get much out of it.
The specific questions I'm asking is:
Is the header 198 bytes for the above case?
Is the header at the beginning of the file?
Is the whole header located in consecutive bytes at one place in the file
(I understand that tiff headers can be broken up at different parts of the
file)?
Any comments would be greatly appreciated.
Andy
|
|
|