home *** CD-ROM | disk | FTP | other *** search
-
-
-
- rrrraaaawwwwttttooooppppppppmmmm((((1111)))) XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((00006666 FFFFeeeebbbbrrrruuuuaaaarrrryyyy 1111999999991111)))) rrrraaaawwwwttttooooppppppppmmmm((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- rawtoppm - convert raw RGB bytes into a portable pixmap
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- rrrraaaawwwwttttooooppppppppmmmm [----hhhheeeeaaaaddddeeeerrrrsssskkkkiiiipppp _N] [----rrrroooowwwwsssskkkkiiiipppp _N] [----rrrrggggbbbb|----rrrrbbbbgggg|----ggggrrrrbbbb |----
- ggggbbbbrrrr|----bbbbrrrrgggg|----bbbbggggrrrr ] [----iiiinnnntttteeeerrrrppppiiiixxxxeeeellll|----iiiinnnntttteeeerrrrrrrroooowwww] _w_i_d_t_h _h_e_i_g_h_t
- [_i_m_a_g_e_d_a_t_a]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- Reads raw RGB bytes as input. Produces a portable pixmap as
- output. The input file is just RGB bytes. You have to
- specify the width and height on the command line, since the
- program obviously can't get them from the file. The maxval
- is assumed to be 255. If the resulting image is upside
- down, run it through ppppnnnnmmmmfffflllliiiipppp ----ttttbbbb ....
-
- OOOOPPPPTTTTIIIIOOOONNNNSSSS
- ----hhhheeeeaaaaddddeeeerrrrsssskkkkiiiipppp
- If the file has a header, you can use this flag to skip
- over it.
-
- ----rrrroooowwwwsssskkkkiiiipppp
- If there is padding at the ends of the rows, you can
- skip it with this flag.
-
- ----rrrrggggbbbb ----rrrrbbbbgggg ----ggggrrrrbbbb ----ggggbbbbrrrr ----bbbbrrrrgggg ----bbbbggggrrrr
- These flags let you specify alternate color orders.
- The default is ----rrrrggggbbbb.
-
- ----iiiinnnntttteeeerrrrppppiiiixxxxeeeellll ----iiiinnnntttteeeerrrrrrrroooowwww
- These flags let you specify how the colors are
- interleaved. The default is ----iiiinnnntttteeeerrrrppppiiiixxxxeeeellll, meaning
- interleaved by pixel. A byte of red, a byte of green,
- and a byte of blue, or whatever color order you
- specified. ----iiiinnnntttteeeerrrrrrrroooowwww means interleaved by row - a row
- of red, a row of green, a row of blue, assuming
- standard rgb color order. An ----iiiinnnntttteeeerrrrppppllllaaaannnneeee flag - all
- the red pixels, then all the green, then all the blue -
- would be an obvious extension, but is not implemented.
- You could get the same effect by splitting the file
- into three parts (perhaps using _d_d), turning each part
- into a PGM file with rawtopgm, and then combining them
- with rgb3toppm.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- ppm(5), rawtopgm(1), rgb3toppm(1), pnmflip(1)
-
- AAAAUUUUTTTTHHHHOOOORRRR
- Copyright (C) 1991 by Jef Poskanzer.
-
-
-
-
-
-
- Page 1 (printed 9/7/93)
-
-
-
-