snippetbashTip
pnmshear — Shear a PNM image. More information: <https://netpbm.sourceforge.net/doc/pnmshear.html>.
Viewed 0 times
commandpnmshearshearcliimageinformationmorepnm
Problem
How to use the
pnmshear command: Shear a PNM image. More information: <https://netpbm.sourceforge.net/doc/pnmshear.html>.Solution
pnmshear — Shear a PNM image. More information: <https://netpbm.sourceforge.net/doc/pnmshear.html>.Shear a PNM image by the specified angle:
pnmshear {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}Specify the color of the background in the sheared image:
pnmshear {{[-b|-background]}} {{blue}} {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}Do not perform anti-aliasing:
pnmshear {{[-n|-noantialias]}} {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}Code Snippets
Shear a PNM image by the specified angle
pnmshear {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}Specify the color of the background in the sheared image
pnmshear {{[-b|-background]}} {{blue}} {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}Do not perform anti-aliasing
pnmshear {{[-n|-noantialias]}} {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}Context
tldr-pages: common/pnmshear
Revisions (0)
No revisions yet.