CmdID

CmdID / Commands

ppmshadow

Add simulated shadows to a PPM 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

Add simulated shadows to a PPM image

ppmshadow path/to/input_file.ppm >path/to/output_file.ppmIdentify

blur the image by the specified number of pixels

ppmshadow -b n path/to/input_file.ppm >path/to/output_file.ppmIdentify

Specify the displacement of the simulated light source to the left and the top of the image

ppmshadow -x left_offset -y top_offset path/to/input_file.ppm >path/to/output_file.ppmIdentify