I've been experimenting with the new .avif format lately.
So I've taken a .jpg image and converted it to .avif using different quality levels to learn how avif ticks.
Instead of jpg's quality percentage slider that ranges from 0% (ultrabad) to 100% (overkill),
avif has a min&max quantifier for colour
and a min&max for alpha channel.*
You may input values ranging from 0 to 63.
0 is the best.
63 is the worst.
So you'd think there are 64 possible quality levels.
I started with colour quantifier min=0 & max=30, then min=0 & max=29 and so on...
Here are the results:
As you can see, q29 and q28 are the same, q27 and q26 are the same etc.
Every second quality setting is redundant!
Conclusion:
Why does .avif offer 64 levels of quality, if there are in fact only 32 possible outcomes?
IMHO the possible input range should be reduced from 0-63 to 0-31.
*Note: The alpha channel quantifier only applies to images that feature transparent parts. If there are none, it does nothing.
AVIF: reduce number of quality levels from 64 to 32
Moderators: helmut, XnTriq, xnview
Re: AVIF: reduce number of quality levels from 64 to 32
All is OK, because XnView not set quality 0 to 20 but set q=10.
If You set first file q from 10 to 10, and second q from11 to 11 You will have different size files.
If You set first file q from 10 to 10, and second q from11 to 11 You will have different size files.