CmdID

CmdID / Commands

pgmtoppm

Colorize a PGM image. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Map all greyscale values of the input image to all colors between the two specified colors

pgmtoppm -black red -white blue path/to/input.pgm >path/to/output.ppmIdentify

Map all greyscale values of the input image to colors according to the specified colormap

pgmtoppm -map path/to/colormap.ppm path/to/input.pgm >path/to/output.ppmIdentify