imgPpmUncompare--Marks a PPM image with the contents of a PBM image




imgPpmUncompare {<red> <green> <blue>} <base image>

Image Types

base imagePPM format
stdinPBM format
stdoutPPM format


The base image, which must be included, is intended to be the original PPM file without modifications. If there are one or more PBM images in the standard input, each image will be compared pixel by pixel with the base image. If a pixel in the PBM image is black (TRUE), the color with the RGB values specified by red, green, and blue will be placed at that pixel, or white if the values are not specified. If the PBM image contains a white (FALSE) pixel, the value will be copied from the PPM image. All input files must have the same size as the base image.

Treatment of Valid Region

The valid region is unaffected by this computation.

Treatment of Minimum and Maximum Values

Minimum and maximum values are unaffected by this computation.

See Also