1. A method, comprising: determining, at a computing device, an image variation metric of a digital image; and providing, by the computing device, based at least on the image variation metric, a space-domain-to-frequency-domain transform quantization matrix for compression of the digital image.