Options (2)
-bbooleanSpecify the background color exposed by rotating the input image
Example:
pnmrotate {{[-b|-background]}} {{color}} {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}-nbooleanDisable anti-aliasing, improving performance but decreasing quality
Example:
pnmrotate {{[-n|-noantialias]}} {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}Examples (3)
Rotate a PNM image by some angle (measured in degrees, counter-clockwise)
pnmrotate angle path/to/input.pnm > path/to/output.pnmSpecify the background color exposed by rotating the input image
pnmrotate [-b|-background] color angle path/to/input.pnm > path/to/output.pnmDisable anti-aliasing, improving performance but decreasing quality
pnmrotate [-n|-noantialias] angle path/to/input.pnm > path/to/output.pnmmade by @shridhargupta | data from tldr-pages