Image MIME Reference
DXF
Drawing Exchange Format
image/vnd.dxf
VS
JPEG Stereo Image
image/x-jps
JPS
A complete technical comparison of Drawing Exchange Format and JPEG Stereo Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
JPS wins on browser support
Feature Support
| Feature | DXF | JPS |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | Yes |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | Yes |
| ICC Color Profile | ✕ No | Yes |
Drawing Exchange Format
image/vnd.dxf
Extension
.dxf
Container
Text / Binary Container
Compression
Uncompressed (ASCII) / Uncompressed (Binary)
Algorithm
None
Color Depth
Vector (Indexed AutoCAD Colors / True Color)
Developed by
Autodesk
Released
1982
Magic Bytes
30 0D 0A 53 45 43 54 49 4F 4E (ASCII) / 41 75 74 6F 43 41 44 20 42 69 6E 61 72 79 20 44 58 46 0D 0A 1A 00 (Binary)
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
Browser Support Comparison
| Browser | DXF | JPS |
|---|---|---|
|
|
✕ |
✓ 1
|
|
|
✕ |
✓ 1
|
|
|
✕ |
✓ 1
|
|
|
✕ |
✓ 12
|
|
|
✕ |
✓
|
DXF
DXF Strengths
- Universally supported by almost every CAD program, 3D modeler, and vector graphics editor in existence
- ASCII structure is human-readable and can be parsed or generated programmatically with relative ease
- The de facto standard for sending 2D cutting paths to CNC routers, plasma cutters, and laser engravers
Limitations
- ASCII DXF files can be enormously large and inefficient compared to binary DWG files
- The format relies heavily on legacy AutoCAD data structures, making complex 3D entity parsing extremely difficult for third-party developers
- Lacks native web browser rendering capabilities
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
When to choose which format
DXF
Use DXF when…
- Cross-Platform CAD Data Exchange
- CNC Machining and Laser Cutting Paths
- PCB Design Outlines
- Architectural 2D Layouts
JPS
Use JPS when…
- Stereoscopic 3D Photography
- Virtual Reality (VR) Image Galleries
- Cross-eye / Parallel Stereograms