Free webp to jpg
Image MIME Reference
Generic-RAW

Digital Camera Raw (Generic Linux MIME)

image/x-dcraw
VS

North American Presentation Level Protocol Syntax

image/naplps
NAPLPS

A complete technical comparison of Digital Camera Raw (Generic Linux MIME) and North American Presentation Level Protocol Syntax — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature Generic-RAW NAPLPS
Transparency (Alpha) ✕ No ✕ No
Animation Support ✕ No Yes
Progressive Loading ✕ No Yes
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 →
North American Presentation Level Protocol Syntax
image/naplps
Extension
.nap.naplps
Container NAPLPS Byte Stream
Compression Uncompressed (Tokenized ASCII Commands)
Algorithm
None (Coordinate encoding)
Color Depth 16-color palette (Indexed from larger color spaces)
Developed by ANSI / CSA (Based on Canadian CRC's Telidon)
Released 1983
Magic Bytes
1B (Variable / ESC sequences)
Full NAPLPS reference →

Browser Support Comparison

Browser Generic-RAW NAPLPS
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
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)
NAPLPS

NAPLPS Strengths

  • Extremely bandwidth-efficient, enabling colorful graphical interfaces over early 300 baud dial-up connections
  • Resolution-independent vector scaling allowed the exact same file to be displayed accurately on varied early PC monitors and television sets
Limitations
  • Completely obsolete and unsupported by modern web technologies
  • Relies heavily on stateful parsing and terminal emulators rather than straightforward file decoding
  • Easily misidentified by MIME sniffers as plain text or generic binary streams due to the lack of a standardized file header

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
NAPLPS
Use NAPLPS when…
  • 1980s Videotex Services
  • Prodigy Online Service Graphics
  • Historical BBS Terminal Graphics
  • Legacy Teletext Broadcasts
Share this comparison