| ★ wanayoo — archive 1999 http://nodevice.com/sections/ManIndex/man1091.html | Nouvelle recherche | Portail wanayoo |
| Previous Next Man Index | Sections: 0 1 2 3 4 5 6 7 8 N |
If only one color is specified, black in the pgm file stays black and white in the pgm file turns into the specified color in the ppm file. If two colors (separated by a dash) are specified, then black gets mapped to the first color and white gets mapped to the second.
The color can be specified in five ways: "specifying colors"
o
o
o
o
o
Also, the -map flag lets you specify an entire colormap to be used. The mapfile is just a ppm file; it can be any shape, all that matters is the colors in it and their order. In this case, black gets mapped into the first color in the map file, and white gets mapped to the last.
| Previous Next Man Index | Sections: 0 1 2 3 4 5 6 7 8 N |