MacPaint Image
image/x-macpaint
Released 1984
· by Apple Computer, Inc. (Bill Atkinson)
The image/x-macpaint MIME type represents the MacPaint image format, created in 1984 by Bill Atkinson for the original Apple Macintosh. As one of the first widely used raster graphics formats for personal computers, it is heavily tied to the hardware limitations of the era. MacPaint images are strictly 1-bit monochrome (black and white) and have a locked, hard-coded resolution of 576 x 720 pixels—exactly matching the printable area of an 8.5 x 11-inch piece of paper on an Apple ImageWriter printer at 72 dots per inch. The format uses Apple's PackBits (Run-Length Encoding) algorithm to keep file sizes small enough to fit on a 400KB floppy disk.
Technical Specifications
.mac.pntg.pnt.macp
PackBits (Apple RLE)
image/macpaintapplication/x-macpaint
Magic Bytes & HTTP Headers
None
Browser Support Matrix
| Browser | Status | Min Version |
|---|---|---|
|
|
Not Supported | — |
|
|
Not Supported | — |
|
|
Not Supported | — |
|
|
Not Supported | — |
|
|
Not Supported | Legacy |
Advantages & Limitations
- 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
- 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
Developer Code Snippets
File Detection Steps
How to programmatically detect a image/x-macpaint
file by reading its raw bytes:
- 1 MacPaint files do not have standard 'magic bytes' in the file header.
- 2 Historically, the classic Mac OS identified them via the Resource Fork using the file Type code 'PNTG'.
- 3 In modern operating systems without resource forks, parsers look at the first 512 bytes (the header block). This block often contains the 38 customized 8x8 pixel patterns used by the MacPaint application, padded with zeros. The actual image payload (720 scanlines of PackBits-compressed data) begins precisely at byte 512.
Software Support
ImageMagick
Conversion Tools
Share & Embed
[](https://freewebptojpg.com/mime/image/macpaint)
<iframe src="https://freewebptojpg.com/mime/image/macpaint/embed" width="100%" height="280" style="border:1px solid #cbd5e1;border-radius:8px;" title="MacPaint Specs"></iframe>
JSON API
All data on this page is available as a free, open JSON API. Use it in your project, documentation, or tooling.
GET https://freewebptojpg.com/mime/image/macpaint.json
Open JSON
Frequently Asked Questions
What is a MacPaint (.mac, .pntg) file?
A MacPaint file is a historic raster image format created for the original Apple Macintosh in 1984. It is strictly black and white and always measures exactly 576 by 720 pixels.
How can I open a MacPaint file today?
Because the format is entirely obsolete, modern operating systems and web browsers cannot open it. You must use legacy-focused image viewers like XnView, GraphicConverter (on macOS), or command-line tools like ImageMagick and Netpbm.
Why are MacPaint files always 576x720 pixels?
The format was designed specifically to be printed on the Apple ImageWriter dot-matrix printer. At 72 DPI (the exact resolution of the original Mac display), 576x720 pixels equates to exactly 8 by 10 inches, leaving a standard half-inch margin on standard US Letter paper.