riv2ppm


riv2ppm RivaFile ppmfile


Description

riv2ppm converts a RivaFile into an RGB PPM image file. The RivaFile must be untiled, have 3 bytes per pixel, and its header must define the NS, NL, and BPP fields. The resulting PPM file will have its header fields separated by carriage returns.

Usage

Given a RivaFile called 'image.riv', convert it to 'image.ppm' as follows:
% riv2ppm image.riv image.ppm riv2ppm: reading RivaFile image.riv riv2ppm: writing ppm image.ppm All done. %

See Also

RivaFile Format

Privacy / Copyrights
FIRST GOV   NASA Home Page This page, http://pat.jpl.nasa.gov/RIVA//public/RIVA/riv2ppm.html, is maintained by Peggy Li and was last modified Friday, 15-Aug-2003 11:54:23 PDT, CL 03-2169
spacer