DCT coefficients changed after JPEG saved to ios photo library
问题 There is a strange change when saving JPEG image to the iOS photo library. I don't know if I am doing something wrong. I'm using libjpeg-turbo to access JPEG images and then I modify DCT coefficients of the image. Modified image (just in DCT, nothing else) is saved in photo library. But after I open the saved image, DCT coefficients are not the same that I changed in the previous step. In detail, let me explain how I'm adding +1 to each DCT. I am using standard procedure from "example.c" of