mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 11:42:28 +00:00
22 lines
578 B
Plaintext
22 lines
578 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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 -background {{blue}} {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`
|
|
|
|
- Do not perform anti-aliasing:
|
|
|
|
`pnmshear -noantialias {{angle}} {{path/to/input.pnm}} > {{path/to/output.pnm}}`
|