Header problem

This is a discussion on Header problem within the C Programming forums, part of the General Programming Boards category; Hi all, While analysing the header(first 8 bytes) of .tif file i dont know where the Image file directory begins?.. ...

  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    102

    Header problem

    Hi all,
    While analysing the header(first 8 bytes) of .tif file i dont know where the Image file directory begins?.. Manual says it is indicated in 4-7 bytes of header. I opened one tif file and 4-7 bytes says like this:
    0 1 39 10..
    I don't know whether the offset is 0 or 13910..
    Can anyone clear my doubt?
    Thanks in advance.
    Saravanan.T.S.
    Beginner.

  2. #2
    Registered User
    Join Date
    Jul 2003
    Posts
    102
    Hi,
    Have you read that topic entirely??. I think the manual says to get the byte number in the file specified in header and not memory as you said

    It's a long word, meaning that you have 0x00013910
    But still i am not sure.
    Thanks for reply.
    Saravanan.T.S.
    Beginner.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling problem: "Invalid header in executable"
    By ckyle in forum C Programming
    Replies: 5
    Last Post: 02-28-2006, 01:00 AM
  2. Linking header files, Source files and main program(Accel. C++)
    By Daniel Primed in forum C++ Programming
    Replies: 3
    Last Post: 01-17-2006, 10:46 AM
  3. Header file creation problem
    By ToxicLove in forum C Programming
    Replies: 2
    Last Post: 05-17-2004, 10:25 PM
  4. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 09:33 AM
  5. Replies: 5
    Last Post: 12-03-2003, 04:47 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21