$NitroSDK/tools/bin/ntrcomp.exe
ntrcomp is a set of tools that creates compressed data in a format that can be handled by the NITRO-SDK MI_Uncompress*() command.
% ntrcomp <-d|r|l|h [option]> [-t] [-H] [-o outputFile] <inputFile>
Compresses and converts the input file that is designated by inputFile into a designated format.
Run length compression, LZ77 compression, Huffman compression, and difference filter conversion are all possible.
With the -H option, the data size is also appended to the data after expansion occurs. This is because header information is added to the data and compressed.
With the -o option, the file name of the output file can be designated. If nothing is designated, the output file is created with the name (input file name console part)_(compression method).bin.
With the -t option, the output file can be output as a C language format text file.
The following formats can be designated for the compression method:
| Options | Conversion Method | Parameters |
|---|---|---|
| -d | difference filter | Designates the bit size of the comparison unit { 8 | 16 } |
| -r | run length compression | None |
| -h | Huffman compression | Designates the bit size to encode { 4 | 8 } |
| -l | LZ77 compression | Designates the search position of the corresponding character strings {2 or greater} |
MI_UncompressHuffman, MI_UncompressRL*, MI_UncompressLZ*
08/20/2004 Initial version