{"success":true,"data":{"ext":"icb","name":"ICB","description":"ICB is a raster image format in the Truevision TGA family, originally developed by Truevision Inc. and now handled as a legacy variant within TGA-compatible software. It has been used for simple bitmap graphics, texture assets, and image exchange in older desktop publishing, design, and game development workflows. As an older format, it is generally low risk, though support may be limited in modern applications and some files may not preserve advanced image features.","mime":["image/x-tga"],"risk_level":"Safe","signatures":[{"hex":"01 01 00 00","offset":1,"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":"00 02 00 00","offset":1,"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":"00 03 00 00","offset":1,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":["tga","vda"],"usage":{"python":"def is_icb(file_path: str) -> bool:\n    \"\"\"Check if file is a valid ICB by magic bytes at offset 1.\"\"\"\n    signature = bytes([0x01, 0x01, 0x00, 0x00])\n    with open(file_path, \"rb\") as f:\n        f.seek(1)\n        return f.read(4) == signature","node":"function isICB(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x01, 0x01, 0x00, 0x00]);\n  if (buffer.length < 5) return false;\n  return buffer.subarray(1, 5).equals(signature);\n}","go":"func IsICB(data []byte) bool {\n    signature := []byte{0x01, 0x01, 0x00, 0x00}\n    if len(data) < 5 {\n        return false\n    }\n    return bytes.Equal(data[1:5], signature)\n}"},"category":"Images"}}