home *** CD-ROM | disk | FTP | other *** search
-
-
- pnmscale(1) Unix Programmer's Manual pnmscale(1)
-
-
- NNNAAAMMMEEE
- pnmscale - scale a portable anymap
-
- SSSYYYNNNOOOPPPSSSIIISSS
- pppnnnmmmssscccaaallleee _s [_p_n_m_f_i_l_e]
- pppnnnmmmssscccaaallleee ---xxxsssiiizzzeee|-wwwiiidddttthhh|-yyysssiiizzzeee|-hhheeeiiiggghhhttt _s [_p_n_m_f_i_l_e]
- pppnnnmmmssscccaaallleee ---xxxssscccaaallleee|-yyyssscccaaallleee _s [_p_n_m_f_i_l_e]
- pppnnnmmmssscccaaallleee ---xxxssscccaaallleee|-xxxsssiiizzzeee|-wwwiiidddttthhh _s ---yyyssscccaaallleee|-yyysssiiizzzeee|-hhheeeiiiggghhhttt _s [_p_n_m_f_i_l_e]
- pppnnnmmmssscccaaallleee ---xxxyyysssiiizzzeee _x _y [_p_n_m_f_i_l_e]
-
- DDDEEESSSCCCRRRIIIPPPTTTIIIOOONNN
- Reads a portable anymap as input. Scales it by the specified 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 ---xxxyyysssiiizzzeee flag, which fits the image into the
- specified size without changing the aspect ratio.
-
- All flags can be abbreviated to their shortest unique prefix.
-
- 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.
-
- SSSEEEEEE AAALLLSSSOOO
- pbmreduce(1), pnmenlarge(1), pnmsmooth(1), pnm(5)
-
- AAAUUUTTTHHHOOORRR
- Copyright (C) 1989, 1991 by Jef Poskanzer.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 12 January 1991 1
-
-
-