CmdID

CmdID / Commands

pnmalias

Apply antialiasing onto a PNM 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

Perform antialiasing on a PNM image, taking black pixels as background and white pixels as foreground

pnmalias path/to/input.pnm >path/to/output.ppmIdentify

Explicitly specify the background and foreground color

pnmalias -bcolor background_color -fcolor foreground_color path/to/input.pnm >path/to/output.ppmIdentify

Apply altialiasing to foreground pixels only

pnmalias -fonly path/to/input.pnm >path/to/output.ppmIdentify

Apply antialiasing to all surrounding pixels of background pixels

pnmalias -balias path/to/input.pnm >path/to/output.ppmIdentify