What is the difference between .xpm and .ppm?
- Extension
- .xpm
- .ppm
- Format
- Text
- Text
- Category
- Raster Image
- Raster Image
- Developer
- X Consortium
- Jef Poskanzer
- Description
- 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.
- A PPM file is a 24-bit color image formatted using a text format. It stores each pixel with a number from 0 to 65536, which specifies the color of the pixel. PPM files also store the image height and width, whitespace data, and the maximum color value.
- MIME Type
- image/x-xbitmap
- image/x-portable-pixmap
- Sample
- sample.xpm
- sample.ppm
- Wikipedia
- .xpm on Wikipedia
- .ppm on Wikipedia