Introduction - If you have any usage issues, please Google them yourself
The basic method of Huffman coding is to scan the image data first, calculate the probability of occurrence of various pixels, specify the unique codewords of different lengths according to the size of the probability, and get a Huffman code table of the image. The encoded image data records the codewords of each pixel, and the correspondence between the codewords and the actual pixel values is recorded in the code table.
GUI implementation