Image MIME Reference
HEIF
High Efficiency Image File Format
image/heif
VS
MacPaint Image
image/x-macpaint
MacPaint
A complete technical comparison of High Efficiency Image File Format and MacPaint Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | HEIF | MacPaint |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | Yes | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | Yes | ✕ No |
High Efficiency Image File Format
image/heif
Extension
.heif.hif
Container
HEIF / ISOBMFF (ISO/IEC 14496-12)
Compression
Lossy / Lossless
Algorithm
Codec Agnostic (HEVC, AVC, JPEG, AV1)
Color Depth
8-bit, 10-bit, 12-bit, 16-bit
Developed by
Moving Picture Experts Group (MPEG)
Released
2015
Magic Bytes
XX XX XX XX 66 74 79 70 6D 69 66 31
MacPaint Image
image/x-macpaint
Extension
.mac.pntg.pnt.macp
Container
Raw pixel payload with a 512-byte pattern header
Compression
PackBits (Run-Length Encoding)
Algorithm
PackBits (Apple RLE)
Color Depth
1-bit (Monochrome)
Developed by
Apple Computer, Inc. (Bill Atkinson)
Released
1984
Magic Bytes
None (Relies on classic Mac OS 'PNTG' OSType)
Browser Support Comparison
| Browser | HEIF | MacPaint |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
HEIF
HEIF Strengths
- Highly flexible container that can store image bursts, animations, focal stacks, and stereo 3D images in one file
- Natively supports depth maps and alpha channels, making it perfect for computational photography
- When paired with modern codecs like HEVC or AV1, it provides massive storage savings over legacy formats like JPEG
Limitations
- Codec agnosticism makes broad software decoding difficult, as the container might hold proprietary or unsupported codecs
- Zero cross-platform web browser support, requiring conversion for online publishing
- Often confused with the more specific 'image/heic' and 'image/avif' MIME types
MacPaint
MacPaint Strengths
- Profoundly historically significant as the format that introduced millions to the concept of bitmap digital painting
- Extremely simple PackBits compression makes it easy for emulator developers or archivists to write parsers from scratch in under an hour
Limitations
- Severely limited: strictly black and white, and hard-locked to exactly 576 x 720 pixels
- Lack of standard magic bytes makes programmatic file sniffing unreliable on modern filesystems without relying on the file extension
- Completely obsolete and unsupported by modern web browsers or consumer image viewers
When to choose which format
HEIF
Use HEIF when…
- Digital Photography
- Camera Capture
- Image Archiving
- Multi-image composites
MacPaint
Use MacPaint when…
- Historical Apple Macintosh Archival
- Early 1980s Digital Art Preservation
- Retro UI/UX Academic Research