home *** CD-ROM | disk | FTP | other *** search
-
-
-
- pnmscale(1) USER COMMANDS pnmscale(1)
-
-
-
- NAME
- pnmscale - scale a portable anymap
-
- SYNOPSIS
- pnmscale _✓s [_✓p_✓n_✓m_✓f_✓i_✓l_✓e]
- pnmscale -xsize|-width|-ysize| _✓s [_✓p_✓n_✓m_✓f_✓i_✓l_✓e]
- pnmscale -xscale|-yscale _✓s [_✓p_✓n_✓m_✓f_✓i_✓l_✓e]
- pnmscale -xscale|-xsize|-width _✓s -yscale|-ysize|-height _✓s
- [_✓p_✓n_✓m_✓f_✓i_✓l_✓e]
- pnmscale -xysize _✓x _✓y [_✓p_✓n_✓m_✓f_✓i_✓l_✓e]
-
- DESCRIPTION
- Reads a portable anymap as input. Scales it by the speci-
- fied factor or factors and produces a portable anymap as
- output. If the input file is in color, the output will be
- too, otherwise it will be grayscale. You can both enlarge
- (scale factor > 1) and reduce (scale factor < 1).
-
- You can specify one dimension as a pixel size, and the other
- dimension will be scaled correspondingly.
-
- You can specify one dimension as a scale, and the other
- dimension will not be scaled.
-
- You can specify different sizes or scales for each axis.
-
- Or, you can use the special -xysize flag, which fits the
- image into the specified size without changing the aspect
- ratio.
-
- All flags can be abbreviated to their shortest unique pre-
- fix.
-
- If you enlarge by a factor of 3 or more, you should probably
- add a _✓p_✓n_✓m_✓s_✓m_✓o_✓o_✓t_✓h step; otherwise, you can see the original
- pixels in the resulting image.
-
- SEE ALSO
- pbmreduce(1), pnmenlarge(1), pnmsmooth(1), pnm(5)
-
- AUTHOR
- Copyright (C) 1989, 1991 by Jef Poskanzer.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sun Release 4.0 Last change: 12 January 1991 1
-
-
-
-