Abstract:A lossless compression optimization algorithm for ARGB data and its FPGA implementation method are proposed. In order to avoid the decompression and compression of the whole file, the related methods of Deflate algorithm are used to compress and decompress the image block by block, which greatly improves the access efficiency of the memory. The Deflate algorithm is used to compress small blocks, and the Huffman compression technology of LZ77 compression in Deflate is fully utilized to optimize the compression algorithm. The algorithm is implemented as an FPGA circuit through VIVADO HLS, and it is applied in practice with several pictures, which proves the effectiveness of the algorithm and analyzes its power consumption and timing information.