Home| base |src.bin|graphic| scaleppmx Index

scaleppmx

Syntax
scaleppmx --help
scaleppmx [-smooth] [-wdt width] [-hgt height] [name]
Synopsis

Scale an extended Portable PixMap (PPMX) image.

Options
--helpprint the help message and exit.
-smoothsmooth the output image.
-wdt widthmake the output image width pixels wide.
-hgt heightmake the output image height pixels tall.
nameinput image filename. If this is omitted the image will be read from standard input.
Description

Scale an extended Portable PixMap (PPMX) image.

The scaled PPMX image file is written to standard output.

Examples
scaleppmx -wdt 256 -hgt 256 inp.ppmx > out.ppmx

Scale the PPMX file inp.ppmx to 256x256 pixels and store it in the file out.ppmx.

scaleppm -smooth -wdt 64 -hgt 64 inp.ppmx > out.ppmx

Scale the PPMX file inp.ppmx to 64x64 pixels with smoothing and store it in the file out.ppmx.