{"id":"image-x-kodak-k25","mimeType":"image/x-kodak-k25","name":"Kodak K25 Raw Image","shortName":"Kodak-K25","category":"Photography \u0026 Raw Imaging","extensions":[".k25"],"description":"The image/x-kodak-k25 MIME type represents a legacy proprietary raw image format developed by the Eastman Kodak Company. It is specifically associated with the Kodak Digital Science DC25 camera, which was released in 1996 and is historically notable as the first digital camera to utilize CompactFlash (CF) storage cards. A K25 file contains the unprocessed raw sensor data captured by the camera's CCD, allowing for more flexible adjustments to exposure and color balance than the heavily compressed JPEGs of that era. Long since discontinued, K25 is now strictly an archival format encountered by digital camera historians and vintage tech enthusiasts.","seo":{"title":"image/x-kodak-k25 MIME Type | Developer Reference for Kodak K25","description":"Complete reference for the image/x-kodak-k25 MIME type: Kodak K25 Raw Image format, Kodak DC25 history, early digital raw processing, and archival.","faqs":[{"question":"What is a Kodak K25 file?","answer":"A K25 file is a raw image format created specifically for the Kodak DC25 digital camera (released in 1996). It stores unprocessed image data straight from the camera's sensor."},{"question":"Is the Kodak K25 format still actively used?","answer":"No. The format is completely obsolete. It is only used today by enthusiasts and archivists restoring or processing photographs taken with the vintage Kodak DC25 camera."},{"question":"How do I open a K25 file?","answer":"Because it is an early, proprietary raw format, standard image viewers cannot open it. You must use specialized raw processing software with legacy support, such as Adobe Lightroom, RawTherapee, Darktable, or command-line tools based on dcraw/LibRaw."}]},"index":{"compression":["Uncompressed","Proprietary Lossless"],"browserSupport":{"score":1,"label":"None"},"commonUses":["Vintage Digital Photography Archival","Kodak DC25 Camera Restorations","Historical Imaging Research"]},"technical":{"magicBytes":{"hex":"Varies (Often resembles TIFF header 49 49 2A 00 or requires proprietary parsing)","ascii":"II*\\x00"},"container":"Proprietary Kodak Raw (TIFF-based variant)","compressionAlgorithm":["Proprietary Kodak Compression"],"colorDepth":["10-bit","12-bit (Per Channel)"],"transparency":false,"animation":false,"metadata":{"exif":true,"xmp":false,"iccProfile":false},"alphaChannel":false,"progressiveLoading":false,"hdrSupport":true},"history":{"developer":"Eastman Kodak Company","released":"1996","specification":"Proprietary (Reverse-engineered 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-k25"}],"htmlAccept":"image/x-kodak-k25, .k25","fileDetection":["Like many early raw formats, K25 often piggybacks on the standard TIFF file structure, beginning with the little-endian (49 49 2A 00) signature.","Generic file sniffers like libmagic may inaccurately identify these files simply as 'image/tiff'.","To definitively identify a K25 file programmatically without relying purely on the .k25 file extension, a parser must evaluate the EXIF MakerNote to confirm it originated from a Kodak DC25 camera."]},"prosCons":{"pros":["Historically significant format tied to the first digital camera to adopt CompactFlash memory","Preserves original raw sensor data, allowing modern demosaicing algorithms (via LibRaw) to extract much better image quality than 1996-era software could"],"cons":["Completely obsolete and deeply proprietary, lacking modern raw format features found in DNG","Cannot be natively viewed in web browsers or standard operating system image viewers without specialized decoders","Subject to misidentification by automated MIME detection libraries due to structural similarities with standard TIFFs"]},"specifications":{"url":"https://www.libraw.org/","rfc":"","mimeAliases":["image/k25"]},"developerSnippets":{"python":"import magic\n# Libmagic will often identify K25 files as standard TIFFs or application/octet-stream depending on the specific firmware variant\nprint(magic.from_file('vintage.k25', mime=True)) # Often outputs 'image/tiff'","nodejs":"const FileType = require('file-type');\nconst type = await FileType.fromFile('vintage.k25');\nconsole.log(type?.mime); // Usually resolves to 'image/tiff'. Relying on the .k25 extension is required for specific routing.","go":"import (\n    \"bytes\"\n    \"net/http\"\n    \"strings\"\n)\n// Native Go HTTP detection reads the magic bytes and returns 'image/tiff' or 'application/octet-stream'.\n// You must explicitly check the filename extension to infer Kodak K25 intent.\n// isK25 := strings.HasSuffix(strings.ToLower(filename), \".k25\")","php":"$mime = mime_content_type('vintage.k25');\necho $mime; // Standard PHP installations will resolve this to 'image/tiff' or fallback to octet-stream based on the file header."},"relatedFormats":["kodak-dcr","kodak-kdc","tiff"]}
