Free webp to jpg
Image MIME Reference
DDS

DirectDraw Surface

image/vnd.ms-dds
VS

Digital Camera Raw (Generic Linux MIME)

image/x-dcraw
Generic-RAW

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

Equal browser support

Feature Support

Feature DDS Generic-RAW
Transparency (Alpha) Yes ✕ No
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support Yes Yes
EXIF Metadata ✕ No Yes
ICC Color Profile ✕ No Yes
DirectDraw Surface
image/vnd.ms-dds
Extension
.dds
Container DirectDraw Surface
Compression Block Compression (BC1-BC7) / DXTC / S3TC / Uncompressed (RGBA, Floating-Point)
Algorithm
DXT1-DXT5BC1-BC7ASTC / ETC2 (Extended)
Color Depth 8-bit, 16-bit, 24-bit, 32-bit (RGBA), 16-bit/32-bit Floating Point (HDR)
Developed by Microsoft Corporation
Released 1999
Magic Bytes
44 44 53 20
Full DDS reference →
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 →

Browser Support Comparison

Browser DDS Generic-RAW
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
DDS

DDS Strengths

  • Massively reduces VRAM footprint and memory bandwidth usage because the GPU decodes the block compression in hardware
  • Encapsulates complex texture arrays, volume textures, cubemaps, and entire mipmap chains within a single, highly structured file
  • Supports high-dynamic-range (HDR) floating-point data for modern physically based rendering (PBR)
Limitations
  • Block compression algorithms (like DXT) are lossy and can introduce ugly blocky artifacts, especially in smooth gradients or normal maps if not tuned properly
  • Files are generally larger on the physical hard drive than highly compressed formats like PNG or WebP
  • Zero support in web browsers or standard consumer image viewers
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)

When to choose which format

DDS
Use DDS when…
  • Real-Time 3D Game Textures
  • DirectX and Vulkan Rendering Pipelines
  • Skyboxes and Environment Cubemaps
  • Volume Textures (3D Textures)
Generic-RAW
Use Generic-RAW when…
  • Linux Desktop File Associations (GNOME/KDE)
  • Thumbnail Generation for Raw Images (UFRaw/LibRaw)
  • Server-side Image Processing Fallbacks
Share this comparison