[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-logo-rgb.svg.png (105 KB, 2560x1914)
105 KB
105 KB PNG
As much as I want JXL to become the standard image sharing format, I welcome AVIF as the go-to bulk web image format. The fact that you can meet strict size requirements and still have the result look decent means it can be automated well.
One use case would be 4chan thumbnails. Some of them on the catalog can be as big as 10KB, and there are 150 of them on /g/. The site could potentially save a megabyte of data for every single user deciding to view the catalog. That quickly adds up.
As a bonus, it would filter retards who save thumbnails and try to post them. Total ant death.
>>
put on the trip, pixdaiz
>>
uncompressed webp images are great, but man is it slow as fuck.
>>
>>101559207
Case in point, this super simple thumbnail is 4.7KB and has visible artifacts AVIF wouldn't show.
>>
File: 1721533899332167.png (414 KB, 1600x1300)
414 KB
414 KB PNG
>>101559207
I personally really dislike the blocky artefacts of jpeg xl. I would much prefer AVIF nuke grain than get those DISGUSTING HIDEOUS blocky artecacts.
>>
>>101559207
>As much as I want JXL to become the standard image sharing format, I welcome AVIF as the go-to bulk web image format.

I believe they can coexist together.
>>
>>101560168
they can. OP is just a faggot. along with JPG and PNG purists.
>>
>>101560168
>>101560248
The whole point of a next-gen image format was to reduce clutter. If neither AVIF or jpeg-xl can do that then both are deemed emberrasing failures.
>>
>>101560248
I never disputed that, retard.
>>
File: banding.png (706 KB, 1826x956)
706 KB
706 KB PNG
>>101559681
What good is that if there is banding up the ass?

AVIF on the left. JXL on the right. Contrast turned up here to demonstrate the effect. 10-bit and 90+ quality is used.
>>
>>101560326
I don't know what your meme test shows exactly. All I know is that jpeg xl images above distance 1.0 look like...

COMPLETE

AND TOTAL

FUCKING

DOOOOGSHIT
>>
>>101560351
>I don't know what your meme test shows exactly.
You may want to visit an optometrist.
Hint: Look around her right shoulder
On a good screen, this is visible without manipulation.
>>
>>101560429
Cool inspector gadget, now test again at 150 KB max file size.

Protip: you won't and you're too chickenshit to admit how much jpeg xl bloats file size.
>>
File: goalpost.gif (96 KB, 410x324)
96 KB
96 KB GIF
>>101560444
>>
File: icegif-143.gif (760 KB, 314x312)
760 KB
760 KB GIF
>>101560451
>"NOOOO DON'T TEST FILE SIZES WHERE AVIF EXCELS AT, YOU HAVE TO BLOAT UP THE IMAGES SO THAT JPEG XL WON'T LOOK LIKE A GIANT TURD!"

>"BANDWIDTH? WHAT'S THAT?"
>>
my only gripes with jxl are the frankly terrible load times for animations without hwaccel, and s2png's converted to jxl are larger, but that one's somewhat excusable because it's noisy data and not photographic/vector/artistic/whatever
btw anyone else convert gifs to webp and find that mpv can't play them? my image viewer does it fine, though sometimes it takes a second to load
>>
>>101560480
It's a good thing AVIF is getting hw accel so we can finally replace GIF. That motyerfucker has been a giant throbbing headache for everyone on the planet.
>>
>>101560475
>Noooo who cares about image integrity. Just compress that shit to smithereens and view it on your shitty LCD phone

>32 inch LG OLED? What's that?
>>
>>101560516
why would avif need to be animated, it's already derived from a moving picture format
>>
>>101559233
that's more like an argument for svg
>>
File: 1721872133687.webm (94 KB, 360x270)
94 KB
94 KB WEBM
>>101559207
Ah yes the hourly avif shill thread, how refreshing!
>>
>>101560516
AVIF can't replace GIF, only supersede it. JXL can consistently compress GIF's losslessly, meaning you can reverse them if there is a need for that.
>>
>>101560287
apologies.
>>
>>101560696
99℅ of GIFs are not lossless though.

AVIFs derived from AV1 video however can be lossless.
>>
>>101560979
Are you going to post a 1080p high-quality AVIF to use as a reaction image on a Georgian cave painting forum?
You'd most likely just take something preexisting and irreversably compress it into a tiny AVIF.
The point is that GIF's already exist for their specific use case, and whether or not they come from an originally better source, they need not be degraded any further.
>>
>>101561108
I don't want a 360p render on my 1440p phone, that's extremely silly. 1080p will absolutely be the new "GIF" resolution once 4K displays are everywhere even in phones.
>>
>>101561130
Since when do you view GIF's in full screen? They are as big as they need to be on the page they are seen in.

Heck, most WebM's posted on 4chan are far from 1080p, because they gain nothing from taking up the entire screen.

>But 4K displays
DPI upscaling says hi.
>>
>>101561200
We can't keep catering to the retards using CRT displays forever.
>>
>>101560692
based
>>
>>101561229
Nice scapegoat.
My CRT in the basement can do 2048x1536. Meanwhile, I still see the occasional 1366x768 laptop in use.
>>
>>101559207
while i'm a big fan of 4chan not changing much, i do think it's probably about time we get double size thumbnails, so they look good at higher dpi
some people work around that by preloading all images, but that's obviously incredibly wasteful both on 4chan and the user
>>
are blacks in reencodes still a shit in av1 or was that a skill issue for re-encoders? Downloaded some av1 re-encodes awhile ago and they were not worth downloading
>>
>>101561289
The real solution is to use better formats (lossy WebP/AVIF, for transparency support) and at a higher quality (the current JPEG quality is absolutely trash), then have multiple sizes for different DPIs in a <picture> srcset.
Of course, that would require a few hours of 4chan developer time, so it'll never happen.
>>
>>101561303
>>>/pol/
>>
>>101561315
You really only need Q50 AVIF (default) to cover 90℅ of users, which would be phoneposters. Not really worth catering to 10℅ of users.
>>
>>101561340
10% of the users being unable to view thumbnails would be quite unacceptable for any website. A proper fallback (ideally JPG/PNG, but WebP might be acceptable these days) would be necessary.
>>
>>101561353
I dunno, catering to the 10℅ is why we've been stuck with libjpeg turbo for the past 100 years or so.
>>
>>101561374
You literally have an option to deliver new formats to supported browsers and old ones to those that can't view them.
"New for 90%, nothing for 10%" is not even an option. It's between "new for 90%, old for 10%" and "old for 100%".
>>
>>101561340
why did you use the care of symbol there instead of percent?
>>
>>101561389
Because I enjoy watching you suffer.
>>
>>101561318
you read the first two words and jumped to conclusions, did you?
his post is not even hinting at race
he means blacks as in literal dark colours/scenes, which are in fact a a point of specific concern with video encoding
>>
call me a shill or tell me to buy an ad but AVIF is better in every way (except maybe writing a de/encoder) than jpeg-xl
>>
>>101561318
..?

>>101561409
I KNEEL.
>>
>>101561423
They don't care, if you're not testing jpeg xl above 0.5 BPP then you're an anti-semite who won't donate half of his income to fund mass genocide in gaza.
>>
>>101561423
i can't think of anything avif does better than jxl except perhaps produce more pleasant looking extremely compressed images (even if they're less accurate to the original the jxl)
avif generally performs worse overall at lossy, it performs much worse at lossless, it has limited pixel format support, severe image size limitation (even 4chan's image resolution limit is greater than avif's), jxl has far better generational loss resistance, you can losslessly recompress existing jpeg's, avif has no progressive decoding support, etc, etc
avif is actually pretty shit, honestly, and especially for the purposes of the web
>>
>>101561510
see >>101559681
>>
>>101561521
See https://cloudinary-marketing-res.cloudinary.com/image/upload/v1682076683/CID22.pdf
>>
>>101561521
i said generally, not always
a few hand picked examples where avif does better doesn't make up for all the rest of the features it doesn't have
i couldn't even post a photo from my phone camera without tiling with avif (which can leave edge seams), and you'd have to wait for the whole image to download before you see any of it, and if someone recompresses it, you lose more detail than with jxl. to name a few issues
even if avif was consistently a bit better at lossy compression, it's not enough. avif is a video format still and it really shows
>>
>>101561560
>even if avif was consistently a bit better at lossy

