private void ProceedResult() { var rle = Lab1.RLE(_bytes); lblRLE.Text = Utils.GetCompressPercentage(_bytes, rle); var lz77 = Lab1.LZ77(_bytes); //lblLZ77.Text = Utils.GetCompressPercentage(_bytes, lz77); var hc = Lab1.HuffmanCode(_bytes); //lblHC.Text = Utils.GetCompressPercentage(_bytes, hc); }
public void Lab1Test() { var bytes = File.ReadAllBytes(@"C:\Repos\Simple_compression_algorithms\Simple_compression_algorithms\Simple_compression_algorithms\Resources\house_1.ppm"); var compressed = Lab1.LZ77(bytes); }