{"success":true,"data":{"ext":"orf","name":"ORF","description":"Olympus Raw Format (ORF) is a digital camera image file format developed by Olympus Corporation for storing raw sensor data from its cameras. It is used for photography workflows, including exposure correction, color adjustment, and post-processing in image editors and raw converters. ORF files are generally safe, though malformed images can expose vulnerabilities in software that parses raw formats, so they should be opened with updated applications from trusted sources.","mime":["image/x-raw-olympus"],"risk_level":"Safe","signatures":[{"hex":"49 49 52 4F","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","exr"],"usage":{"python":"def is_orf(file_path: str) -> bool:\n    \"\"\"Check if file is a valid ORF by magic bytes.\"\"\"\n    signature = bytes([0x49, 0x49, 0x52, 0x4F])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isORF(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x49, 0x49, 0x52, 0x4F]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsORF(data []byte) bool {\n    signature := []byte{0x49, 0x49, 0x52, 0x4F}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"},"category":"Images"}}