.PMG

PMG File

Paint Magic Image File
Ask a question
QUICK ANSWER

A PMG file is a proprietary raster image created by Paint Magic, a program from the Commodore 64 era (circa 1985-1990). The only modern tool worth trying is XnView MP. Adobe Photoshop does not support this format despite some databases claiming otherwise.

Developer: Unknown (obscure/legacy software; "Paint Magic" for Commodore 64 era) Category: Raster Image Files MIME: image/x-pmg
OPENS ON Windows macOS Linux
Related: .JPG · .PNG · .TIF · .ECW

On this page

19k+ extensions indexed
Last reviewed Jun 15, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the PMG file format?

.pmg is a proprietary raster image format associated with "Paint Magic," a legacy painting program from the Commodore 64 era (circa 1985-1990). The format is extremely obscure, with no surviving public specification.

The file begins with a binary header. The most common variant starts with the byte 0x15 followed by the sequence 67 6D 50 (ASCII gmP), which appears to be a reversed marker for "PMg." A second observed variant uses 0x14 as the leading version byte. These signatures were determined by empirical file analysis rather than published documentation.

Given its origin on Commodore 8-bit hardware, .pmg files are expected to use big-endian byte order (Motorola heritage) and are constrained to standard Commodore 64 screen resolutions - 320×200 pixels (hires mode) or 160×200 pixels (multicolor mode) - with a palette of up to 16 colors drawn from the fixed C64 palette. File sizes are correspondingly small, typically between 5 KB and 64 KB. The compression scheme, if any, is undocumented.

Today .pmg files are of interest mainly in retrocomputing and digital preservation contexts. XnView MP has historically been reported to open them, though support in the current version (3.x) is unverified. Adobe Photoshop does not support the format natively. Anyone encountering a .pmg file outside a Commodore 64 archive should consider whether a different application may use the same extension for a different proprietary format.

Security & safety

RISK: LOW

Image files pose minimal risk. The format is so obscure that malicious PMG files are virtually unknown. Standard image-viewer sandboxing applies.

Format details

in a nutshell
FULL NAMEPaint Magic Image Fileaka PMG image, Paint Magic graphic
DEVELOPERUnknown (obscure/legacy software; "Paint Magic" for Commodore 64 era)since circa 1985-1990 (Commodore 64 era)
MIME TYPEimage/x-pmg
TYPEproprietary raster image (binary, legacy)
This extension is also used by…
  • Pegasus Mail Folder Index - Pegasus Mail e-mail client uses .pmg as a mailbox group index file; completely unrelated to images.
  • PageMaker Group File - Older Adobe PageMaker used .pmg for grouped object data in documents.
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
15676D50
ASCII
·gmP
Second common signature: 14 67 6D 50 (version byte 0x14 vs 0x15). The bytes 67 6D 50 spell 'gmP' - likely reversed 'PMg' marker. No public specification found; signatures derived from empirical file analysis.

Programs that open PMG files

Windows1 app
XnView MP Freemium Try File → Open with .pmg file; XnView supports hundreds of legacy formats. Success not guaranteed for all PMG variants.
macOS1 app
XnView MP Freemium Attempt to open the .pmg file; XnView MP is the best cross-platform option for obscure legacy images.
Linux1 app
XnView MP Freemium Open .pmg file directly; or try the ImageMagick 'identify' command to detect if ImageMagick recognizes the format.

Technical details

deep spec
Format origin"Paint Magic" painting software for Commodore 64 (circa 1985-1990); no public specification survives
Magic bytes (variant 1)`15 67 6D 50` at offset 0 - version byte `0x15` followed by ASCII `gmP`
Magic bytes (variant 2)`14 67 6D 50` at offset 0 - version byte `0x14`; approximately half of known files use each variant
Byte orderBig-endian (Motorola 6510/68000 CPU heritage)
Expected resolution320×200 px (hires mode) or 160×200 px (multicolor mode) - standard C64 screen modes
Color depth2-16 colors; constrained to the Commodore 64 fixed 16-color palette
CompressionUnknown; likely uncompressed bitmap or basic RLE - no documentation exists
Typical file size5 KB - 64 KB (consistent with Commodore-era resolution and color constraints)
Header structureVersion byte + `gmP` marker followed by image dimensions and pixel data; exact layout undocumented
Modern software supportXnView MP (community-reported; current v3.x support status unverified); no native OS support
Primary use todayRetrocomputing and digital archive preservation
Format identification riskOther applications may use .pmg for unrelated proprietary formats sharing the same extension
Releasedcirca 1985-1990 (Commodore 64 era)

PMG conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with PMG files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about PMG files.

Frequently asked questions

Can Adobe Photoshop open .pmg files?
No. Despite appearing in some database listings, Photoshop has no native PMG support. Use XnView MP instead.
What is the best way to open a PMG file today?
Try XnView MP, which supports hundreds of legacy image formats. If it fails, post the file to a retrocomputing community (e.g. Amiga/C64 forums).
How do I convert a PMG file to JPG or PNG?
Open it in XnView MP and use File → Save As to export to a modern format.
Is PMG related to PGM (Portable Graymap)?
No. PGM is a standard open format; PMG is a different, proprietary format with no relation.

References

1dotwhat.net - PMG file extensiondotwhat.net
2file-extensions.org - PMGfile-extensions.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.JPGJPEG Image
5.MDMarkdown Document
6.EXEWindows Executable (Portable Executable)
7.RPMSGRestricted Permission Message
8.BINCD/DVD Disc Image (BIN/CUE)
9.DATProgram Data File (generic)
10.EMLE-Mail Message (RFC 822 / MIME)

Related extensions

.JPGJPEG Image
.PNGPortable Network Graphics
.TIFTagged Image File Format
.ECWEnhanced Compression Wavelet (ECW) image
.AVIFAV1 Image File Format (AVIF)
.JP2JPEG 2000 Image (ISO/IEC 15444-1)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z