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

  1.  
  2.  
  3. ppmtoxpm(1)                Unix Programmer's Manual                ppmtoxpm(1)
  4.  
  5.  
  6. NNNAAAMMMEEE
  7.      ppmtoxpm - convert a portable pixmap into an X11 pixmap
  8.  
  9. SSSYYYNNNOOOPPPSSSIIISSS
  10.      ppppppmmmtttoooxxxpppmmm [-nnnaaammmeee _x_p_m_n_a_m_e] [_p_p_m_f_i_l_e]
  11.  
  12. DDDEEESSSCCCRRRIIIPPPTTTIIIOOONNN
  13.      Reads a portable pixmap as input.  Produces X11 pixmap (XPM) as output.
  14.  
  15.      If the program was compiled with an rgb database  specified,  and  a  RGB
  16.      value  from the ppm input matches a RGB value from the database, then the
  17.      corresponding color name mnemonic is printed in the XPM's  colormap.   If
  18.      no  rgb  database was compiled in, or if the RGB values don't match, then
  19.      the color  will  be  printed  with  the  #RGB,  #RRGGBB,  #RRRGGGBBB,  or
  20.      #RRRRGGGGBBBB hexadecimal format.
  21.  
  22. OOOPPPTTTIIIOOONNNSSS
  23.  
  24.      ---nnnaaammmeee
  25.           Allows you to specify the prefix string  which  is  printed  in  the
  26.           resulting  XPM  output.   If  not  specified,  will  default  to the
  27.           filename (without extension) of the ppmfile argument.  If  ---nnnaaammmeee  is
  28.           not  specified  and  no ppmfile is specified (i.e. piped input), the
  29.           prefix string will default to the string "noname".
  30.  
  31.      All flags can be abbreviated to their shortest unique prefix.
  32.  
  33. EEEXXXAAAMMMPPPLLLEEE
  34.      To convert the file "dot" (found in /usr/include/X11/bitmaps),  from  xbm
  35.      to xpm one could specify
  36.  
  37.           xbmtopbm dot | ppmtoxpm -name dot
  38.  
  39. BBBUUUGGGSSS
  40.      An option to match the closest (rather than exact)  color  name  mnemonic
  41.      from the rgb text would be a desirable enhancement.
  42.  
  43.      Truncation of the least significant bits of a RGB  value  may  result  in
  44.      nonexact matches when performing color name mnemonic lookups.
  45.  
  46. SSSEEEEEE AAALLLSSSOOO
  47.      xpmtoppm(1), ppm(5)
  48.  
  49. AAAUUUTTTHHHOOORRR
  50.      Copyright (C) 1990 by Mark W. Snitily.
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                                 26 June 1990                                 1
  65.  
  66.  
  67.