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

Home » Public Forums » archive » Re: 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
Re: TIFF header [message #8767] Tue, 22 April 1997 00:00
Christian Soeller is currently offline  Christian Soeller
Messages: 46
Registered: August 1996
Member
<hsiacc@biomech2.ME.Berkeley.EDU> writes:

> 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)?

The tiff format is a bit more complicated than a simple header/image_data
format. The basic unit is a tiff-directory that holds a listing of all the
information you can access. The image data is treated as one piece of
information just as is other info as image_width, image_height, ....
To get an idea of the structure of a directory and how to find the image
data in a tiff file you should check

http://rushmore.jpl.nasa.gov/~ndr/tiff/

and pointers therein.

And beware, image data is not necessarily stored contigously in tiffs. It
can be tiled, organised in strips and even compressed. The thing you are
trying to do is, generally speaking, highly non-trivial. Due to the
abundance of issues involved in storing/accessing tiffs there exists a
C library to help get at your image data (check above URL).

Christian
[Message index]
 
Read Message
Previous Topic: Re: Interactive image viewer in IDL?
Next Topic: Re. MEMORY MANAGEMENT

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

Current Time: Fri Oct 10 14:34:33 PDT 2025

Total time taken to generate the page: 0.56012 seconds