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

  1.  
  2.  
  3. ppmtopgm(1)                Unix Programmer's Manual                ppmtopgm(1)
  4.  
  5.  
  6. NNNAAAMMMEEE
  7.      ppmtopgm - convert a portable pixmap into a portable graymap
  8.  
  9. SSSYYYNNNOOOPPPSSSIIISSS
  10.      ppppppmmmtttooopppgggmmm [_p_p_m_f_i_l_e]
  11.  
  12. DDDEEESSSCCCRRRIIIPPPTTTIIIOOONNN
  13.      Reads a portable pixmap as input.  Produces a portable graymap as output.
  14.      The quantization formula used is .299 r + .587 g + .114 b.
  15.  
  16.      Note that although there is a _p_g_m_t_o_p_p_m program, it is not  necessary  for
  17.      simple  conversions from _p_g_m to _p_p_m, because any ppm program can read _p_g_m
  18.      (and _p_b_m ) files automagically.  _p_g_m_t_o_p_p_m is for colorizing a  _p_g_m  file.
  19.      Also, see _p_p_m_t_o_r_g_b_3 for a different way of converting color to gray.
  20.  
  21. QQQUUUOOOTTTEEE
  22.      Cold-hearted orb that rules the night
  23.      Removes the colors from our sight
  24.      Red is gray, and yellow white
  25.      But we decide which is right
  26.      And which is a quantization error.
  27.  
  28. SSSEEEEEE AAALLLSSSOOO
  29.      pgmtoppm(1), ppmtorgb3(1), rgb3toppm(1), ppm(5), pgm(5)
  30.  
  31. AAAUUUTTTHHHOOORRR
  32.      Copyright (C) 1989 by Jef Poskanzer.
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                               23 December 1988                               1
  65.  
  66.  
  67.