What is the difference between .pnm and .xpm?
- Extension
- .pnm
- .xpm
- Format
- Binary
- Text
- Category
- Raster Image
- Raster Image
- Developer
- Jef Poskanzer
- X Consortium
- Description
- The PNM (Portable Any Map Image) file format is a subset of the broader Netpbm format, designed for storing various types of digital images. It acts as an umbrella term for three specific types of grayscale, color, and black-and-white images, represented by PBM (Portable Bitmap), PGM (Portable Graymap), and PPM (Portable Pixmap) formats respectively. PNM files are known for their simplicity and ease of conversion to other image formats.
- The XPM (X11 Pixmap Graphic) file format is a plain text file format used to store pixmap images, which are pixel-based graphics. It is designed for use with the X Window System, commonly used in Unix and Linux environments. XPM files define images in a structured format, using ASCII text to describe each pixel's color and location within the image. This format supports both monochrome and color images and allows for the definition of custom color palettes.
- MIME Type
- application/x-portable-anymap
- image/x-xbitmap
- Sample
- sample.pnm
- sample.xpm
- Wikipedia
- .pnm on Wikipedia
- .xpm on Wikipedia