LinuxCommandLibrary

pnmshear

Shear PNM images horizontally

TLDR

Shear image horizontally

$ pnmshear [30] [input.pnm] > [output.pnm]
copy
Shear with background color
$ pnmshear -background [white] [45] [input.pnm] > [output.pnm]
copy

SYNOPSIS

pnmshear [options] angle [file]

DESCRIPTION

pnmshear applies a horizontal shear transformation to PNM images, sliding each row by an amount proportional to its distance from the center. The result is a parallelogram-shaped image where the shear angle is specified in degrees.
Anti-aliasing is applied by default for smooth results. The -background option sets the fill color for newly exposed areas, and -noantialias disables smoothing. Part of the Netpbm toolkit.

PARAMETERS

angle

Shear angle in degrees.
-background color
Fill color for new areas.
-noantialias
Disable anti-aliasing.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community