What is the difference between .ppm and .png?
- Extension
- .ppm
- .png
- Format
- Text
- Binary
- Category
- Raster Image
- Raster Image
- Developer
- Jef Poskanzer
- PNG Development Group
- Description
- 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.
- A PNG file is an image file stored in the Portable Network Graphic (PNG) format. It contains a bitmap of indexed colors and uses lossless compression, similar to a .GIF file but without copyright limitations. PNG files are commonly used to store graphics for web images.
- MIME Type
- image/x-portable-pixmap
- image/png
- Sample
- sample.ppm
- sample.png
- Wikipedia
- .ppm on Wikipedia
- .png on Wikipedia