{"success":true,"data":{"ext":"ntf","name":"National Imagery Transmission Format","description":"National Imagery Transmission Format (NITF) is a standardized image and metadata file format developed for the U.S. Department of Defense and maintained by the National Geospatial-Intelligence Agency. It is used for exchanging satellite, aerial, and intelligence imagery with associated annotations, text, and geospatial metadata across defense and remote-sensing workflows. NITF is generally safe to open, though files may contain large embedded datasets and should still be handled cautiously when sourced from untrusted parties.","mime":["image/nitf"],"risk_level":"Safe","signatures":[{"hex":"4E 49 54 46 30 31 2E 31 30","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"}]},{"hex":"4E 49 54 46 30 32 2E 30 30 30","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"}]},{"hex":"4E 49 54 46 30 32 2E 31 30 30","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"}]},{"hex":"1A 00 00","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"30 31 4F 52 44 4E 41 4E 43 45 20 53 55 52 56 45 59 20 20 20 20 20 20 20","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]},{"hex":"4E 49 54 46 30","offset":0,"sources":[{"name":"Gary Kessler","url":"https://www.garykessler.net/library/file_sigs_GCK_latest.html"}]}],"related":["nitf"],"usage":{"python":"def is_ntf(file_path: str) -> bool:\n    \"\"\"Check if file is a valid NTF by magic bytes.\"\"\"\n    signature = bytes([0x4E, 0x49, 0x54, 0x46, 0x30, 0x31, 0x2E, 0x31, 0x30])\n    with open(file_path, \"rb\") as f:\n        return f.read(9) == signature","node":"function isNTF(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x4E, 0x49, 0x54, 0x46, 0x30, 0x31, 0x2E, 0x31, 0x30]);\n  return buffer.subarray(0, 9).equals(signature);\n}","go":"func IsNTF(data []byte) bool {\n    signature := []byte{0x4E, 0x49, 0x54, 0x46, 0x30, 0x31, 0x2E, 0x31, 0x30}\n    if len(data) < 9 {\n        return false\n    }\n    return bytes.Equal(data[:9], signature)\n}"},"category":"Images"}}