{"success":true,"data":{"ext":"dpx","name":"Society of Motion Picture and Television Engineers","description":"Society of Motion Picture and Television Engineers Digital Picture Exchange (DPX) is an image file format standardized and maintained by SMPTE for high-resolution digital picture storage. It is used in film and television post-production, visual effects pipelines, image scanning, color grading, and archival workflows. The format is generally considered safe to handle, though older DPX files may vary in bit depth, color encoding, and header conventions across implementations.","mime":["image/x-dpx"],"risk_level":"Safe","signatures":[{"hex":"53 44 50 58","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":"big"},{"hex":"58 50 44 53","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":"little"}],"related":[],"usage":{"python":"def is_dpx(file_path: str) -> bool:\n    \"\"\"Check if file is a valid DPX by magic bytes.\"\"\"\n    signature = bytes([0x53, 0x44, 0x50, 0x58])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isDPX(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x53, 0x44, 0x50, 0x58]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsDPX(data []byte) bool {\n    signature := []byte{0x53, 0x44, 0x50, 0x58}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"},"category":"Images"}}