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

  1.  
  2.  
  3. rawtopgm(1)                Unix Programmer's Manual                rawtopgm(1)
  4.  
  5.  
  6. NNNAAAMMMEEE
  7.      rawtopgm - convert raw grayscale bytes into a portable graymap
  8.  
  9. SSSYYYNNNOOOPPPSSSIIISSS
  10.      rrraaawwwtttooopppgggmmm [-hhheeeaaadddeeerrrssskkkiiippp _N] [-rrrooowwwssskkkiiippp _N] _w_i_d_t_h _h_e_i_g_h_t [_i_m_a_g_e_d_a_t_a]
  11.  
  12. DDDEEESSSCCCRRRIIIPPPTTTIIIOOONNN
  13.      Reads raw grayscale bytes as  input.   Produces  a  portable  graymap  as
  14.      output.  The input file is just grayscale bytes.  You have to specify the
  15.      width and height on the command line, since the program  obviously  can't
  16.      get  them  from  the  file.   The  maxval  is  assumed to be 255.  If the
  17.      resulting image is upside down, run it through pppnnnmmmfffllliiippp ---tttbbb ...
  18.  
  19. OOOPPPTTTIIIOOONNNSSS
  20.  
  21.      ---hhheeeaaadddeeerrrssskkkiiippp
  22.           If the file has a header, you can use this flag to skip over it.
  23.  
  24.      ---rrrooowwwssskkkiiippp
  25.           If there is padding at the ends of the rows, you can  skip  it  with
  26.           this  flag.   Note  that rowskip can be a real number.  Amazingly, I
  27.           once had an image with 0.376 bytes of padding per row.  This  turned
  28.           out  to  be  due to a file-transfer problem, but I was still able to
  29.           read the image.
  30.  
  31. SSSEEEEEE AAALLLSSSOOO
  32.      pgm(5), rawtoppm(1), pnmflip(1)
  33.  
  34. AAAUUUTTTHHHOOORRR
  35.      Copyright (C) 1989 by Jef Poskanzer.
  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.                                15 December 89                                1
  65.  
  66.  
  67.