2023-12-15 19:08:07 +01:00
|
|
|
# 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:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`pnmshear {{[-b|-background]}} {{blue}} {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`
|
2023-12-15 19:08:07 +01:00
|
|
|
|
|
|
|
- Do not perform anti-aliasing:
|
|
|
|
|
2025-04-01 06:42:14 +03:00
|
|
|
`pnmshear {{[-n|-noantialias]}} {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`
|