01-28-2023, 05:20 PM
The issue was in "Windows Photo Viewer" itself.
Explanation
I tried to convert another screenshot and noticed that in .avif version it is slightly (but noticeably) brighter than version in .png
So I just googled something like "avif decoder make image brighter" and the first result (https://github.com/link-u/cavif/issues/40) described the same issue, but with different software. Andit was bingo!
I opened in the GIMP the second image that I encoded and there was NO difference in brightness.
I opened in the GIMP the first image (with the space-ship) that I encoded and there were NO noticeable difference in elements' colors.
My noob's verdict - please, do not compare two photos in "Windows Photo Viewer")
Explanation
I tried to convert another screenshot and noticed that in .avif version it is slightly (but noticeably) brighter than version in .png
So I just googled something like "avif decoder make image brighter" and the first result (https://github.com/link-u/cavif/issues/40) described the same issue, but with different software. Andit was bingo!
I opened in the GIMP the second image that I encoded and there was NO difference in brightness.
I opened in the GIMP the first image (with the space-ship) that I encoded and there were NO noticeable difference in elements' colors.
My noob's verdict - please, do not compare two photos in "Windows Photo Viewer")