Closed mongeron closed 3 years ago
Can you share an example image and exact Chrome version?
https://www.bonusfinder.com/images/rsz_caesars07262021-800x331.jpg.avif contains the broken encoded image, https://www.bonusfinder.com/images/rsz_caesars07262021-800x331.jpg contains the original source image.
Command line used for conversion:
cavif -f -s 1 -Q 55 rsz_caesars07262021-800x331.jpg -o rsz_caesars07262021-800x331.jpg.avif
Chrome:
Google Chrome is up to date Version 92.0.4515.107 (Official Build) (x86_64)
Operating system is MacOS.
The image is generated as part of finding optimal quality value to meet desired DSSIM quality. As part of the process, I use avifdec
to create PNG version of the compressed image for DSSIM comparison to original. Avifdec seems to process the image properly.
I can't reproduce it. The AVIF file looks like from an older version.
Btw we had also problems with Chrome 92 but upgrade to 1.3.0 fixed it for us.
I am pretty sure it was generated using the newer version, but I will double-check.
It was indeed encoded by the old version, sorry for the false alarm.
Phew
After Chrome 92 arrived, many of the AVIF images on my websites started showing corrupt image icon in Chrome 92. Images were created with CAvif 0.6.0.
I updated CAvif to 1.3.0 and re-encoded all images. However, some of the AVIF images are still broken in Chrome 92.
I can provide sample images of original JPEG files and broken AVIF files if needed.