Name
pix-rle — convert RGB pixel format image to Utah Raster Toolkit run-length encoded
Synopsis
pix-rle
[-C r/g/b
] [-s square_file_size
] [-w file_width
] [-n file_height
] [ file.pix
[file.rle
]]
DESCRIPTION
pix-rle
decodes a
pix(5)
format file, converts it into a Utah Raster Toolkit
Run-Length Encoded (RLE) format file format, and writes it to standard out.
If
file.pix
is not specified, standard input is read.
-w
and -n
options specify the output width and height respectively; these can be set to the same value by
use of the -s
option.
-C
r/g/b
This option permits the user to specify a background color as slash-separated decimal numbers in the range of 0 to 255, one each for the red, green, and blue channels.
- file.pix
Name of file to decode, in pix format.
- file.rle
Optional name of file to store RLE image in.