And that's also part of JPEG-LS, that you can add quantization to your errors. basically, the decoder will receive a quantized error, and will reproduce a pixel that has a small variation compared to the original pixel. 