Free webp to jpg
Image MIME Reference
JPS

JPEG Stereo Image

image/x-jps
VS

Portable Anymap

image/x-portable-anymap
PNM

A complete technical comparison of JPEG Stereo Image and Portable Anymap — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

JPS wins on browser support

Feature Support

Feature JPS PNM
Transparency (Alpha) ✕ No ✕ No
Animation Support ✕ No ✕ No
Progressive Loading Yes ✕ No
HDR Support ✕ No ✕ No
EXIF Metadata Yes ✕ No
ICC Color Profile Yes ✕ No
JPEG Stereo Image
image/x-jps
Extension
.jps
Container JPEG (JFIF/Exif)
Compression Lossy (JPEG/DCT)
Algorithm
JPEG (Discrete Cosine Transform)
Color Depth 8-bit (Grayscale), 24-bit (RGB)
Developed by Stereoscopic Community (Unofficial Standard)
Released 1990
Magic Bytes
FF D8 FF
Full JPS reference →
Portable Anymap
image/x-portable-anymap
Extension
.pnm
Container Netpbm
Compression Uncompressed
Algorithm
None
Color Depth 1-bit (PBM), 8-bit to 16-bit (PGM), 24-bit to 48-bit (PPM)
Developed by Jef Poskanzer (Netpbm Project)
Released 1988
Magic Bytes
50 31, 50 32, 50 33, 50 34, 50 35, or 50 36
Full PNM reference →

Browser Support Comparison

Browser JPS PNM
Chrome Chrome
✓ 1
Firefox Firefox
✓ 1
Safari Safari
✓ 1
Edge Edge
✓ 12
IE IE (Legacy)
JPS

JPS Strengths

  • 100% backward compatible with every standard 2D image viewer and web browser (which simply display the two halves side-by-side)
  • Inherits JPEG's excellent lossy compression, resulting in small file sizes ideal for web transmission
  • Extremely easy to generate programmatically by simply stitching two JPEG images side-by-side onto a wider canvas
Limitations
  • Lack of a dedicated metadata standard means viewing software has to guess whether the layout is 'cross-eyed' (right eye left, left eye right) or 'parallel' (left eye left, right eye right), occasionally causing inverted depth
  • Suffers from JPEG compression artifacts, which can break the stereoscopic illusion if compression noise differs between the left and right eyes
  • Superseded in consumer electronics by the MPO (Multi-Picture Object) format, which stacks separate full-resolution JPEGs rather than squishing them side-by-side
PNM

PNM Strengths

  • Unparalleled simplicity: parsers and writers for PNM files can be written from scratch in C or Python in just a few minutes without relying on external libraries
  • Serves as an excellent foundational teaching tool for computer science students learning about image arrays and raster graphics
  • Flawlessly pipes through Unix command-line utilities for robust automated image processing (via the Netpbm suite)
Limitations
  • Zero compression natively results in astronomical file sizes, making it entirely impractical for web delivery or consumer storage
  • No support for standard metadata formats like EXIF, XMP, or ICC color profiles
  • No native alpha channel support in the classic PNM specification (though the newer PAM format 'P7' addresses this)

When to choose which format

JPS
Use JPS when…
  • Stereoscopic 3D Photography
  • Virtual Reality (VR) Image Galleries
  • Cross-eye / Parallel Stereograms
PNM
Use PNM when…
  • Unix/Linux Command-Line Image Processing (Netpbm suite)
  • Academic Computer Vision Research
  • Intermediary Format for Image Format Conversion
Share this comparison