How the FUCK is >>101559681 """""""""a bit better""""""""""

The jpeg xl image literally looks like a smoldering turd.
>>
>>101560475
polished turds is all avif is good at
that is, it can make better looking low quality images, at any level where you actually care to keep details, it can't keep up
it's like the "he-aac" of pictures
>>
>>101561665
see >>101559681
>>
File: rawsource.png (784 KB, 512x1024)
784 KB
784 KB PNG
>>101561303
Yes, this is what happens when encoders are not psychovisually optimized.
What makes JXL good is the encoder, not the codec itself, meaning that AVIF can get a lot better, but JXL probably can't.
libaom is a joke based on Google's libvpx shitware.
>>
>>101561879
see post above you
>>
>>101561879
>What makes JXL good is the encoder, not the codec itself, meaning that AVIF can get a lot better, but JXL probably can't.
Uh
libjxl is actually well known to only implement a subset of JXL features and that there's still quite a lot that can be improved
Also there's a lot more money and dev time going into various AV1 encoders (note that the best current video encoders are proprietary ones, not libaom)
>>
>>101561934
You didn't even see the very post chain you quoted.
>>
>>101561947
Such as? I thought reference encoders were supposed to be feature-complete.
>>
>>101561972
Decoders are supposed to be able to decode the whole formats, but I don't think that anyone claims that encoders are complete. Hell, we are still getting new JPEG encoders with more features 30 years after the format got released.
>>
>>101561987
It's by definition feature-complete if it supports all the codec tools that the decoder can deal with.
This is what libaom is. It can still improve a lot, but it's not in an unfinished state where some part of the spec is neglected.

