[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: avif.png (2 KB, 250x186)
2 KB
2 KB PNG
What went right?
>>
another episode of "AVIF Evangelists vs AVIF Detractors"
>>
I don't really care about file sizes in the year 2024
Which one will let me sear my eyeballs with blinding HDR?
>>
File: 1721785935235.webm (94 KB, 360x270)
94 KB
94 KB WEBM
Yay!! the hourly Avif shill thread!
>>
>>101543869
This. Wait for MUH hardware acceleration you cocksucking shills. The rest of us are sticking with JPG/PNG until they pry it from our cold dead hands.
>>
File: minecraft.png (2.09 MB, 1920x1080)
2.09 MB
2.09 MB PNG
Why does AVIF darken the image when using 10-bit?
>>101516006

As long as this is true, it's completely unacceptable for general use no matter how high the quality is.
>>
>>101544104
I have no clue what I'm supposed to be looking for here. Those images look pretty similar to me.
>>
File: minecraftavif.png (777 KB, 1920x1080)
777 KB
777 KB PNG
>>101544193
Here is the 10-bit AVIF decoded with avifdec -d 8 just to keep the format consistent. It still looks darker to me.
>>
>>
File: 1721533899332167.png (414 KB, 1600x1300)
414 KB
414 KB PNG
>>101544104
>>101544403
I don't really see it. If I zoom in 400% I can see that lossy compression was used but it's not super obvious like it is with jpeg xl.

I'm not sure what you were expecting though, lossy image formats end up discarding information 90% of people don't really care about to save space.

If you truly wanted absolutely nothing less than 100% image quality then I guess you would use lossless compresion of jpeg xl? I don't really mind losing a small amount of quality if it saves buttfuck tons of space though IMHO.
>>
File: 12618536857.png (102 KB, 678x663)
102 KB
102 KB PNG
Animations, AV1 video screencaps, and thumbnails. That's about it, however.
>>
>>101545049
see pic above
>>
>>101545028
If you can't see it, you can still measure it. GIMP's histogram shows a difference in median brightness, and the 8-bit AVIF scores a better PSNR despite being smaller. This is much worse than something you'd have to zoom into.
It's not like the image is hypercompressed either. 85 is pretty high quality.
>>
>>101545137
Hmm I have a 10-bit LED gaming panel. That might have something to do with it. I get less color banding with 10-bit AVIF than I do with 8-bit AVIF so I'll probably still avoid using 8-bit.

Maybe dithering 10-bit content to display on 8-bit panels will never be a perfect process.
>>
File: avif.png (1.71 MB, 3840x2160)
1.71 MB
1.71 MB PNG
Testing
avifenc -d 10 -s 0 -q 93 --cicp 1/13/1,
avifdec -d 8
>>
File: jxl.png (3.54 MB, 3840x2160)
3.54 MB
3.54 MB PNG
>>101545306
cjxl -d 1 -e 9,
djxl
>>
File: colonizee.png (3.79 MB, 3840x2160)
3.79 MB
3.79 MB PNG
>>101545317
>>101545306
Original from prior thread.
>>
>>101545317
file size?
>>
>>101545359
JXL: 363 KiB
AVIF: 372 KiB

As shown earlier, there's some weird thing with the color going on in the AVIF. Banding is a lot more prominent.
>>
>>101545306
is that skyrim?
>>
>>101545399
even better
>>
>>101545317
I still see blocky artefacts on this one.
>>
File: banding.png (706 KB, 1826x956)
706 KB
706 KB PNG
>>101545391
>>101545317
>>101545306
Contrast turned up by "100" in GIMP.
AVIF on the left and JXL on the right.
>>
>>101545306
>>101545391
Q93 is a pretty ultra overkill setting for AVIF images. The 1-100 scale is actually mapped to 0-63 AV1 quant so "quality 75" would actually be quant 16 which few people outside of production would be interested in especially since diminishing returns begin at quant 20 which is like quality 70?

Default is quality 50 or quant 32 but this only pertains to cellphone displays since such high PPI hides a lot of artefacting.
>>
>>101545626
Video quality demands are a lot more forgiving, so it's no surprise that the CRF targets are in the 20's.
The avifenc quality scale instead tries to match JPEG, where 90 is a common target, even being the default in GIMP.
>>
>>101545756
Source? All I see are references to the quality setting being mapped to the quantisizer in AVIF so anything above quality 70 would only be useful for production not for user image distribution and this includes low PPI displays like desktop monitors.

https://github.com/ImageMagick/ImageMagick/discussions/5371
>>
File: homer.gif (1.03 MB, 275x200)
1.03 MB
1.03 MB GIF
One thing that seems very consistent with JXL VS AVIF is how they each choose to degrade the image.
AVIF prioritizes pixel-perfect details at the cost of gradient integrity. If I lean back on my chair, JXL looks better. If I move my face all the way to the screen, AVIF looks better.
>>
>>101546007
It's the file size that really matters in the end and hands down AVIF absolutely fucking dominates below 100 KB for 4K images. There's 0 doubt about it. I'm not sure how many websites need this level of bandwidth saving though.

4k AVIF under 100KB
https://files.catbox.moe/ycknht.avif

Original 4K PNG image: ~8 MB
https://highdefdiscnews.com/wp-content/uploads/2020/05/the_invisible_man_2020_4k_37.png

AVIF CRF 40 (LQ): ~13 KB
https://files.catbox.moe/f7epbe.avif

AVIF CRF 30 (MQ): ~24 KB
https://files.catbox.moe/l9i077.avif

AVIF CRF 20 (HQ): ~42 KB
https://files.catbox.moe/tdv8ee.avif
>>
>>101545899
Never mind, I am probably mixing it up with the JXL quality parameter, which states the following:

>-q QUALITY, --quality=QUALITY
>Quality setting, higher value = higher quality. This is internally mapped to --distance.
>100 = mathematically lossless. 90 = visually lossless.
>Quality values roughly match libjpeg quality.
>>
Can't post it here, doesn't matter.
webp/avif/jpxl/jp2k/ang/mng/vp9/h264/h265/h266/av1
don't care, all useless since they can't be posted.
jpeg/png/gif/vp8 4eva.
>>
So.. What format is better for large scale bandwith usage? JxL?
>>
>>101546146
We got VP9 after that got enough hardware acceleration support. Probably same thing will happen with AVIF since the first 4K image posted in >>101546113 will donkey kick like 50% of old android phones in the balls.
>>
>>101546169
Depends on the level of bandwidth savings. Need 4K images under 100KB? I don't know what other image format besides AVIF is capable of such a feat.

Maybe AVIF2 but that's like a decade away at least.
>>
File: pexels-ryan1-8128793.jpg (532 KB, 3453x2155)
532 KB
532 KB JPG
Chatgpt gave me this, hope it's correct: quant = 63 - (.63 x quality)

Quality 50 = 63 - 31.5 = quant ~32
Quality 60 = 63 - 37.8 = quant ~25
Quality 70 = 63 - 44.1 = quant ~19
Quality 80 = 63 - 50.4 = quant ~13
>>
>>101546113
Your "HQ" AVIF is SSIMULACRA2 score 82, Butteraugli 3-norm score 2.3. That's medium quality at best and will have visible degradation. Okay for some quick preview, but less than desirable if you actually want a high-quality image.
>>
>>101546695
Has anyone tried encoding AVIF with butteraugli tuning? It did wonders to my AV1 video.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.