Options (2)
booleanApply altialiasing to foreground pixels only
Example:
pnmalias {{[-fo|-fonly]}} {{path/to/input.pnm}} > {{path/to/output.ppm}}booleanApply antialiasing to all surrounding pixels of background pixels
Example:
pnmalias {{[-ba|-balias]}} {{path/to/input.pnm}} > {{path/to/output.ppm}}Examples (4)
Perform antialiasing on a PNM image, taking black pixels as background and white pixels as foreground
pnmalias path/to/input.pnm > path/to/output.ppmExplicitly specify the background and foreground color
pnmalias -bcolor background_color -fcolor foreground_color path/to/input.pnm > path/to/output.ppmApply altialiasing to foreground pixels only
pnmalias [-fo|-fonly] path/to/input.pnm > path/to/output.ppmApply antialiasing to all surrounding pixels of background pixels
pnmalias [-ba|-balias] path/to/input.pnm > path/to/output.ppmmade by @shridhargupta | data from tldr-pages