rivmake


rivmake rawfile RivaFile [hdrsize]


Description

rivmake adds a RivaFile header to a rawfile, producing a RivaFile. If hdrsize is not specified, the header will be 1024 bytes long. This is reasonable for most purposes.

The newly created header will be empty except for the LBLSIZE field. Additional fields must be added with rivadd.

Usage

Given a raw 640x512 pixel RGB image 'image.raw', produce 'image.riv':
% rivmake image.raw image.riv rivmake: reading raw file image.raw rivmake: writing RivaFile image.riv All done. % rivheader image.riv RivaFile: image.riv LBLSIZE=1024 % rivadd image.riv NS 640 rivadd: editing RivaFile image.riv: NS=640 % rivadd image.riv NL 512 rivadd: editing RivaFile image.riv: NL=512 % rivadd image.riv BPP 3 rivadd: editing RivaFile image.riv: BPP=3 % rivheader image.riv RivaFile: image.riv LBLSIZE=1024 NS=640 NL=512 BPP=3 %

See Also

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