Free webp to jpg
Image MIME Reference
Generic-RAW

Digital Camera Raw (Generic Linux MIME)

image/x-dcraw
VS

Windows Icon (Legacy MIME)

image/x-icon
ICO

A complete technical comparison of Digital Camera Raw (Generic Linux MIME) and Windows Icon (Legacy MIME) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

ICO wins on browser support

Feature Support

Feature Generic-RAW ICO
Transparency (Alpha) ✕ No Yes
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support Yes ✕ No
EXIF Metadata Yes ✕ No
ICC Color Profile Yes ✕ No
Digital Camera Raw (Generic Linux MIME)
image/x-dcraw
Extension
.raw
Container Varies (Predominantly TIFF/EP)
Compression Lossless / Uncompressed
Algorithm
Varies (Often Lossless JPEG ITU-T81 or uncompressed)
Color Depth 12-bit, 14-bit, 16-bit
Developed by freedesktop.org (MIME mapping) / Dave Coffin (dcraw tool)
Released 1997
Magic Bytes
Varies by vendor format
Full Generic-RAW reference →
Windows Icon (Legacy MIME)
image/x-icon
Extension
.ico
Container ICO Directory Structure
Compression Uncompressed (DIB/BMP) / Deflate (Embedded PNG)
Algorithm
NoneDeflate (via PNG)
Color Depth 1-bit, 4-bit, 8-bit, 24-bit (True Color), 32-bit (RGBA)
Developed by Microsoft Corporation
Released 1985
Magic Bytes
00 00 01 00
Full ICO reference →

Browser Support Comparison

Browser Generic-RAW ICO
Chrome Chrome
✓ 1
Firefox Firefox
✓ 1
Safari Safari
✓ 1
Edge Edge
✓ 12
IE IE (Legacy)
Generic-RAW

Generic-RAW Strengths

  • Provides a unified, highly useful catch-all MIME type for application developers who just need to know if a file is a raw image, rather than tracking 50+ individual camera extensions
  • Deeply integrated into the Linux desktop ecosystem, ensuring file manager thumbnails work seamlessly via tools like ufraw-thumbnailer
Limitations
  • Not an official IANA standard
  • Can cause conflicts where standard TIFF files are misidentified as raw camera data by over-aggressive MIME sniffers
  • The underlying 'dcraw' tool was abandoned by its creator in 2018 (though its successor, LibRaw, continues to maintain the ecosystem)
ICO

ICO Strengths

  • Universally supported by every web browser in existence for website favicons
  • Packs multiple resolutions into a single file, eliminating the need to serve different files for the taskbar vs. the desktop
  • Modern support for embedded PNGs (since Windows Vista) allows for excellent 32-bit transparency (alpha channels) and drastically reduced file sizes
Limitations
  • Internal file structure is convoluted due to decades of legacy cruft, such as the requirement for BMP data to lack a standard file header but double the height property for an archaic XOR/AND mask
  • Larger file size compared to a single optimized PNG or SVG, as it literally stores the same image multiple times at different scales
  • The MIME type landscape is highly fragmented (x-icon vs. vnd.microsoft.icon), causing occasional caching or strict-MIME validation errors on restrictive servers

When to choose which format

Generic-RAW
Use Generic-RAW when…
  • Linux Desktop File Associations (GNOME/KDE)
  • Thumbnail Generation for Raw Images (UFRaw/LibRaw)
  • Server-side Image Processing Fallbacks
ICO
Use ICO when…
  • Website Favicons (favicon.ico)
  • Windows Application Executable Icons (.exe)
  • Desktop Shortcut Icons
Share this comparison