Image MIME Reference
DICOM-RLE
DICOM Run-Length Encoding
image/dicom-rle
VS
Macromedia FreeHand Document
image/x-freehand
FreeHand
A complete technical comparison of DICOM Run-Length Encoding and Macromedia FreeHand Document — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | DICOM-RLE | FreeHand |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | Yes | Yes |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | Yes | Yes |
DICOM Run-Length Encoding
image/dicom-rle
Extension
.dcm.dicom
Container
DICOM (PS3.10)
Compression
Lossless (RLE)
Algorithm
Run-Length Encoding (RLE)
Color Depth
8-bit, 16-bit, 24-bit
Developed by
National Electrical Manufacturers Association (NEMA) / ACR
Released
1993
Magic Bytes
44 49 43 4D (at byte offset 128)
Macromedia FreeHand Document
image/x-freehand
Extension
.fh.fh4.fh5.fh7.fh8.fh9.fh10.fh11.ft11
Container
Proprietary Binary (Aldus Graphic Document)
Compression
Uncompressed / Deflate (in later versions)
Algorithm
NoneDeflate (Optional in later versions)
Color Depth
Vector Data (RGB/CMYK)
Developed by
Altsys / Aldus / Macromedia
Released
1988
Magic Bytes
41 47 44 31 to 41 47 44 34
Browser Support Comparison
| Browser | DICOM-RLE | FreeHand |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
DICOM-RLE
DICOM-RLE Strengths
- Guarantees lossless preservation of critical medical data necessary for diagnostics
- Extremely robust metadata structure containing patient information, modality, and spatial geometry
- Faster to encode and decode than complex compression schemes like JPEG 2000
Limitations
- RLE compression offers very low compression ratios compared to modern codecs like JPEG-LS or JPEG 2000
- Zero support in web browsers or standard consumer image viewers
- Strict data privacy regulations (HIPAA/GDPR) make handling DICOM files complex due to embedded PHI
FreeHand
FreeHand Strengths
- Historically one of the most powerful and intuitive vector editors on the market, praised for multi-page support long before Adobe Illustrator implemented it
- Files are generally compact and self-contained
Limitations
- Completely abandoned proprietary format; Adobe actively blocked native import in modern versions of Illustrator
- No support in modern web browsers; must be converted to SVG
- Versioning fragmentation means parsers must account for wildly different binary structures depending on the specific .fhX extension used
When to choose which format
DICOM-RLE
Use DICOM-RLE when…
- Medical Imaging
- Ultrasound
- X-Rays / CT / MRI
- PACS Archives
FreeHand
Use FreeHand when…
- Legacy Graphic Design Portfolios
- Historical Desktop Publishing Archival
- Old Corporate Logo Vectors