home *** CD-ROM | disk | FTP | other *** search
/ Mega A/V / mega_av.zip / mega_av / GRAPHUTL / PBMPLUS.ZIP / PNMSCALE.MAN < prev    next >
Text File  |  1991-08-11  |  2KB  |  67 lines

  1.  
  2.  
  3. pnmscale(1)                Unix Programmer's Manual                pnmscale(1)
  4.  
  5.  
  6. NNNAAAMMMEEE
  7.      pnmscale - scale a portable anymap
  8.  
  9. SSSYYYNNNOOOPPPSSSIIISSS
  10.      pppnnnmmmssscccaaallleee _s [_p_n_m_f_i_l_e]
  11.      pppnnnmmmssscccaaallleee ---xxxsssiiizzzeee|-wwwiiidddttthhh|-yyysssiiizzzeee|-hhheeeiiiggghhhttt _s [_p_n_m_f_i_l_e]
  12.      pppnnnmmmssscccaaallleee ---xxxssscccaaallleee|-yyyssscccaaallleee _s [_p_n_m_f_i_l_e]
  13.      pppnnnmmmssscccaaallleee ---xxxssscccaaallleee|-xxxsssiiizzzeee|-wwwiiidddttthhh _s ---yyyssscccaaallleee|-yyysssiiizzzeee|-hhheeeiiiggghhhttt _s [_p_n_m_f_i_l_e]
  14.      pppnnnmmmssscccaaallleee ---xxxyyysssiiizzzeee _x _y [_p_n_m_f_i_l_e]
  15.  
  16. DDDEEESSSCCCRRRIIIPPPTTTIIIOOONNN
  17.      Reads a portable anymap as input.  Scales it by the specified  factor  or
  18.      factors  and  produces a portable anymap as output.  If the input file is
  19.      in color, the output will be too, otherwise it will  be  grayscale.   You
  20.      can both enlarge (scale factor > 1) and reduce (scale factor < 1).
  21.  
  22.      You can specify one dimension as a pixel size, and  the  other  dimension
  23.      will be scaled correspondingly.
  24.  
  25.      You can specify one dimension as a scale, and the  other  dimension  will
  26.      not be scaled.
  27.  
  28.      You can specify different sizes or scales for each axis.
  29.  
  30.      Or, you can use the special ---xxxyyysssiiizzzeee flag, which fits the image  into  the
  31.      specified size without changing the aspect ratio.
  32.  
  33.      All flags can be abbreviated to their shortest unique prefix.
  34.  
  35.      If you enlarge by a factor of 3  or  more,  you  should  probably  add  a
  36.      _p_n_m_s_m_o_o_t_h  step;  otherwise,  you  can  see  the  original  pixels in the
  37.      resulting image.
  38.  
  39. SSSEEEEEE AAALLLSSSOOO
  40.      pbmreduce(1), pnmenlarge(1), pnmsmooth(1), pnm(5)
  41.  
  42. AAAUUUTTTHHHOOORRR
  43.      Copyright (C) 1989, 1991 by Jef Poskanzer.
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                                12 January 1991                               1
  65.  
  66.  
  67.