Syntax |
|
scaleppm --help scaleppm [-smooth] [-wdt width] [-hgt height] [name] scaleppm [-smooth] [-sf scale] [name]
|
Synopsis |
| Scale a Portable PixMap (PPM) image. |
Options |
|
--help | print the help message and exit. |
-smooth | smooth the output image. |
-wdt width | make the output image width pixels wide. |
-hgt height | make the output image height pixels tall. |
name | input image filename. If this is omitted the image will be read from standard input. |
-sf scale | use the scale factor scale where 1.0 is the original size. |
|
Description |
| Scale a Portable PixMap (PPM) image.
The scaled PPM image file is written to standard output. |
Examples |
|
scaleppm -wdt 256 -hgt 256 inp.ppm > out.ppm |
Scale the PPM file inp.ppm to 256x256 pixels and store it in the file out.ppm .
scaleppm -smooth -wdt 64 -hgt 64 inp.ppm > out.ppm |
Scale the PPM file inp.ppm to 64x64 pixels with smoothing and store it in the file out.ppm .
|