1. A method comprising: accessing an uncompressed image that includes a block of pixels among multiple blocks of pixels; generating a first set of intermediate images that includes: a first image that represents luminance values of pixels in the uncompressed image, a second image that represents minimum luminance values in the blocks of pixels in the uncompressed image, a third image that represents maximum luminance values in the blocks of pixels in the uncompressed image, a fourth image that represents colors of pixels having minimum luminance values in the blocks of pixels in the uncompressed image, and a fifth image that represents colors of pixels having maximum luminance values in the blocks of pixels in the uncompressed image; generating a sixth image, the sixth image being generated based on the first image, the second image, and the third image, the generating of the sixth image being performed by a processor of a machine; and providing the fourth image, the fifth image, and the sixth image as a second set of intermediate images usable to generate a compressed version of the uncompressed image.