{"success":true,"data":{"ext":"exr","name":"OpenEXR bitmap image format","description":"OpenEXR is a high dynamic range raster image format developed by Industrial Light & Magic and now maintained through the Academy Software Foundation’s OpenEXR project. It is used in visual effects, computer animation, film compositing, and other workflows that require floating-point color precision, multiple image channels, and large-bit-depth image storage. The format is generally considered safe, although malformed files should still be opened with up-to-date software to avoid decoder vulnerabilities.","mime":["image/aces"],"risk_level":"Safe","signatures":[{"hex":"76 2F 31 01","offset":0,"sources":[{"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"}]},{"hex":"76 2F 31 01 02 00 00 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"}]},{"hex":"76 2F 31 01 02 04 00 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"}]}],"related":["avif","bmp","cr2","cr3","dib","gif"],"usage":{"python":"def is_exr(file_path: str) -> bool:\n    \"\"\"Check if file is a valid EXR by magic bytes.\"\"\"\n    signature = bytes([0x76, 0x2F, 0x31, 0x01])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isEXR(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x76, 0x2F, 0x31, 0x01]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsEXR(data []byte) bool {\n    signature := []byte{0x76, 0x2F, 0x31, 0x01}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"},"category":"Images"}}