3.2.3 PPM. Portable Pix-Map Format
See the man-page.
Plain version:
- Identifier "P3"
- ASCII representation of Width
- ASCII representation of Height
- ASCII representation of Maxvalue (
) per color component
- Height many lines of Width many pixels as 3 ASCII words 0..Maxvalue (R/G/B) separated by space
Raw version:
- Identifier "P6"
- ASCII representation of Width
- ASCII representation of Height
- ASCII representation of Maxvalue (
)
- Height many lines of Width many pixels as 3 bytes or double-bytes (R/G/B)
from left to right and top to bottom.
The colors are coded non-linear with a gamma of 2.2.
Andreas Kriegl 2003-07-23