Directions
- Compressing text
- Enter the text that is to be compressed into the Data: area.
- Select the compression method from the drop down list.
- Click the Compress button to apply the selected method to the text.
- The resulting string will appear in the Result: area.
- The compression ratio will appear in the Statistics: area.
- Decompressing a string
- Enter the string that is to be decompressed into the Data: area.
- Select the decompression method from the drop down list.
*Note: Because the Huffman table is dynamic, you can only apply the Huffman method to decompress a string if you have previously compressed text using this method.
- Click the Decompress button to apply the selected method to the string.
- The resulting text will appear in the Result: area.
- The decompression ratio will appear in the Statistics: area.
- Displaying details
- Click the Details button to display the table of substitutions that was applied to accomplish the compression/decompression.
- Displaying the detail for the Huffman Method will also display the tree used to develop the table of substitutions.
- Click the Clear button to reset for a new problem.