Tools provided by the N64 JPEG library are described below.
Use the njpgCompress tool to compress a graphic image (16bitRGBA format) into N64_JPEG format.
Function Name
njpgCompress --> to compress a graphic image (16bitRGBA format) to N64 JPEG format.
Syntax
njpgCompress [-w width][-h height][-s scale] [-v] inFile outFile
Description
The following command line options are available for the njpgCompress tool:
Function Name
njpgMakeSlide --> compress 1 or more 16bitRGBA format graphic images into N64 JPEG format.
Syntax
njpgMakeSlide [-w width][-h height][-s scale] [-v] inFile outFile
Description
Use the njpgMakeSlide tool to compress one or more 16-bit RGBA-format graphic images into N64 JPEG format and place the result into a single file. This is useful for making a file of all background images or for using images continuously as slides or flip animation pictures.
Command options are as follows.
Each original image file must be in the 16-bit RGBA format before it can be compressed into the N64 JPEG format. You can use this rgb2u64 tool to convert an image from RGB format into 16-bit RGBA format.
Function name
rgb2u64 --> to convert images in RGB format to 16bitRGBA format
Syntax
rgb2u64 <infile> [x_size y_size] > <outfile>
Description
This tool converts images in RGB format to 16-bit RGBA format. This tool is used on an SGI workstation.
Command options are as follows.
infile | RGB format input file |
outfile | 16bitRGBA format output file. Note that redirect (>) is used to output data to a file. |
x_size y_size | With X,Y directions of the image specified, that region is cut out and it converts it to 16bitRGBA format. The original image is cut in the top, bottom, left, and right sides. |