JPEG image quality becomes visually much worse after decoding it and encoding back with the same quality: the colors become much less natural. Especially it is visible on whitish colors. I can attach the original image, the image after nvJPEG encoding and the input-output images before/after side-by-side with increased contrast to better see the difference. Any tips/suggestions?
CPU-based libJPEG produces the expected result (visually the same result as original)
nvJPEG produces much worse colors.