Simple graphic format in color. Use 24 bits per pixel: 8 for red, 8 for green, 8 for blue if the maximum gray value is 255, uses 16 bits for red, 16 for green and 16 for blue if the value is greater than 255 and less than 65536. a PPM file is plain text and can be modified with a single processor, there is also not readable binary version of word processing normally. It is related to the PGM (grayscale) and PBM formats (black and white).
Portable Network Graphics (PNG), is a raster graphics file format that supports lossless data compression. PNG was created as an improved, non-patented replacement for Graphics Interchange Format (GIF), and is the most used lossless image compression format on the Internet. PNG supports palette-based images (with palettes of 24-bit RGB or 32-bitRGBA colors), grayscale images (with or without alpha channel), and full-color non-palette-based RGB[A] images (with or without alpha channel). PNG was designed for transferring images on the Internet, not for professional-quality print graphics, and therefore does not support non-RGB color spaces such as CMYK.