{"id":"image-dpx","mimeType":"image/dpx","name":"Digital Picture Exchange","shortName":"DPX","category":"Professional \u0026 Film","extensions":[".dpx"],"description":"DPX (Digital Picture Exchange) is a raster image format standardized by SMPTE. Originally derived from Kodak's Cineon format, it is the worldwide standard for uncompressed, high-resolution digital film scanning, visual effects, and digital intermediate color grading.","seo":{"title":"image/dpx MIME Type | Complete Developer Reference \u0026 Magic Bytes","description":"Complete reference for the image/dpx MIME type: magic bytes, software support, HTTP headers, developer snippets, and technical specifications for DPX film frames.","faqs":[{"question":"What is the magic byte for a DPX file?","answer":"DPX files begin with a 4-byte magic signature indicating their endianness. Big-endian files start with 53 44 50 58 (ASCII: SDPX), while little-endian files start with 58 50 44 53 (ASCII: XPDS)."},{"question":"Is DPX supported in web browsers?","answer":"No. DPX is a massive, uncompressed professional format designed for motion picture production. It has no native support in any web browser and must be converted to formats like JPEG, PNG, or WebP for web delivery."},{"question":"What is the difference between DPX and Cineon (.cin)?","answer":"DPX is an evolution of Kodak's older Cineon format. While they are very similar and both represent logarithmic color data, DPX includes a much more robust metadata header standardized by SMPTE, accommodating a wider variety of color spaces and bit depths."}]},"index":{"compression":["Uncompressed","RLE (Rarely used)"],"browserSupport":{"score":1,"label":"None"},"commonUses":["Film Scanning","Visual Effects (VFX)","Digital Intermediate (DI)","Color Grading","Archival"]},"technical":{"magicBytes":{"hex":"53 44 50 58 (Big-endian) / 58 50 44 53 (Little-endian)","ascii":"SDPX / XPDS"},"container":"DPX (SMPTE ST 268)","compressionAlgorithm":["Uncompressed"],"colorDepth":["8-bit","10-bit","12-bit","16-bit","32-bit (Float)"],"transparency":true,"animation":false,"metadata":{"exif":false,"xmp":false,"iccProfile":false},"alphaChannel":true,"progressiveLoading":false,"hdrSupport":true},"history":{"developer":"SMPTE (Society of Motion Picture and Television Engineers)","released":"1994","specification":"SMPTE ST 268:2014"},"browserSupport":{"chrome":false,"chromeVersion":"None","firefox":false,"firefoxVersion":"None","safari":false,"safariVersion":"None","edge":false,"edgeVersion":"None","internetExplorer":false},"softwareSupport":[{"name":"DaVinci Resolve","logo":""},{"name":"Foundry Nuke","logo":""},{"name":"Adobe After Effects","logo":""},{"name":"Adobe Premiere Pro","logo":""},{"name":"Autodesk Flame","logo":""},{"name":"ImageMagick","logo":"image-magic.webp"}],"conversion":{"convertTo":["aces","tiff","jpeg","png"],"convertFrom":["aces","tiff","cin"]},"developer":{"httpHeaders":[{"header":"Content-Type","value":"image/dpx"}],"htmlAccept":"image/dpx, .dpx","fileDetection":["Check first 4 bytes for 'SDPX' or 'XPDS'","Parse the 2048-byte fixed-size binary header for image dimensions, color space, and SMPTE metadata (like timecode and keykode)"]},"prosCons":{"pros":["Industry standard for transferring uncompressed, high-fidelity film and VFX data","Rich industry-specific metadata including timecode, keykode, and film stock information","Supports logarithmic color spaces (LogC, Cineon) to preserve the massive dynamic range of film negatives"],"cons":["Massive file sizes (e.g., a single 4K 10-bit frame is ~50MB, resulting in ~1.2GB per second at 24fps)","Zero native support in web browsers or consumer OS image viewers","Requires heavy-duty, fast storage infrastructure (RAID/NVMe) to playback in real-time"]},"specifications":{"url":"https://ieeexplore.ieee.org/document/7289874","rfc":"","mimeAliases":["image/x-dpx"]},"developerSnippets":{"python":"import magic\nprint(magic.from_file('frame.dpx', mime=True)) # May output 'image/x-dpx'","nodejs":"const FileType = require('file-type');\nconst type = await FileType.fromFile('frame.dpx');\nconsole.log(type.mime); // Typically requires custom parsing for 'SDPX' / 'XPDS'","go":"import \"net/http\"\n\n// net/http lacks DPX support. Check for magic bytes:\nif bytes.HasPrefix(buf, []byte(\"SDPX\")) || bytes.HasPrefix(buf, []byte(\"XPDS\")) {\n    fmt.Println(\"image/dpx\")\n}","php":"$mime = mime_content_type('frame.dpx');\necho $mime; // Standard server configurations often fall back to 'application/octet-stream'"},"relatedFormats":["aces","tiff"]}
