comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » TIFF header
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
TIFF header [message #8784] Mon, 21 April 1997 00:00
<hsiacc is currently offline  <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
[Message index]
 
Read Message
Previous Topic: Object Oriented Programming Book Recommendation
Next Topic: Re: Reding data into IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 07:10:50 PDT 2025

Total time taken to generate the page: 0.16129 seconds