cloudinary / ssimulacra2

SSIMULACRA 2. Perceptual metric.
BSD 3-Clause "New" or "Revised" License
155 stars 5 forks source link

Do we plan to add support for AVIF inputs? #14

Closed AmeyMore98 closed 4 weeks ago

AmeyMore98 commented 4 weeks ago

Are we planning on adding support for comparing JPEG/PNG images and their AVIF conversions?

Something like this:

ssimulacra2 original.jpeg distorted.avif

I understand we can convert the AVIF to PNG for comparison, but will it be as accurate as comparing directly to the AVIF version?

jonsneyers commented 4 weeks ago

AVIF precision is limited to 12-bit, so converting it to PNG (which allows up to 16-bit precision) is fine.

There are no plans to add support for AVIF inputs directly.

AmeyMore98 commented 4 weeks ago

Got it, thanks!