NAME
pnmshear - shear a PNM image by a specified angleSYNOPSIS
pnmshearDESCRIPTION
This program is part of Netpbm(1). pnmshear reads a PNM image as input and shears it by the specified angle and produce a PNM image as output. If the input file is in color, the output will be too, otherwise it will be grayscale. The angle is in degrees (floating point), and measures this:+-------+ +-------+ | | |\ \ | OLD | | \ NEW \ | | |an\ \ +-------+ |gle+-------+
+-------+ |-an+-------+ | | |gl/ / | OLD | |e/ NEW / | | |/ / +-------+ +-------+
OPTIONS
In addition to the options common to all programs based on libnetpbm (most notably -quiet, seeCommon Options ), pnmshear recognizes the following command line options:
- -background=color
- This determines the color of the background on which the sheared image sits. Specify the color ( color) as described for the
- -noantialias
- This option forces pnmshear to simply move pixels around instead of synthesizing output pixels from multiple input pixels. The latter could cause the output to contain colors that are not in the input, which may not be desirable. It also probably makes the output contain a large number of colors. If you need a small number of colors, but it doesn't matter if they are the exact ones from the input, consider using pnmquant on the output instead of using -noantialias. Note that to ensure the output does not contain colors that are not in the input, you also must consider the background color. See the -background option.
SEE ALSO
pnmrotate(1), pamflip(1), pamhomography(1), pnmquant(1), pnm(1)AUTHOR
Copyright (C) 1989, 1991 by Jef Poskanzer.DOCUMENT SOURCE
This manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at22 March 2020 | netpbm documentation |