{"success":true,"data":{"ext":"tiff","name":"BigTIFF files; Tagged Image File Format files >4 GB","description":"Tagged Image File Format (TIFF) is an image file format originally developed by Aldus and later maintained by Adobe, with BigTIFF extending the format to support files larger than 4 GB. It is used for high-quality raster images, scanning, desktop publishing, archival storage, and professional photography workflows. TIFF is generally safe to open, though malformed files can expose parser bugs; older TIFF variants remain widely supported for compatibility.","mime":["image/tiff"],"risk_level":"Safe","signatures":[{"hex":"49 49 2A 00","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"},{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"},{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}],"endianness":"little"},{"hex":"4D 4D 00 2A","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"},{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}],"endianness":"big"},{"hex":"4D 4D 00 2B","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"},{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"49 49 2B 00","offset":0,"sources":[{"name":"Wikipedia","url":"https://en.wikipedia.org/wiki/List_of_file_signatures"}]},{"hex":"49 20 49","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["tif","avif","bmp","cr2","cr3","dib"],"usage":{"python":"def is_tiff(file_path: str) -> bool:\n    \"\"\"Check if file is a valid TIFF by magic bytes.\"\"\"\n    signature = bytes([0x49, 0x49, 0x2A, 0x00])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isTIFF(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x49, 0x49, 0x2A, 0x00]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsTIFF(data []byte) bool {\n    signature := []byte{0x49, 0x49, 0x2A, 0x00}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"},"category":"Images"}}