How to convert PGM to XPM
- 1
Add your PGM files
Drag and drop PGM files onto the converter, paste them, or click to browse. You can add several at once.
- 2
Choose XPM
XPM is already selected. Open Options if you want to change quality, size or metadata.
- 3
Convert
Click Convert. Your files are converted right in your browser in seconds.
- 4
Download your XPM
Download each XPM file, or everything at once as a ZIP.
PGM vs XPM
From
PGM · Portable Graymap
PGM is the grayscale member of the Netpbm family: uncompressed, simple and easy to parse.
- Type
- Image
- Extension
- .pgm
- MIME
- image/x-portable-graymap
- Best for
- grayscale image processing
Lossless
All PGM conversions →To
XPM · X PixMap
XPM is a text-based color image format from the X Window System, stored as C source code.
- Type
- Image
- Extension
- .xpm
- MIME
- image/x-xpixmap
- Best for
- X11 and Linux desktop icons
Legacy format
All XPM conversions →Need it the other way around? Convert XPM to PGM.
Related conversions
- XPM to PGM
- PGM to PNG
- PNG to XPM
- PGM to JPG
- JPG to XPM
- PGM to WebP
- WebP to XPM
- PGM to JPEG
- HEIC to XPM
- PGM to PDF
- JPEG to XPM
- PGM to GIF
Convert PGM to other formats
PGM to XPM: frequently asked questions
Free, private and in your browser
Convert PGM to XPM in seconds.
No sign-up, no watermarks, no waiting in line. Drop a file and get it back in the format you need.
- Most conversions never leave your device
- Cloud files deleted automatically
- No watermarks