1. A camera, comprising: a sensor operable to acquire pixels of an image; and a processor coupled to the sensor and operable to, transform the pixels of the image into transform coefficients, and quantize one of the transform coefficients with a quantization value that has been weighted according to an error that the processor introduced to the one transform coefficient.