Image MIME Reference
JPEG-LS
JPEG-LS
image/jls
VS
Adobe Photoshop Document
image/vnd.adobe.photoshop
PSD
A complete technical comparison of JPEG-LS and Adobe Photoshop Document — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | JPEG-LS | PSD |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | Yes |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | ✕ No | Yes |
| ICC Color Profile | ✕ No | Yes |
JPEG-LS
image/jls
Extension
.jls.jl
Container
JPEG Bitstream
Compression
Lossless / Near-Lossless (Predictive Coding)
Algorithm
LOCO-I (Low Complexity Lossless Compression for Images)Golomb-Rice Coding
Color Depth
8-bit, 12-bit, 16-bit (Per Channel)
Developed by
Joint Photographic Experts Group (ISO/ITU-T) & HP Labs
Released
1999
Magic Bytes
FF D8 FF F7
Adobe Photoshop Document
image/vnd.adobe.photoshop
Extension
.psd.psb.pdd
Container
Adobe Photoshop Document (PSD/PSB)
Compression
Uncompressed / RLE (Run-Length Encoding) / ZIP
Algorithm
RLEZIP (with or without prediction)None
Color Depth
1-bit (Bitmap), 8-bit, 16-bit, 32-bit (Float/HDR)
Developed by
Adobe Systems
Released
1990
Magic Bytes
38 42 50 53
Browser Support Comparison
| Browser | JPEG-LS | PSD |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
JPEG-LS
JPEG-LS Strengths
- Provides state-of-the-art lossless compression ratios for continuous-tone images, often outperforming Lossless JPEG and JPEG 2000
- Extremely fast and computationally inexpensive to encode/decode, requiring no complex floating-point math or DCTs
- Highly resilient in constrained hardware environments, making it ideal for medical equipment and deep-space probes (e.g., Mars rovers)
Limitations
- Zero native support in web browsers or standard consumer operating systems
- Lacks the advanced resolution scalability and progressive decoding features found in JPEG 2000
- Primarily relegated to niche enterprise sectors (healthcare/DICOM and aerospace) rather than consumer adoption
PSD
PSD Strengths
- The undisputed global standard for layered raster graphics and non-destructive image editing
- Supports incredibly complex compositions combining raster data, vector shapes, live text, and adjustment layers
- Full support for advanced color spaces (CMYK, Lab, multi-channel) and 32-bit floating-point HDR workflows
Limitations
- Proprietary format: while the specification is published, complete feature-parity is rarely achieved by third-party software (e.g., smart objects and complex layer styles often break)
- Files can reach enormous sizes (gigabytes) due to the preservation of unflattened, high-resolution layer data
- Zero support for native rendering in web browsers or standard mobile image viewers
When to choose which format
JPEG-LS
Use JPEG-LS when…
- Medical Imaging (DICOM Encapsulation)
- Space and Planetary Imaging (NASA/ESA)
- Industrial Machine Vision
- Scientific Archival Storage
PSD
Use PSD when…
- Professional Photo Retouching
- Digital Painting and Illustration
- UI/UX Design Workflows
- Graphic Design and Print Production