Dynapik offers a free online tool to change image types - no need to download anything. It's quick and easy to use. You can change your XPM images to PGM format. This tool works for both professionals and casual users. Convert your images to PGM in seconds.
X PixMap
Color icons written as text.
XPM (X PixMap) is the usage successor to XBM. It allows for color images (and transparency) to be stored as C source code arrays. It was the standard format for icons in the Common Desktop Environment (CDE) and many Unix window managers.
An XPM file is valid C code defining a character array: `static char * icon[] = { ... }`. The data defines a color palette (mapping characters like '.' or '#' to hex colors) and then draws the image using those characters. This makes it human-readable and editable in a text editor.
Developed by Groupe Bull in 1989 to bring color support to X11 icons.
Portable Gray Map
The standard uncompressed grayscale format.
PGM (Portable Gray Map) is the grayscale member of the Netpbm format family. It sits between PBM (1-bit black and white) and PPM (full color). It is designed to store grayscale images where each pixel has a value ranging from black to white, with typical depths of 8-bit (0-255) or 16-bit (0-65535).
Like other Netpbm formats, PGM has two sub-formats: P2 (ASCII) and P5 (Binary). The header defines the dimensions and the maximum gray value (Maxval). In P2, pixel values are written as plain text numbers separated by spaces. In P5, they are raw bytes. It is strictly a single-channel format.
Created by Jef Poskanzer in the late 80s to handle scanned photos that were better than 1-bit bitmaps but didn't need full color. It became a staple in computer vision research and Unix tools.
Experience lightning-fast image conversions with our advanced algorithms. No more waiting for your files to be uploaded before processing.
Enjoy unlimited image conversions without any hidden fees. Our service is completely free to use, with no limitations on file size or quantity.
Convert images files between over 20 formats. We support popular formats like PNG, JPG, WebP, HEIC and more.
Use Dynapik on any device with a modern browser. We support all major platforms such as Windows, macOS, Linux, Android, and iOS.
Ensure high fidelity in your conversions. Our professional-grade output is ideal for designers, marketers, and content creators.
Your files are safe with us. We focus on your privacy and security with advanced encryption and local processing.