rawtoppm (1)
convert raw RGB bytes into a portable pixmap
SYNOPSIS
rawtoppm
[ -headerskip
N ]
[ -rowskip
N ]
[ -rgb | -rbg | -grb
| -gbr | -brg | -bgr
]
[ -interpixel | -interrow ]
width height
[ imagedata ]
DESCRIPTION
Reads raw RGB bytes as input.
"raw RGB"
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
pnmflip -tb
pnmflip
OPTIONS
SEE ALSO
AUTHOR
Copyright (C) 1991 by Jef Poskanzer.
|
|