Tiff

  • Thread starter Thread starter Christian Mauerer
  • Start date Start date
C

Christian Mauerer

Hello,

I'm trying to read out the header of a Multipage-Tiff.
By I don't know how to do it.

I can read out the IFD of the Tiff but not the header.

Does anybody know how to do it?

Thanks

Christian
 
What exactly do you mean by "the header?" The first 2 bytes in the file
indicate whether it's big-endian or little-endian. The next 2 bytes are the
TIFF identifier (the number 42). 32 bytes after that is the first IFD.

--
HTH,

Kevin Spencer
Microsoft MVP
Ministry of Software Development
http://unclechutney.blogspot.com

I just flew in from Chicago with
a man with a wooden leg named Smith
who shot an elephant in my pajamas.
So I bit him.
 
Hello Kevin,

thank you for your information.

Yes, that's right. I want to read out die 32 bytes to the first IFD.

Is is correct, if I open the tiff with an BinaryReader an read out this
bytes?
Or is this the wrong way to get these informations?

Thank you.

Christian
 
Sorry about that. My Bad. Bytes 4 - 7 are the offset (in bytes) of the first
IFD. and that is the complete header!

--
HTH,

Kevin Spencer
Microsoft MVP
Ministry of Software Development
http://unclechutney.blogspot.com

I just flew in from Chicago with
a man with a wooden leg named Smith
who shot an elephant in my pajamas.
So I bit him.
 
Back
Top