Is re-encoding JPEG images an idempotent operation?
I am aware that JPEG compression is lossy. I have 2 questions: Given an operation T: 1. Take a JPEG-80 image 2. Decode it to a byte buffer 3. Encode given byte buffer as JPEG-80 Is T an idempotent operation in terms of visual quality? Or will the quality of the image keep degrading as I repeat T? Does the same hold true for the JPEG-XR codec? Thank you! Edit : Since there have been conflicting answers, it would be great if you could provide references! It's not guaranteed, but it may happen. Especially if you repeat the encode -> decode -> encode -> decode process enough times, it will