Page 1 of 1

0.97.1 AVIF quantizer max value for alpha not saved/read correctly

Posted: Sat Nov 07, 2020 11:23 pm
by LazyBumHorse
XnView: MP 0.97.1 64bits
OS: Windows 64bit

To reproduce:
1. Go to Settings->Formats->Write->AVIF
2. Set Quantization for alpha to Min 16, Max 32
3. Observe AvifAlphaMin=16 and incorrectly AvifAlphaMax=16 being written to xnview.ini
4. Restart XnView
5. Observe the max value not being read correctly (seems to always be 0 or 63)

I also had it happen a few times that all values on the AVIF settings page were 0 after a restart, which may be a rare (unrelated?) UI initialization bug because the dialog under File->Save As->Options still showed the usual values.

Re: 0.97.1 AVIF quantizer max value for alpha not saved/read correctly

Posted: Tue Nov 10, 2020 10:35 am
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: 0.97.1 AVIF quantizer max value for alpha not saved/read correctly

Posted: Mon Dec 14, 2020 2:42 pm
by xnview
This problem is supposed to be fixed in XnView MP 0.98.0. Please check and confirm the bug fix here.

Re: 0.97.1 AVIF quantizer max value for alpha not saved/read correctly

Posted: Wed Jan 06, 2021 1:47 pm
by wunage
I can set the settings to what i want, i always get an image with a few kilobytes. I used a 24 Megapixel image and some smaller images.
But Lossless works.

xnview.ini
AvifCodec=0
AvifFormat=0
AvifSpeed=5
AvifColorLossless=false
AvifColorMin=43
AvifColorMax=63
AvifAlphaLossless=true
AvifAlphaMin=63
AvifAlphaMax=30