Pink 0.9
|
constructs a ppm color image from 3 pgm grayscale image or from a pgm image and a lookup table More...
constructs a ppm color image from 3 pgm grayscale image or from a pgm image and a lookup table
Usage: pgm2ppm {r.pgm g.pgm b.pgm|in.pgm in.lut} out.ppm
Description: 1st mode (3 arguments): combines three grayscale images: r.pgm, g.pgm and b.pgm as the red, green and blue color planes of the color image out.ppm
2nd mode (2 arguments): generates a color ppm image from the image in.pgm and the lookup table in.lut
A lookup table is represented by a special ppm image with 1 row.
Types supported: byte 2d
Category: convert