.mac File Extension
.mac file may contain, how to identify and open it, and how Poly handles this ambiguous legacy extension. File extension details for .mac
Storage Only| File type | MacPaint image, legacy Monkey's Audio, or macro script |
|---|---|
| MIME type | None registered |
| Encoding | Ambiguous: PackBits-compressed 1-bit bitmap, Monkey's Audio binary, or application-specific text |
| Operating systems | Windows, macOS, Linux |
| Opens with | XnView MP, Netpbm, FFmpeg, Text editors |
| Poly support | Storage only. Poly safely stores and manages ambiguous MAC files. |
| Indexed by Poly | Partial. MAC files are searchable by filename and basic properties. |
| Preview in Poly | No. Poly does not infer a preview format from the ambiguous suffix. |
| Poly agent | No. The Poly agent cannot read the file's contents without a supported conversion. |
What kind of file is a .mac?
A .mac file is ambiguous. One longstanding meaning is a MacPaint bitmap, but early Monkey's Audio releases also used the suffix. Some specialist programs use .mac for plain-text macro scripts. There is no single registered MIME type or universal structure for every MAC file.
MacPaint files contain one fixed 576 × 720 pixel, 1-bit black-and-white image. Apple's format note specifies a 512-byte header followed by 720 scan lines compressed separately with PackBits. The uncompressed bitmap is 51,840 bytes, while a typical file is about 10 KB and the documented maximum is 53,072 bytes.1
Identification should use content and provenance, not the filename alone:
- A Monkey's Audio file starts with ASCII
MAC, or hexadecimal4D 41 43 20, and FFmpeg recognizes.macas a legacy APE suffix.2 - A MacPaint file normally begins with a big-endian version value of
0or2, but that weak check is not a unique magic number. A decoder should also validate 720 PackBits rows.1 - A readable text file may be a program-specific macro. For example, the
specinstrument-control environment uses plain-text.macscripts containing executable commands.3
How do I open a .mac on my computer?
First inspect a copy with a format-identification tool or hex viewer.
- For a MacPaint image, use XnView MP, whose format list includes
.macMacPaint files, or convert it with Netpbm'smacptopbmtool.45 - For Monkey's Audio, FFmpeg can inspect and decode the stream. Save converted lossless audio as
.flac, and use.apefor the original format's modern filename convention. - For a macro, open it as text. Execute it only in the documented host application after reviewing every command.
Renaming a file does not convert its contents. In particular, changing a MacPaint image to .png or audio to .ape only changes its name.
Poly support for .mac
Poly stores, syncs, shares, versions, and finds .mac files by filename and basic properties. Because the suffix can mean an image, audio stream, or executable macro, Poly does not infer a format-specific preview, content index, or agent-readable representation from it.
Identify and convert a copy first when you need richer behavior. PNG preserves MacPaint's exact monochrome pixels. FLAC preserves decoded Monkey's Audio samples without introducing lossy compression.
History of .mac
Bill Atkinson wrote MacPaint for the original Macintosh, which shipped in January 1984.6 Classic Mac systems identified its documents with the PNTG file type rather than relying on a filename extension.1 The .mac spelling became one interchange convention when those files moved to systems organized around suffixes.4
Monkey's Audio later reused .mac in its early releases before version 3.00 changed the default extension to .ape. Current FFmpeg retains .mac as a recognized legacy input name.2
Working with .mac and alternatives
Keep the original until the converted result has been checked. Use PNG or TIFF for a MacPaint image, FLAC or WAV for Monkey's Audio, and the host application's documented format for a macro. MacPaint is already lossless and monochrome, so JPEG adds artifacts without a useful benefit.
Footnotes
- Apple. Technical Note PT24: MacPaint Document Format. ↩ ↩2 ↩3
- FFmpeg. Monkey's Audio APE Demuxer. The demuxer recognizes
.ape,.apl, and.macinputs and probes theMACsignature. ↩ ↩2 - Stanford Synchrotron Radiation Lightsource. Guide to Writing and Using spec Macro/Script Files. ↩
- XnView. Supported Graphic and Image Formats. ↩ ↩2
- Netpbm. macptopbm User Manual. ↩
- Computer History Museum. MacPaint and QuickDraw Source Code. ↩