Image MIME Reference
FITS
Flexible Image Transport System
image/fits
VS
Radiance HDR
image/vnd.radiance
Radiance
A complete technical comparison of Flexible Image Transport System and Radiance HDR — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | FITS | Radiance |
|---|---|---|
| Transparency (Alpha) | ✕ No | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
Flexible Image Transport System
image/fits
Extension
.fits.fit.fts
Container
FITS
Compression
Uncompressed / Tile Compressed (Rice, GZIP)
Algorithm
UncompressedRiceGZIPHcompress
Color Depth
8-bit, 16-bit, 32-bit, 64-bit (Float/Double)
Developed by
IAU FITS Working Group / NASA
Released
1981
Magic Bytes
53 49 4D 50 4C 45 20 20 3D 20
Radiance HDR
image/vnd.radiance
Extension
.hdr.pic.rgbe.xyze
Container
Radiance Information Header
Compression
Run-Length Encoding (RLE) / Uncompressed
Algorithm
Adaptive Run-Length Encoding (RLE)
Color Depth
32-bit (8-bit per channel RGB + 8-bit shared Exponent)
Developed by
Greg Ward (Lawrence Berkeley National Laboratory)
Released
1989
Magic Bytes
23 3F 52 41 44 49 41 4E 43 45
Browser Support Comparison
| Browser | FITS | Radiance |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
FITS
FITS Strengths
- The undisputed global standard for archiving and sharing astronomical data
- Self-documenting: Headers are written in plain ASCII, ensuring data is readable decades later regardless of software
- Supports incredibly high dynamic range, N-dimensional arrays, and complex binary tables
Limitations
- No support in standard consumer software or web browsers
- Uncompressed raw FITS files from modern telescopes can be excessively large
- Does not use standard metadata models like EXIF or XMP, requiring specialized parsers
Radiance
Radiance Strengths
- Universally supported by almost every 3D modeling software, renderer, and game engine in existence
- RGBE encoding offers a brilliant balance between High Dynamic Range capability and small file size (compared to 32-bit float OpenEXR)
- Simple, easy-to-parse ASCII header followed by straightforward RLE binary data
Limitations
- Does not support alpha transparency (no way to store an isolated light source with a transparent background)
- The shared exponent architecture can occasionally introduce banding or color artifacts in extreme edge cases compared to true 16-bit/32-bit floating-point formats like OpenEXR
- Zero native browser support for 2D viewing
When to choose which format
FITS
Use FITS when…
- Astronomy & Astrophysics
- Space Telescope Data (Hubble, JWST)
- Scientific Data Archiving
- Spectroscopy
Radiance
Use Radiance when…
- Image-Based Lighting (IBL)
- 3D Environment Maps (HDRI Skydomes)
- Lighting Simulation
- VFX and CGI Rendering