Hello!
After installing Pillow==10.0.1 and ensuring jpeglib==9.0 without libjpeg-turbo involved, I tried to compress 0001.png with the provided code. However, the image I obtained still has pixel value differences compared to the provided image 0001_10.jpg. Are there any other libs I should be concerned about?
Thanks!
The decoded pixels may be also affected by the JPEG decoder you used, could you please try to decode both .jpg files with "imageio.imread(0001_10.jpg)", and check whether the pixels are the same?
Posted by: RenYang @ Feb. 20, 2024, 7:23 a.m.I tried with imageio and cv2, but the pixel values are still different. However, when I tried the same compression process on another machine, the results were fine! I haven't figured out the reason yet. Thanks anyway!
Posted by: Libc @ Feb. 20, 2024, 9:42 a.m.Thanks for pointing out the issue, It is then probably because of operational system and hardware (details about floating-point computation, etc.). If you have more discoveries about that, we appreciate it very much if you share with us, for improving the challenges in the future.
Posted by: RenYang @ Feb. 20, 2024, 11:25 a.m.Pillow==10.0.1 has the jpeglib==8.0. Could you please tell me how to make the jpeglib_version=9.0? Are there big differences between the two versions?Can I use the 8.0 ?
Posted by: dzyxwyk @ March 12, 2024, 3:22 a.m.