Tiff

  • Thread starter Christian Mauerer
  • 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
 
K

Kevin Spencer

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.
 
C

Christian Mauerer

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
 
K

Kevin Spencer

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top