{"id":"image-x-kodak-dcr","mimeType":"image/x-kodak-dcr","name":"Kodak Digital Camera Raw","shortName":"Kodak-DCR","category":"Photography \u0026 Raw Imaging","extensions":[".dcr"],"description":"The image/x-kodak-dcr MIME type represents the Kodak Digital Camera Raw (DCR) format. Developed by the Eastman Kodak Company, it is a proprietary raw image format utilized primarily by Kodak's professional line of digital SLR cameras, such as the Kodak Professional DCS Pro 14n and DCS Pro SLR/c, during the late 1990s and early 2000s. Built on the TIFF/EP architecture, a DCR file stores uncompressed or losslessly compressed raw pixel data directly from the camera's sensor, preserving maximum dynamic range and color depth for post-processing. Since Kodak exited the professional digital camera market, the format is largely considered a legacy archival format.","seo":{"title":"image/x-kodak-dcr MIME Type | Developer Reference for Kodak DCR","description":"Complete reference for the image/x-kodak-dcr MIME type: Kodak Digital Camera Raw (DCR) format, Kodak DCS history, TIFF structure, and raw editing.","faqs":[{"question":"What is a Kodak DCR file?","answer":"A DCR file is a raw image format created by Kodak for its professional digital cameras. It contains raw, unprocessed sensor data that allows photographers to make extensive, non-destructive adjustments to exposure, color, and white balance."},{"question":"Is the Kodak DCR format still actively used?","answer":"No. Kodak discontinued its professional DSLR line (the DCS series) in the mid-2000s. DCR files are now primarily encountered when archiving historical digital photography or using vintage early-2000s professional cameras."},{"question":"How do I open a DCR file?","answer":"Because it is a raw format, standard web browsers and consumer image viewers cannot open it natively. You must use raw processing software like Adobe Lightroom, Capture One, Darktable, or RawTherapee to decode the file and export it as a JPEG or TIFF."}]},"index":{"compression":["Uncompressed","Lossless JPEG"],"browserSupport":{"score":1,"label":"None"},"commonUses":["Vintage Professional Digital Photography (Kodak DCS series)","Non-destructive Image Post-Processing","Raw Imaging Archival"]},"technical":{"magicBytes":{"hex":"49 49 2A 00 or 4D 4D 00 2A","ascii":"II*\\x00 or MM\\x00*"},"container":"TIFF/EP","compressionAlgorithm":["None","Lossless JPEG (ITU-T81)"],"colorDepth":["12-bit (Per Channel)"],"transparency":false,"animation":false,"metadata":{"exif":true,"xmp":true,"iccProfile":true},"alphaChannel":false,"progressiveLoading":false,"hdrSupport":true},"history":{"developer":"Eastman Kodak Company","released":"1998","specification":"Proprietary (TIFF-based, decoded by dcraw/LibRaw)"},"browserSupport":{"chrome":false,"chromeVersion":"None","firefox":false,"firefoxVersion":"None","safari":false,"safariVersion":"None","edge":false,"edgeVersion":"None","internetExplorer":false},"softwareSupport":[{"name":"Adobe Lightroom Classic / CC","logo":""},{"name":"Darktable","logo":""},{"name":"RawTherapee","logo":""},{"name":"ImageMagick","logo":"image-magic.webp"}],"conversion":{"convertTo":["dng","jpeg","tiff","png"],"convertFrom":[]},"developer":{"httpHeaders":[{"header":"Content-Type","value":"image/x-kodak-dcr"}],"htmlAccept":"image/x-kodak-dcr, .dcr","fileDetection":["DCR files begin with the standard TIFF little-endian (49 49 2A 00) or big-endian (4D 4D 00 2A) magic bytes.","Because DCR shares its header exactly with standard TIFF files and other TIFF-based raw formats (like CR2 and NEF), standard file sniffers will initially identify it simply as 'image/tiff'.","To definitively identify a DCR file programmatically, a parser must read the TIFF Image File Directory (IFD) EXIF tags and locate the Kodak-specific 'MakerNote' string."]},"prosCons":{"pros":["Preserves the full dynamic range and uncompressed raw sensor data captured by foundational professional digital cameras","Utilizes the standard TIFF container structure, ensuring that open-source decoders like LibRaw can easily parse and interpret the files long after official vendor support has ended"],"cons":["Completely obsolete proprietary format tied to camera hardware that is no longer manufactured","Shares the TIFF magic header, leading to widespread misidentification by automated MIME detection libraries","Cannot be natively viewed in web browsers or standard operating system image viewers without specialized codecs"]},"specifications":{"url":"https://www.libraw.org/","rfc":"","mimeAliases":["image/dcr","image/x-dcr"]},"developerSnippets":{"python":"import magic\n# Libmagic will identify DCR files as standard TIFFs due to the shared 49 49 2A 00 / 4D 4D 00 2A header\nprint(magic.from_file('photo.dcr', mime=True)) # Outputs 'image/tiff'","nodejs":"const FileType = require('file-type');\nconst type = await FileType.fromFile('photo.dcr');\nconsole.log(type?.mime); // Usually resolves to 'image/tiff'. Extension checking is required for 'image/x-kodak-dcr'.","go":"import (\n    \"bytes\"\n    \"net/http\"\n)\n// Native Go HTTP detection reads the TIFF magic bytes and returns 'image/tiff'.\n// Advanced metadata parsers are required to read the Kodak MakerNote EXIF tags.","php":"$mime = mime_content_type('photo.dcr');\necho $mime; // Standard PHP installations will resolve this to 'image/tiff' based on the file header."},"relatedFormats":["kodak-kdc","kodak-k25","tiff","dng"]}
