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

  1.  
  2.  
  3. rawtoppm(1)                Unix Programmer's Manual                rawtoppm(1)
  4.  
  5.  
  6. NNNAAAMMMEEE
  7.      rawtoppm - convert raw RGB bytes into a portable pixmap
  8.  
  9. SSSYYYNNNOOOPPPSSSIIISSS
  10.      rrraaawwwtttoooppppppmmm  [-hhheeeaaadddeeerrrssskkkiiippp   _N]   [-rrrooowwwssskkkiiippp   _N]   [-rrrgggbbb|-rrrbbbggg|-gggrrrbbb|-gggbbbrrr|   [---
  11.      iiinnnttteeerrrpppiiixxxeeelll|-iiinnnttteeerrrrrrooowww] _w_i_d_t_h _h_e_i_g_h_t [_i_m_a_g_e_d_a_t_a]
  12.  
  13. DDDEEESSSCCCRRRIIIPPPTTTIIIOOONNN
  14.      Reads raw RGB bytes as input.  Produces a portable pixmap as output.  The
  15.      input  file  is just RGB bytes.  You have to specify the width and height
  16.      on the command line, since the program obviously can't get them from  the
  17.      file.  The maxval is assumed to be 255.  If the resulting image is upside
  18.      down, run it through pppnnnmmmfffllliiippp ---tttbbb ...
  19.  
  20. OOOPPPTTTIIIOOONNNSSS
  21.  
  22.      ---hhheeeaaadddeeerrrssskkkiiippp
  23.           If the file has a header, you can use this flag to skip over it.
  24.  
  25.      ---rrrooowwwssskkkiiippp
  26.           If there is padding at the ends of the rows, you can  skip  it  with
  27.           this flag.
  28.  
  29.      ---rrrgggbbb ---rrrbbbggg ---gggrrrbbb ---gggbbbrrr ---bbbrrrggg ---bbbgggrrr
  30.           These flags let you specify alternate color orders.  The default  is
  31.           ---rrrgggbbb.
  32.  
  33.      ---iiinnnttteeerrrpppiiixxxeeelll ---iiinnnttteeerrrrrrooowww
  34.           These flags let you specify how the  colors  are  interleaved.   The
  35.           default is ---iiinnnttteeerrrpppiiixxxeeelll, meaning three interleaved bytes make up each
  36.           pixel.  ---iiinnnttteeerrrrrrooowww means three interleaved rows - a row of red, a row
  37.           of  green,  a  row  of blue, assuming standard rgb color order.  The
  38.           ---iiinnnttteeerrrppplllaaannneee flag is an obvious extension, but is not implemented.
  39.  
  40. SSSEEEEEE AAALLLSSSOOO
  41.      ppm(5), rawtopgm(1), pnmflip(1)
  42.  
  43. AAAUUUTTTHHHOOORRR
  44.      Copyright (C) 1991 by Jef Poskanzer.
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                                15 December 89                                1
  65.  
  66.  
  67.