gamax92 3 Posted April 26, 2014 Share Posted April 26, 2014 Description: Recently I ported a compression program created by Immibis over to OpenComputers. The library also comes with two sample programs, compress and decompress. NOTE: Those who have used Immibis's compression program might know his programs are designed for text, and may add an extra line at the bottom or change the line ending. Those two flaws have been fixed in this port and one can successfully compress a binary file. compress: Usage: compress infile outfile Compresses a file using the ipack compression routine decompress: Usage: decompress infile outfile Decompresses a file created by the ipack compression routine. Both programs above will also output statistics regarding the compression level. Downloads: The api and the two sample programs can be found here. Quote Link to post Share on other sites
Programmdude 0 Posted June 15, 2014 Share Posted June 15, 2014 Any chance you can improve the memory usage with this? I tried compressing a file about 1/4 MB, not even my beefiest server with 4MB of ram could handle it. Quote Link to post Share on other sites
gamax92 3 Posted October 3, 2014 Author Share Posted October 3, 2014 You aren't supposed to pass huge blocks through this. You're supposed to compress it in chunks. Quote Link to post Share on other sites