MozJPEG and the likes are as good as they are because of psychovisual optimiations. Even Google's new thing is based around encoding in XYB, which is a visually optimized color space.
>>
>>101562037
The libjxl doesn't use splines, plus potentially some other features (I'm not an expert on JXL's internal workings). All JPEG encoders but Jpegli round the DCTs into 8-BPC, so 10+ BPC of Jpegli is essentially a new, previously-unimplemented feature. XYB is actually just one of the options in Jpegli and isn't even on by default; the whole encoding and decoding process being in high-resolution floats instead of rounding to 8-bit integers several times is one of the main reasons why it's so good.
>>
>>101562050
Good point about splines, but are they even intended to be used in raster images? It seems more like a quasi-SVG replacement.
>>
>>101562084
I don't know exactly what they're used for, but I'd imagine that it's likely for edges or other such shapes. Maybe the spec talks more about it, but I haven't read it.
>>
File: 740.png (84 KB, 800x600)
84 KB
84 KB PNG
>>101562094
They are used in their demo showcase. This is 740 bytes.

They have a separate tool for these, so you can perhaps also consider that complete.
https://jxl-art.surma.technology/
>>
>>101562121
This is a manually written image, directly using JXL instructions. This does not count as part of any actual raster image encoder and is not feature-complete in any real way.
>>
>>101562133
>This does not count as part of any actual raster image
That's my point. They are seemingly not meant to be.
>>
>>101562168
No, that website isn't a spline drawing app, it's an interface that lets you manually compose instructions for the Modular encoding. Many, but not all, of these are used by libjxl as well.
I think that there are other improvements waiting to be done, not just splines. IIRC, patches and lossy palette were among them?
>>
>>101562191
>that website isn't a spline drawing app
Doesn't need to be. It's not the job of the JXL tools to facilitate raster drawing either. All it needs to do is accept pixel data or spline data and convert them appropriately.

More damning is the description from the documentation.
>Splines: centripetal Catmull-Rom splines can be encoded, with a color and a thickness that can vary along the arclength of the curve. Although the current encoder does not use this bitstream feature yet, we anticipate that it can be useful to complement DCT-encoded data, since thin lines are hard to represent faithfully using the DCT.
So work needs to be done indeed.
>>
>>101559681
The AVIF looks like total complete shit.
Why would anyone use that crap?
>>
I only care about lossless compression. Lossy should be banned except for shit like thumbnails. Which format is best at lossless compression?
>>
>>101563239
JXL. WebP is competitive when you need simple 8-BPC stuff without extra features, but that's mainly due to a more mature encoder and even then JXL beats it most of the time.
>>
>>101563239
The OP image is 36KB in lossless JXL.
>>
>>101563502
And it's 5KB if you don't convert it from a svg to a raster format. It's even smaller if you gzip it.
>>
>>101563239
jxl a good margin
>>
>Add AV1 WebM support
>Post single-frame videos
>You now have AVIF
>>
>>101559207
Who cares? AVIF works in every single browser and major software. JewXL works absolutely nowhere except of fagOS. It's obvious which format will be the future.
>>
>>101564360
>Anonymous 07/25/21
>Who cares? WebP works in every single browser and major software. AVIF works absolutely nowhere except Jewgle Coomium. It's obvious which format will be the future.
>>
>>101564360
how does google's cock taste, anon? chrome's the only thing refusing to support jxl
>>
>>101564470
Bullshit, firefox knows about >>101559681
>>
>>101562940
delusional
>>
>>101564470
JewXL was made by Google
>>
>>101565148
No, they just leased their patents.
https://github.com/libjxl/libjxl/blob/main/PATENTS

The actual developer is a B*lgian socialist.
>>
>>101565428
Just say kike, we're not reddit.
>>
>>101565477
That's doing him a favor.
>>
>>101564360
>AVIF works in every single browser and major software
Yet nobody uses it. Which tells you that it is shit.

AVIF lost against webp, it was unable to dethrone webp for that single compress-as-hard-as-possible use case.
>>
>>101566380
https://ylilauta.org/



[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.