Image Compression Algorithms Explained: DCT, Huffman, and More