TIFThis is a page for TIF file analysis (Header). Upload a TIF file (or try a sample file): Try an example
What are we looking for?For a TIF file, we look for the byte sequence 4949 or the ASCII sequence of II |
File contents analysisSelect file |
Sample code
public string getTif(System.IO.Stream file) { string TextBox1 = ""; byte[] b = ReadFully(file, file.Length); TextBox1 = "Starting tag (should be II - Big Indian): " + (char)b[0] + (char)b[1] + "<br/>"; TextBox1 += "Version: " + Global.intToHex(b[2]) + "<br/>"; return (TextBox1); }