JPEG XL

Info

rules 57
github 35276
reddit 647

JPEG XL

tools 4225
website 1655
adoption 20712
image-compression-forum 0

General chat

welcome 3810
introduce-yourself 291
color 1414
photography 3435
other-codecs 23765
on-topic 24923
off-topic 22701

Voice Channels

General 2147

Archived

bot-spam 4380

coverage

Post links to articles, blog posts, reddit / hackernews / forum posts, media coverage about or related to JXL here!

_wb_
2022-11-17 10:07:41
done
190n
2022-11-17 10:07:56
sweet
Squid Baron
2022-11-17 10:20:00
Scrolling is still absolutely terrible on firefox on desktop
_wb_
2022-11-17 10:20:19
ok i'm getting rid of it
Squid Baron
2022-11-17 10:20:45
arrow keys don't work and you have to scroll *a lot* to actually move down
_wb_
2022-11-17 10:22:38
on MacOS chrome/firefox/safari and Android chrome it worked quite well for me, but I'll remove it if it causes trouble in other environments
2022-11-17 10:22:50
please refresh, should be better now
Squid Baron
2022-11-17 10:23:06
it is indeed better now.
_wb_
2022-11-17 10:26:01
I'm curious: who is viewing the page in dark mode and who is viewing it in light mode?
lonjil
2022-11-17 10:27:44
I in dark mode
_wb_
2022-11-17 10:28:21
also: would be good if there were some other comments on hackernews than about the scrolling behavior 😉
afed
2022-11-17 10:33:29
maybe add other software without logos as a text cloud and link to the github list, because visually there seems to be very little support
improver
2022-11-17 11:15:22
normal scroll the comfiest
_wb_
afed maybe add other software without logos as a text cloud and link to the github list, because visually there seems to be very little support
2022-11-17 11:19:22
something like this?
afed
2022-11-17 11:21:16
yeah
improver
2022-11-17 11:26:21
tachiyomi has logo tho https://twitter.com/tachiyomiorg
_wb_
2022-11-17 11:27:42
how popular/notable is it? I think it's better to keep the logos for the more widely known stuff
improver
2022-11-17 11:28:08
yeah i can agree to that, fair
_wb_
2022-11-17 11:28:38
also things that can produce jxl, rather than only decode
2022-11-17 11:29:05
(well except browsers of course, those are notable enough to add with a logo even though they decode only)
improver
2022-11-17 11:30:06
id include infanview too as its somewhat notable
nicosemp
2022-11-18 01:37:49
would it also help to mention all the big companies who mentioned interest on the Chromium bug, and are waiting browsers' support to implement JXL?
2022-11-18 01:38:41
some of them already started working on it (Adobe)
_wb_
2022-11-18 02:27:42
I got that logo from wikipedia. I think it is fair use to use it in that way
2022-11-18 02:29:01
They can send a cease and desist if they don't like it. I think the main concern is if people try to claim their product is related to their products when it isn't actually
daniilmaks
2022-11-18 02:42:21
apparently it's public domain so I wouldn't sweat it.
improver
2022-11-18 05:19:49
copyright and trademark are different law branches
2022-11-18 05:20:16
but it's probably safe here
_wb_
2022-11-18 08:29:50
https://twitter.com/DrQueuecumber/status/1593692421497319424?t=chaABtFVsqBtQhOal5svZg&s=19
2022-11-18 08:30:25
Research scientist at NVIDIA is ranting about jxl/chrome
Demiurge
2022-11-18 11:04:41
does it actually help Google's revenue to promote AVIF over JXL?
2022-11-18 11:05:31
I mean they are both free and JXL can save bandwidth if they have some sort of responsive decoder
improver
2022-11-18 11:06:38
if jxl wins then usage of avif will likely be hit and thatll supposedly reduce their AV1 leverage over other players in the field
2022-11-18 11:06:43
or something like that
Demiurge
2022-11-18 11:06:45
If the browser is smart enough to only partially download images depending on desired resolution I mean, for example
2022-11-18 11:07:46
What sort of leverage is there, I mean it's a free format for video meant for everyone to freely use without caring about "rights" and "licensing"
improver
2022-11-18 11:08:19
these licenses are full of backdoor conditions
2022-11-18 11:09:44
which may make other players avoid doing lawsuits using patents they supposedly hold
2022-11-18 11:11:39
its kinda political play and whether it makes sense or not for you is irrelevant as long as it makes sense for people who are more up in management to block jxl
2022-11-18 11:13:15
id say avif's/av1's teeth there are kinda oversold anyway but that's to be expected from its authors
2022-11-18 11:13:25
hence conflict of interest argument
Traneptora
Demiurge does it actually help Google's revenue to promote AVIF over JXL?
2022-11-18 11:14:50
in practice, no
2022-11-18 11:16:00
people have this fallacy that AVIF's success requires JXL's failure and that AV1's success is dependent on AVIF's success both of these ideas are false but it still drives a lot of people who make decisions and have a big hand in AVIF
2022-11-18 11:16:35
keep in mind that the person making the decision is not doing so in the best interest of google's bottom line. nobody makes decisions like that except people in top-level management
Demiurge
2022-11-18 11:19:21
Honestly AVIF is kinda dumb, it's just a mp4 video file with 1 frame, and animated is multiple frames, why do we need a whole new separate format for that...
Traneptora
2022-11-18 11:19:41
because you can't put videos in `<img>` tags
Demiurge
2022-11-18 11:19:49
I mean I understand that AV1 and JXL are not competitors at all
2022-11-18 11:20:44
But why does AVIF even need to exist at all when there are already web supported formats encapsulating av1 data
Traneptora
2022-11-18 11:21:16
I mean AVIF is essentially just that but written down
Demiurge
2022-11-18 11:21:19
and for multi frame animations we have <video> and loop=1
Traneptora
2022-11-18 11:21:22
in a reproducible way
2022-11-18 11:22:02
by standardizing it as an image format you can basically take already-existing technology and make it fully specified
Demiurge
2022-11-18 11:22:04
I think that's why firefox said they will not support animated avif because it's just incredibly redundant
Traneptora
2022-11-18 11:22:21
animated images themselves are sort of silly
2022-11-18 11:22:37
websites mostly use H.264 for that
Demiurge
2022-11-18 11:23:13
I like animated images but why create a new format that is barely different from already existing formats
2022-11-18 11:23:26
that are already standardized and specified and supported
Traneptora
2022-11-18 11:23:51
because it esentially is just that, it's just a combination of already existing technologies but fully specified
2022-11-18 11:24:08
it prevents differing implementations of the same combination and increases interoperability
2022-11-18 11:24:40
basically all AVIF is is that someone said "okay so we all want to put an AV1 keyframe in an mp4 container, right? Here's how you do it." and prevented fragmentation
Demiurge
2022-11-18 11:24:56
Yeah but other formats are already fully specified and fully supported... AVIF does not need to exist as far as I can see and webp especially was stupid from the beginning and I'm surprised it was ever taken seriously
Traneptora
2022-11-18 11:25:15
>other formats were already fully specified and fully supported
2022-11-18 11:25:27
av1 I-frames were not fully specified and fully supported and used as images
Demiurge
2022-11-18 11:25:34
Yes other av1 encapsulating formats
Traneptora
2022-11-18 11:25:43
what happens when you don't make an explicit image format is that nobody can use it
2022-11-18 11:25:51
there's a reason FFV1 is not an image format
2022-11-18 11:25:59
despite being a lossless intra-only codec
2022-11-18 11:26:12
because there's no specification on how to encapsulate it as an image
Demiurge
2022-11-18 11:26:34
I mean there's nothing stopping someone from distributing single-frame ffv1 files
Traneptora
2022-11-18 11:26:42
the thing stopping it is that nobody can read them
Demiurge
2022-11-18 11:26:59
Anyone that can decode multi frame files can decode single frame files too...
Traneptora
2022-11-18 11:27:17
sure, but there's no consitently written down way to deliver these
Demiurge
2022-11-18 11:27:21
It's the same thing, nothing changes based on how many frames there are
Traneptora
2022-11-18 11:27:29
in the real world you don't control the whole chain of flow
2022-11-18 11:27:41
if you control the delivery and presentation, sure, you can do that
2022-11-18 11:28:04
but you don't always control them both, so you need someone to write down standard interoperability
2022-11-18 11:28:17
AVIF is just a description of that standard interoperability
Demiurge
2022-11-18 11:28:33
You can deliver it the same way you can always deliver ffv1. Either raw or probably in a matroska container. Extension mki I think is the convention for single frame
Traneptora
2022-11-18 11:29:07
you're just arguing that something is theoretically possible technologically
2022-11-18 11:29:09
which is true
2022-11-18 11:29:19
but the problem is you need people to *agree on that standard*
Demiurge
2022-11-18 11:29:41
I'm just saying that anything with the capability to decode and display multiple frames already knows how to decode and display one frame
Traneptora
2022-11-18 11:30:02
actually no because video is often decoded in hardware
2022-11-18 11:30:08
which is completely impractical for many images
2022-11-18 11:30:27
and you need people to agree on *which container* and *which restrictions*
2022-11-18 11:31:07
implementing all of matroska so you can decode ffv1-single-frame-inside-matroska is not useful you need a restricted subset of matroska which is all that is required to implement ffv1-as-image
Demiurge
2022-11-18 11:31:13
But yeah I get that it makes sense to standardize how to distinguish an image from a video and what is the bare minimum requirements to "support" a certain profile
Traneptora
2022-11-18 11:31:37
AVIF isn't just AV1+MP4, it's specific list of what needs to be supported among those two in order to support AVIF fully.
2022-11-18 11:31:42
which is a strict subset.
2022-11-18 11:32:21
You're thinking from the perspective of someone who just decodes everything with FFmpeg, not someone who is a vendor trying to deal with minimal necessary-to-implement subsets
Demiurge
2022-11-18 11:32:53
AV1 is often in matroska anyways so I'm surprised they didn't go with that instead of quicktime
improver
2022-11-18 11:35:14
they went with whatever HEIF used
lonjil
2022-11-19 12:00:02
Web browsers should just allow webm / mp4 in img tags
Quikee
improver they went with whatever HEIF used
2022-11-19 01:23:34
HEIF is the name of the container - HEIC is HEIF with h.265 I-frame and AVIF is HEIF with AV1
improver
2022-11-19 01:30:14
is AVIF's HEIF use the same as HEIC's, though?
2022-11-19 01:30:57
i had an impression that AVIF defined some of their own stuff
2022-11-19 01:32:54
and i was just explaining in broad strokes the use of mp4 as base as opposed to matroska
lonjil
2022-11-19 01:37:46
isn't HEIF covered by patents seems counter to an open internet smh
Quikee
improver is AVIF's HEIF use the same as HEIC's, though?
2022-11-19 01:41:29
AFAIK they didn't want to deviate from HEIF so that everyone that already uses HEIC (Apple) can just use AVIF but only change the video codec (HEIF was specified to be codec agnostic).
improver
2022-11-19 01:42:30
but at least from my reading they did introduce some features not present in HEIF unless im misremembering
2022-11-19 01:43:32
for me it kinda feels like they still forked the format even though the way its done is backwards compatible
Quikee
lonjil isn't HEIF covered by patents seems counter to an open internet smh
2022-11-19 01:45:20
HEIF itself isn't covered by patents, just like MP4 container isn't (only Apple had patents but they put that out to free use when MP4 was standardised). The problem with patents is only because of use of h.265 in HEIC.
improver
2022-11-19 01:46:17
didn't nokia have some patents actually touching format itself
2022-11-19 01:46:34
i mean the container
2022-11-19 01:47:14
i see
Demiurge
lonjil Web browsers should just allow webm / mp4 in img tags
2022-11-19 03:06:37
<:This:805404376658739230>
_wb_
2022-11-19 09:18:32
I wonder if we should make https://jpegxl.info/why-jxl.html the landing page of jpegxl.info and move the current https://jpegxl.info/ to a "more info" second page
diskorduser
2022-11-19 10:57:07
Yes
afed
2022-11-19 11:15:38
i guess it would be better to just make a very noticeable link to "why-jxl" from the main page, since the current one is more compact, informative and useful
diskorduser
2022-11-19 02:13:36
No. when people visit the site from google search results, it is better than show them what is a jxl format and it's advantages. for that purpose, why-jxl seems to be better landing page.
fab
2022-11-19 02:28:48
diskorduser
2022-11-19 02:28:59
the f----
fab
2022-11-19 02:29:01
on non full hd screens this page looks ugly
diskorduser
2022-11-19 02:30:45
may be change the font?
fab
2022-11-19 02:30:53
this bad design isn't acceptable in 2023
diskorduser
2022-11-19 02:31:30
why is that a bad design?
fab
2022-11-19 02:32:27
it looks like pre pandemic, like when people eated white nutella
diskorduser
2022-11-19 02:33:07
Can you show examples for good design?
fab
2022-11-19 02:35:31
tik tok
2022-11-19 02:36:13
Try to submit a pull request
2022-11-19 02:44:39
fanpage.it and twitter also improved a lot their design
2022-11-19 02:44:41
is not bad
_wb_
fab on non full hd screens this page looks ugly
2022-11-19 02:45:23
Does it? I thought I made it work well with various screen sizes...
fab
2022-11-19 02:45:55
it looks like a 2k pre pandemic site
2022-11-19 02:46:37
http://mimmocavallarofanclub.blogspot.com/2011/09/ohi-peppinella.html
_wb_
2022-11-19 02:46:41
I don't know what you mean
fab
2022-11-19 02:46:44
use at least this pt on text
_wb_ I don't know what you mean
2022-11-19 02:47:16
is it made with github?
2022-11-19 02:49:02
2022-11-19 02:49:08
iused this to read
2022-11-19 02:49:36
this font has ligatures so it not bad
2022-11-19 02:51:17
2022-11-19 02:51:32
apparently is an issue with my font rendering
2022-11-19 02:51:36
look at the J
2022-11-19 02:53:37
fab
2022-11-19 02:54:02
this is way better,
2022-11-19 03:02:01
2022-11-19 03:02:46
in my opinion you should use a jpg xyb at this quality
2022-11-19 03:03:18
2022-11-19 03:03:19
here's original
_wb_
2022-11-19 03:05:18
That's an image with alpha, jpeg does not support that
fab
2022-11-19 03:06:06
or you do pingo -webp-palette=86.4 -nopre -s6 C:\Users\Use\Documents\s.png C:\Users\Use\Documents\e.webp
2022-11-19 03:06:11
when new pingo is out
2022-11-19 03:06:20
but you don't want webp
2022-11-19 03:06:28
you want jxl
2022-11-19 03:09:10
in my opinion you should force muli font at 52 px
2022-11-19 03:10:46
Or download muli v 2.0 from GitHub
2022-11-19 03:15:33
or make a 810x577 rectangle at start of the page
2022-11-19 03:22:52
I also optimized image
2022-11-19 03:23:10
pingo -pngpalette=31.87 C:\Users\Use\Documents\s.png C:\Users\Use\Documents\eas.png
2022-11-19 03:23:17
_wb_
2022-11-20 06:15:28
https://twitter.com/scofrona/status/1594375052828737536?t=QQSYyOXAbhWvHHZSs9QaUQ&s=19 people are getting angry...
Demez
2022-11-20 07:28:20
lol
32 Bit Link
fab it looks like pre pandemic, like when people eated white nutella
2022-11-22 02:51:40
what is white nutella? <:Thonk:805904896879493180>
2022-11-22 02:51:50
woah
WAZAAAAA
32 Bit Link woah
2022-11-22 06:31:29
how do i delete someone else's post?
Jim
WAZAAAAA how do i delete someone else's post?
2022-11-22 07:03:26
Right click and choose *report* <:kekw:808717074305122316> <:BanHammer:805396864639565834>
fab
32 Bit Link what is white nutella? <:Thonk:805904896879493180>
2022-11-22 07:29:39
Is a meme children never eated it and also Nutella doesn't sell it. But Lidl
2022-11-22 07:30:02
A "German" supermarket
2022-11-22 07:30:13
Lidl isn't even a supermarket
Kingproone
fab Is a meme children never eated it and also Nutella doesn't sell it. But Lidl
2022-11-22 09:13:10
"eated" is wrong, "ate" is the past tense for eat
fab
Kingproone "eated" is wrong, "ate" is the past tense for eat
2022-11-22 09:14:39
Never heard ate in my life from noone
2022-11-22 09:15:07
It could be that you're wrong
_wb_
2022-11-22 09:26:37
https://www.reddit.com/r/Android/comments/z11ofm/add_to_android_support_of_jpeg_xl_3x_smaller_than/
daniilmaks
fab Never heard ate in my life from noone
2022-11-23 12:00:35
if you never heard english irl that's a really low bar.
spider-mario
fab It could be that you're wrong
2022-11-23 12:05:11
https://en.wiktionary.org/wiki/eat#English > **eat** (_third-person singular simple present_ **eats**, _present participle_ **eating**, _simple past_ **ate** _or (dialectal)_ **et** _or (obsolete)_ **eat**, _past participle_ **eaten** _or (dialectal)_ **etten**)
_wb_ https://www.reddit.com/r/Android/comments/z11ofm/add_to_android_support_of_jpeg_xl_3x_smaller_than/
2022-11-23 12:07:15
top comment: > Last time I checked, JPEG XL just isn't getting the same support compared to its rivals (e.g AVIF) I mean, that’s kind of the point of the feature request
fab
spider-mario top comment: > Last time I checked, JPEG XL just isn't getting the same support compared to its rivals (e.g AVIF) I mean, that’s kind of the point of the feature request
2022-11-23 12:22:53
Has someone used JPEG XL for Windows 7 screenshots?
Jim
2022-11-26 06:01:41
https://twitter.com/DrQueuecumber/status/1596513077658517504
2022-11-26 06:02:05
Surprising seeing Nvidia going all-out. I didn't think they were that big of a supporter.
_wb_
2022-11-26 06:03:41
Well this is just personal opinion of one person who happens to work at nvidia
2022-11-30 08:21:52
lol, random people on the internet say funny things: > i already got .jpg_large forever ago is this just that but newer
2022-11-30 08:22:28
(from https://www.tumblr.com/mffrueh/702331929159172096/koito-yuu-hello-tumblr-users-do-you-hate-webp)
Fox Wizard
2022-11-30 10:36:27
It's Tumblr, what do you expect? <:KekDog:805390049033191445>
Demiurge
2022-12-01 03:03:59
I hate webp
uis
2022-12-01 10:21:19
I don't
daniilmaks
2022-12-01 01:04:25
webp was rushed into the web before it was agreed that it would be an improvement over jpeg (it was not)
2022-12-01 01:05:35
and now its another brick in the wall of web formats proliferation
Traneptora
2022-12-01 03:26:13
webp lossless is cool tho ig
2022-12-01 03:26:31
lossy webp is kinda useless tho
PhilH
2022-12-01 03:26:35
My 2cts: If Flash can be deprecated, why can't webp?
Traneptora
2022-12-01 03:27:02
because flash requires a third party plugin
2022-12-01 03:27:11
like java applets
yurume
2022-12-01 03:27:26
I do think webp was better than *less optimized* jpeg, which was a frequent thing in the past and even today to some degrees
2022-12-01 03:27:52
you can't reasonably expect that every jpeg is encoded with mozjpeg 😉
PhilH
Traneptora because flash requires a third party plugin
2022-12-01 03:33:32
don't really see how that's relevant. Back then, many large websites and even more smaller ones required it even for basic things like site navigation. There are books on how to build websites in flash. It took seemingly forever for it to die but eventually it did drop out of browsers. If we start discouraging webp now we can have it gone in about 10 years (optimistic estimate).
2022-12-01 03:34:10
But I'm going offtopic with this.
yurume
2022-12-01 03:35:00
let's go to <#806898911091753051> , cause I think it's an interesting topic by its own
Demiurge
2022-12-01 06:17:56
Yeah it's too bad that so much software is compiled with jpegturbo rather than mozjpeg
2022-12-01 06:18:27
Even when the 3 milliseconds saved doesn't matter
2022-12-01 06:18:52
In most cases quality is more important than throughput, unless you are encoding mjpeg video
_wb_
2022-12-01 08:30:46
https://twitter.com/GoogleOSS/status/1598406590117412879?t=8Vm0oVqSiV6BnbSAWwReAg&s=19
2022-12-01 08:47:48
Google as a company is sending some mixed signals lately 🙂
afed
2022-12-01 09:05:08
not surprisingly `By Moritz Firsching, Junfeng He, and Zoltan Szabadka – Google Research` but interesting: <https://google.github.io/attention-center/>
sklwmp
_wb_ https://twitter.com/GoogleOSS/status/1598406590117412879?t=8Vm0oVqSiV6BnbSAWwReAg&s=19
2022-12-01 11:31:45
there is not enough ecosystem interest, but Google keeps experimenting with JPEG XL? whut i mean, even if: (1) this research was conducted months ago and is only released now (quite likely), and (2) google open source isn't particularly important and/or connected to chromium team (even if technically they are connected, since chromium is open source) this is still really weird...
yurume
sklwmp there is not enough ecosystem interest, but Google keeps experimenting with JPEG XL? whut i mean, even if: (1) this research was conducted months ago and is only released now (quite likely), and (2) google open source isn't particularly important and/or connected to chromium team (even if technically they are connected, since chromium is open source) this is still really weird...
2022-12-01 11:37:37
the answer here is simple: different teams 😉
sklwmp
2022-12-01 11:37:47
right
2022-12-01 11:38:06
thanks 😅
Squid Baron
2022-12-02 12:03:39
yeah, it's just individuals within google playing office politics
pshufb
2022-12-02 12:03:54
probably not even that
Squid Baron
2022-12-02 12:03:57
there's no evidence that the upper management cares or is even aware of the JPEG XL vs AVIF issue
afed
2022-12-02 01:16:56
yeah, would be good to have a wasm decoder in this demo as well (or maybe it doesn't support progressive yet?)
Demiurge
2022-12-02 02:17:47
correct me if I'm wrong but wasn't the decision to axe JXL from chromium made unilaterally by a single random AVIF dude at Google?
yurume
2022-12-02 02:25:23
unknown.
2022-12-02 02:25:54
it can be said that the decision is confined within Chrome team, but otherwise not much is known publicly
daniilmaks
_wb_ https://twitter.com/GoogleOSS/status/1598406590117412879?t=8Vm0oVqSiV6BnbSAWwReAg&s=19
2022-12-02 02:43:06
is it possible to losslessly reorder the chunks of a progressive jxl?
yurume
2022-12-02 02:45:42
to some extent, yes.
2022-12-02 02:46:51
there is no single defined progressive method in JPEG XL and each image can differently split (and reorder) chunks, so you can't split or merge them freely, but you can reorder them freely
_wb_
2022-12-02 06:08:08
In principle you could get all the vardct coeffs and losslessly re-encode them in arbitrary order and with more or less passes
2022-12-02 06:13:39
Currently we don't even use passes yet, just the minimum two (1:8 and then 1:1). The saliency guidance just changes the order in which the 1:1 pass is done (by applying a TOC permutation). Main advantage of this approach is that every pixel is only rendered at most twice, so the compute overhead is minimal (compared e.g. to libjpeg/mozjpeg progression which uses 10 passes or so)
2022-12-02 09:46:38
https://www.theregister.com/2022/12/02/ml_attention_center_model_freed/
2022-12-02 11:14:22
https://www.reddit.com/r/programming/comments/zas3pa/google_frees_nifty_ml_imagecompression_model_but/
Demez
Demiurge Yeah it's too bad that so much software is compiled with jpegturbo rather than mozjpeg
2022-12-03 12:06:14
i mean, im using jpeg turbo in my image viewer for the decoding speed, just with the assumption that mozjpeg would just be slower with decoding speed
2022-12-03 12:07:01
not like i ever need to write a new jpeg with it lol
Traneptora
Demez i mean, im using jpeg turbo in my image viewer for the decoding speed, just with the assumption that mozjpeg would just be slower with decoding speed
2022-12-03 05:40:54
mozjpeg and turbojpeg are the same on the decode side
2022-12-03 05:41:06
mozjpeg is specifically an encoder
Demez
2022-12-03 06:32:51
i see
Demiurge
2022-12-03 12:44:16
Are you sure about that?
2022-12-03 12:45:52
I think you might be wrong.
2022-12-03 12:46:15
Pretty sure mozjpeg has slightly better quality decoding as well.
_wb_
2022-12-03 12:49:43
Maybe it has different defaults, but I don't think the mozjpeg decoder is really different from the libjpeg-turbo one
2022-12-03 12:50:28
Both have some options regarding which iDCT implementation to use and how to do chroma upsampling, so there could be a difference in defaults there
Demiurge
2022-12-03 12:51:07
I doubt that the couple of milliseconds you save by using turbo, are worth not being able to see your image properly. Especially if you are encoding. Encoding only needs to be done one time, and if you do it badly, you will suffer the results forever.
2022-12-03 12:52:11
It should be a federal crime to use turbo for encoding instead of mozjpeg
Traneptora
2022-12-06 11:05:28
the primary advantage of turbojpeg over mozjpeg is for large servers that encode many jpegs from user-generated content
2022-12-06 11:05:47
e.g. twitter saves a lot of server cpu cycles by using turbojpeg to encode pictures uploaded by their users
2022-12-06 11:06:14
for an end user there isn't really any advantage, as the speed difference won't be noticeable
fab
2022-12-07 07:46:37
I report the chinese translation
2022-12-07 07:46:40
https://zh-m-wikipedia-org.translate.goog/zh-cn/JPEG_XL?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=it&_x_tr_pto=wapp
2022-12-07 07:46:48
Is translated from English
2022-12-07 07:46:56
All the 63 citations
2022-12-07 07:47:10
It doesn't include any of my Italians errors
2022-12-07 07:47:22
Jon errors were corrected
2022-12-07 07:47:41
But my italian was not strong enough so error remained
2022-12-07 07:47:53
I plan to port this to English
2022-12-07 07:47:59
With help of someone
2022-12-07 07:48:15
And then translate to italian the new version
diskorduser
2022-12-07 09:45:21
What the heeee are you doing. Why are you translating to chinese.
fab
diskorduser What the heeee are you doing. Why are you translating to chinese.
2022-12-07 10:58:31
No it's David koung who did
_wb_
2022-12-08 08:22:58
I started drafting a response blog post to give some constructive feedback on the codec comparison the avif team did.
2022-12-08 08:23:49
No idea how soon we'll be able to get it out, might take some time
monad
2022-12-09 08:01:11
You mean a couple of weeks.
_wb_
2022-12-10 09:47:19
I'm done writing the article, it's over 3k words and I think it will be a good contribution to the discussion. Still needs to be approved and prepared for publication, and it's weekend now so it will take some time. I hope it can get out next week though.
Jarek
2022-12-10 03:35:34
https://news.ycombinator.com/item?id=33933208 JPEG XL support has officially been removed from Chromium
sklwmp
2022-12-10 03:42:26
https://www.phoronix.com/news/Chrome-Drops-JPEG-XL
2022-12-11 04:15:03
https://www.reddit.com/r/programming/comments/zi66jj/google_chromechromium_goes_ahead_in_removing/
_wb_
2022-12-13 11:17:30
My blogpost "Contemplating Codec Comparisons" will likely get published later today or maybe tomorrow.
Deleted User
2022-12-13 01:24:44
Sadly there is no discussion, seems only large media coverage could change this decisions - reaching journalists, influential people
_wb_
2022-12-13 02:02:03
I think my blog post will be the first one to comment on the AVIF team's codec comparison that was the basis for Chrome's decision. I hope there will be others commenting on it too.
2022-12-13 02:06:12
We have to avoid getting cynical. I still assume that Chrome looked at the AVIF team's data and concluded that JXL is not worth keeping — which is not the right conclusion if you correctly interpret the data, but if you look at the data the way the AVIF team presented it, it's an easy mistake to make.
2022-12-13 02:19:04
I doubt it. They didn't consult with the "JXL team" within Google about it, as far as I know, and I don't think they consulted with independent experts. I might be wrong of course.
Quikee
2022-12-13 02:48:53
has someone sent any feedback to their avif-feedback@googlegroups.com email?
_wb_
2022-12-13 02:52:53
Once my post is published, I will email them a link 🙂
Jim
2022-12-13 02:53:44
I've seen a few people on Twitter say they emailed and have not gotten any reply.
_wb_
2022-12-13 02:56:25
It might take a couple of weeks to get a reply 😅
Jim
2022-12-13 02:57:21
Personally, I don't think anything is going to "sway" them right now. It appeared political from the start. Even Mozilla has accused them of politics with other parts of the web, so it's not surprising. I think the best thing to do right now is keep working on it and retry in a year. Some of the people that are there now likely won't be and hopefully there will be fewer "yes-men" and others will start to provide actual constructive criticism from within.
paperboyo
2022-12-13 06:38:18
> Anyone who's already tried the Output HDR feature in ACR 15.0 will have found themselves limited to JPEG XL as an output format, ironically just as Google announced it will be removing preliminary support for it from its Chrome Browser. However, v15.1 also adds support for Google's preferred AVIF format, which can only be good for compatibility. _via_ https://www.dpreview.com/articles/7584045384/adobe-demos-true-hdr-support-in-adobe-camera-raw-giving-a-glimpse-of-photography-s-bright-future
_wb_
2022-12-13 06:41:27
Good. Just support both. Now if only all software would just support both 🙂
Jim
2022-12-13 08:41:54
https://youtu.be/Jyk87VVfh9s
_wb_
2022-12-14 06:16:12
My blogpost is scheduled to go live at 7 am US west coast time (4 pm European time).
yurume
2022-12-14 06:47:44
that'd be <t:1671030000:f> (about 8 hours later)
Quikee
2022-12-14 07:21:47
Yes, I'm also deeply disappointed I will also have to wait until tomorrow the read the blog post 🙂
_wb_
2022-12-14 08:08:14
as a sneak preview: this is the conclusion: > The AVIF team provided a good starting point for doing a data-driven comparison of image formats that can help to clarify the desirability of adding new formats to the web platform. The compression results obtained by the AVIF team do confirm the results we obtained through subjective experiments and our own evaluations based on objective metrics. According to the subset1 results, the encoding speed of JPEG XL s6 is similar to that of AVIF s7 and at these settings, 9 out of the 13 metrics favor JPEG XL. Roughly speaking, at ‘web quality’, according to the best available metric, AVIF gives a compression gain of about 15% over mozjpeg (or more at the very low end of the quality spectrum), and JPEG XL gives a compression gain of about 15% over AVIF (except at the very low end of the quality spectrum). These are the results obtained by the AVIF team, and they do show the value of JPEG XL. > > In this contribution, I hope to have made some constructive suggestions on how to further improve the comparison methodology, and on how to interpret the results in the most meaningful way. Through constructive dialogue, we can together make progress on our shared goals: making the web faster, improving the user experience, and promoting royalty-free codecs!
2022-12-14 08:09:12
(there are links in the above text to some of the plots like https://storage.googleapis.com/avif-comparison/images/subset1/rateplots/subset1_avif-jxl_t-1_avif-s7_jxl-s6_ssimulacra2__bpp-0.1-3.0.png but those got lost in the copy/paste)
2022-12-14 08:13:09
another snippet from the blogpost: > In short, AVIF performs well at qualities that are too low to be useful in practice. Including these very-low-quality ranges skews the aggregate results in AVIF’s favor. A more useful comparison would focus on useful quality ranges.
Jim
2022-12-14 11:22:36
Summary: AVIF (speaking on behalf of the Chromium team for reasons unknown), proved that JXL is a better format as it was being removed. <:kekw:808717074305122316>
novomesk
_wb_ (there are links in the above text to some of the plots like https://storage.googleapis.com/avif-comparison/images/subset1/rateplots/subset1_avif-jxl_t-1_avif-s7_jxl-s6_ssimulacra2__bpp-0.1-3.0.png but those got lost in the copy/paste)
2022-12-14 01:51:23
This is comparison is at similar encoding speeds. I am curious how it would look like when defaults are used for each encoder (7 instead of 6 for libjxl and 6 instead of 7 for libavif+libaom). libjxl will be faster to encode but difference in compression probably smaller. Encoding speeds change over time as both encoders get improved. So diagram which is OK today could be obsolete in future after few new releases.
_wb_
2022-12-14 01:52:48
libjxl e7 is slower than e6, libaom s6 is slower than s7
2022-12-14 01:56:33
and yes, things do keep evolving, both libjxl and libaom are still getting better/faster
2022-12-14 01:58:11
(that plot is already obsolete now btw, the current git libjxl no longer has those discontinuities at ~0.55 bpp and at ~1 bpp, the current ssimulacra2 curve would look better)
2022-12-14 02:02:41
we will never know what the full potential of any codec is — all we can do is look at the performance of encoders that are available. Both avif and jxl are very expressive bitstreams so there is likely significant room for encoder improvement in both. The jxl bitstream is more expressive/flexible than the avif/av1 one though, imo, and av1 encoders have been around for longer and have received more dev effort already than the one jxl encoder, so I think there's more room for future encoder improvements in jxl than in avif.
2022-12-14 02:03:34
https://cloudinary.com/blog/contemplating-codec-comparisons
2022-12-14 02:03:37
ooh it went live already!
Quikee
2022-12-14 02:07:20
so it wasn't released (my) tomorrow afterall 🙂
_wb_
2022-12-14 02:10:02
Jim
2022-12-14 02:20:57
Was this still done with AVIF using 2 threads and JXL using 1? https://res.cloudinary.com/cloudinary-marketing/images/f_auto,q_auto/v1670951715/Jpegxl7/Jpegxl7-png?_i=AA
_wb_
2022-12-14 02:33:56
this was done by doing 100 image decodes and counting the total time, so it doesn't really matter how many threads the browser uses per image
2022-12-14 02:35:12
it shows that decode speed itself is basically the same — but then it goes on to explain how streaming decode and progressive rendering do actually make a difference
afed
2022-12-14 02:41:33
there was also no mention that alpha was stripped for noto-emoji? https://discord.com/channels/794206087879852103/803574970180829194/1048280382128259142
_wb_
2022-12-14 03:09:27
even with alpha preserved it would not be a very relevant test set for lossy compression
Squid Baron
2022-12-14 04:01:28
on a second thought, I removed the link to HN, because it isn't on the front page yet and HN may have some kind of brigading protection
joppuyo
2022-12-14 04:29:40
I think the blog post is very well argued. tbh anything is better than saying "we looked at the numbers and thought AVIF is better" and then weeks later dumping a bunch of numbers without any sort of analysis to go along with it
2022-12-14 04:30:31
the only thing I don't understand is this table. maybe it's because of I'm not familiar with the correlation metrics? I'm gonna presume that closer to one means better but why are some of the numbers negative?
yoochan
2022-12-14 04:53:07
I followed the link in the article and my decode times on firefox (nightly 110.0a1 (2022-12-14) (64-bit)) are even more in favor of jpegxl (did the experiment more than once, numbers varies but orders of magnitude are the same)
2022-12-14 04:53:14
`s.jpg: Decode speed: 161.42 MP/s | Fetch: 2.00ms | 100 decodes: 203.00ms s.jpg.jxl: Decode speed: 56.99 MP/s | Fetch: 2.00ms | 100 decodes: 575.00ms s.jxl: Decode speed: 33.30 MP/s | Fetch: 2.00ms | 100 decodes: 984.00ms s-fd1.jxl: Decode speed: 36.41 MP/s | Fetch: 2.00ms | 100 decodes: 900.00ms s-fd2.jxl: Decode speed: 37.19 MP/s | Fetch: 2.00ms | 100 decodes: 881.00ms s-fd3.jxl: Decode speed: 41.06 MP/s | Fetch: 2.00ms | 100 decodes: 798.00ms s8.avif: Decode speed: 26.32 MP/s | Fetch: 2.00ms | 100 decodes: 1245.00ms s10.avif: Decode speed: 23.80 MP/s | Fetch: 2.00ms | 100 decodes: 1377.00ms s12.avif: Decode speed: 21.54 MP/s | Fetch: 3.00ms | 100 decodes: 1521.00ms s2.webp: Decode speed: 71.70 MP/s | Fetch: 55.00ms | 100 decodes: 457.00ms`
_wb_
2022-12-14 05:03:34
yeah, I get the same thing, but then again the numbers are just lower for both jxl and avif on firefox than on chrome, which I think may be caused by firefox using older versions of libjxl and dav1d...
joppuyo the only thing I don't understand is this table. maybe it's because of I'm not familiar with the correlation metrics? I'm gonna presume that closer to one means better but why are some of the numbers negative?
2022-12-14 05:04:32
You can basically ignore the sign, higher absolute value means higher correlation with MOS so a "better" metric.
2022-12-14 05:05:29
The sign is just because some metrics are "higher value is better" (like VMAF and SSIMULACRA 2) while other metrics are "higher value is worse" (like DSSIM and Butteraugli).
2022-12-14 05:06:14
(the MOS scores we have are of the "higher value is better" type, so metrics that are also like that will get a positive sign)
Peter Samuels
2022-12-14 05:10:59
Why does JPEG XL category on Cloudinary blog have a hyphen?
yoochan
joppuyo the only thing I don't understand is this table. maybe it's because of I'm not familiar with the correlation metrics? I'm gonna presume that closer to one means better but why are some of the numbers negative?
2022-12-14 05:11:29
had to read this part twice too 😄 "absolute correlation" could have been less ambiguous
_wb_
2022-12-14 05:15:10
the table is sorting the metrics from worst to best, the exact numbers are just for statistic geeks and to show that it is not just my gut feeling that says PSNR and SSIM are no good, there's science that can be done here 🙂
afed
2022-12-14 05:16:51
does butteraugli 6-norm have a better correlation or not much different?
_wb_
Peter Samuels Why does JPEG XL category on Cloudinary blog have a hyphen?
2022-12-14 05:16:59
I'll report it 🙂
afed does butteraugli 6-norm have a better correlation or not much different?
2022-12-14 05:22:42
There is not that much difference, IIRC 2-norm had slightly better overall correlation on our data, but likely somewhat higher norms are slightly better at the higher end. Note that the 3-norm is actually already a mixture of 3, 6 and 12-norm, or something like that. Max-norm ("butteraugli" without qualifiers in the table) is too strict to be useful as a perceptual metric across a larger range of fidelities — it will punish the whole image for one bad pixel, which or may not be a semantically important one.
Peter Samuels Why does JPEG XL category on Cloudinary blog have a hyphen?
2022-12-14 05:24:33
Refresh please 🙂
Peter Samuels
2022-12-14 05:28:00
👍
afed
_wb_ There is not that much difference, IIRC 2-norm had slightly better overall correlation on our data, but likely somewhat higher norms are slightly better at the higher end. Note that the 3-norm is actually already a mixture of 3, 6 and 12-norm, or something like that. Max-norm ("butteraugli" without qualifiers in the table) is too strict to be useful as a perceptual metric across a larger range of fidelities — it will punish the whole image for one bad pixel, which or may not be a semantically important one.
2022-12-14 05:29:06
I see, I thought maybe 6-norm would be more correct in something like Halls of fame/shame and because: https://discord.com/channels/794206087879852103/840831132009365514/900641563233906689
_wb_
2022-12-14 05:31:07
well maxnorm is basically inf-norm so I would expect 6-norm to be somewhere between 3-norm and maxnorm
Demiurge
_wb_ We have to avoid getting cynical. I still assume that Chrome looked at the AVIF team's data and concluded that JXL is not worth keeping — which is not the right conclusion if you correctly interpret the data, but if you look at the data the way the AVIF team presented it, it's an easy mistake to make.
2022-12-14 06:33:28
It's hard for most people, including myself, to not get emotional about this decision. It's a very unfair one that was made unilaterally by our most exalted master at Google, despite the protests of both compression professionals and heavyweight market players. And this asinine decision will have far reaching consequences for everyone downstream of Blink/Chromium.
2022-12-14 06:35:11
Our Exalted Lord at Google is asking us to get used to a web with no progressive loading of images anymore. And all existing JPEG must continue to take up the same amount of space.
2022-12-14 06:35:42
This is the bleak future we must all embrace now. So saith the Lord.
2022-12-14 06:37:00
And bringing up Firefox is essentially a punchline at this point. What with patches sitting ignored for years now.
Peter Samuels
2022-12-14 06:37:57
Don't have enough manpower to click the merge button
Demiurge
2022-12-14 06:38:07
for real.
2022-12-14 06:38:25
It has nothing at all to do with manpower.
2022-12-14 06:38:51
It's a choice.
2022-12-14 06:39:57
I feel sorry for those people believing and spreading the "manpower" lie.
2022-12-14 06:41:59
The web is open source lol, Firefox and Chrome are your only choices and they're totally open source lol!
spider-mario
_wb_ https://cloudinary.com/blog/contemplating-codec-comparisons
2022-12-14 09:16:05
under “Decoding vs Rendering Speed”, when it says “Schematically:” is that indeed just schematical or is it from actual measurements?
_wb_
2022-12-14 09:17:48
It's just schematical, but actual measurements do look like that (if you look in devtools, performance tab, with network throttling)
2022-12-14 09:23:25
I don't know if there are plans to make dav1d do partial frame decoding, it should be possible in principle but it does complicate the api and implementation, and for video it is not really useful at all (unless you want to do ultra low latency video, I guess)
spider-mario
2022-12-14 09:23:26
just finished going through the article, I found it very good and thorough, thank you for writing it
_wb_
2022-12-14 09:31:21
Thanks — I did my best to make it as constructive and clarifying as possible. It took me a while to understand how they arrived at the results/interpretations they arrived at, and I now think it's probably not a malicious comparison but just a bad interpretation of results, mostly caused by looking at bitrates that are relevant for video but not for still images (and BD rate giving additional focus on the low bitrates because metrics just have a bigger range of bad quality scores than their range of useful quality scores, and BD rate treats the metric score range uniformly).
Demiurge
2022-12-14 09:37:28
That doesn't make sense. The majority of the numbers they averaged are from quality settings that are totally useless and produce unuseable output.
2022-12-14 09:37:51
These are intelligent people (I assume!) so it's hard not to interpret that as malicious.
improver
2022-12-14 09:43:01
wb did his best lol
_wb_
2022-12-14 09:53:37
Things are always more obvious with hindsight, or when someone is explicitly explaining why something should be done another way. I can understand that they just took the full range of qualities they had in their test scripts (1 to 100 for jpeg, 1 to 63 for avif) and just took the average to aggregate encode speed. It's the simplest and most obvious thing to do. Same with BD rates: I think they just picked some bpp range without looking at images, and maybe assumed BD rate treats bitrates uniformly so if the range is a bit wrong, it's not a big deal, while it actually treats metric scores uniformly and starting the range too low kind of makes the numbers useless.
2022-12-14 09:57:43
What they did wrong imo was not to involve other experts before making a decision, being too confident that they know how to evaluate stuff. But I don't think there was necessarily malicious intent. At least I hope there wasn't, and that they will actually be open to feedback, improving their data, and revisiting the decision based on better data.
Demiurge
2022-12-14 10:03:26
Well, they claim they are open to feedback, just send them an email. Hmm, but you haven't gotten a response back from them yet...
2022-12-14 10:03:57
Well, maybe we'll all be surprised still. Here's hoping.
2022-12-14 10:06:06
Hmm, so they also ran the av1 encoding with --tune=ssim and then compared quality with ssim as if they are trying to artificially give avif an advantage there too...
2022-12-14 10:07:12
I didn't realize that. Everything about their little comparison is over the top ridiculous and they obviously know what they're doing.
2022-12-14 10:08:37
They're comparing codecs using a metric that their favorite encoder settings are specifically tuned for and acting like this is an objective comparison...
2022-12-14 10:09:58
I have nothing against AV1 and I think it's a great video codec and it's just perplexing that some people seem like JXL is a competitor to or threatens it. JXL does not compete with AV1 and AV1 does not compete with JXL.
2022-12-14 10:10:54
It's really bizarre what's happening to JXL in web browsers right now
2022-12-14 10:12:40
Nobody was excited about webp or avif being fast-tracked into browsers, but people are genuinely for the first time excited about a new image format and "some guy" says no.
2022-12-14 10:14:52
I wish I knew who my most exalted browserlord is so I can thank him for giving me the gift of The Web
improver
2022-12-14 10:15:51
you are acting as if they actually cared about their users instead of political patent/relevance wars
Demiurge
2022-12-14 10:16:00
Making all the Most Wise decisions from the Most High
improver
2022-12-14 10:16:44
not much use of new codec if they can't weaponize it
Demiurge
2022-12-14 10:17:07
Decreeing for all us mortal peons what image format we're allowed to use on His Web
improver
2022-12-14 10:17:39
what you gonna do? use other browser? bwahaha
2022-12-14 10:18:18
all the right questions to ask, and do it loud. more people need to realize
Demiurge
Demiurge Nobody was excited about webp or avif being fast-tracked into browsers, but people are genuinely for the first time excited about a new image format and "some guy" says no.
2022-12-14 10:19:08
No discussion, we ask how that decision was made and we get this lulzworthy comparison...
2022-12-14 10:19:34
Just "some guy" said so and now it's all getting fast-tracked deleted
2022-12-14 10:20:00
Not even phased out like what happens normally with other features
2022-12-14 10:21:32
Behold, mortals. The open web!
2022-12-14 10:23:01
Hark, lowly peons. Tremble and quail before Our open web standards!
improver
2022-12-14 10:25:47
tbf jxl's push feels too manufactured outrage tier for me too but gotta do something, i get, & kinda support anyway as the thing itself is legit nice from my own experiments
Demiurge
2022-12-14 10:25:56
The planet kneels to Our whim.
improver
2022-12-14 10:26:50
this haven't quite been coverage for a while now btw
Demiurge
2022-12-14 10:27:06
I just wanna be able to losslessly crush all these existing images
Jim
improver tbf jxl's push feels too manufactured outrage tier for me too but gotta do something, i get, & kinda support anyway as the thing itself is legit nice from my own experiments
2022-12-14 10:37:19
It's not manufactured. JXL was designed for the vast majority of how images are used on the web. AVIF was designed for low-bitrate... that nobody asked for. It has it's uses, but are limited. As an added bonus it works much better than PNG where WebP will sometimes be larger than PNG at lossess and will be a good storage format. Having real benefit is not manufactured. Hyping it up if it did as good as WebP would be manufactured.
improver
2022-12-14 10:42:40
i always kinda look too deep into these things. i'm just saddened that codec devs need to involve into social/political moves instead of just doing what they're best at and expecting adoptation. but yeah i still see discord server we're talking in as a bit of social chamber
2022-12-14 10:43:42
and yes at this point it's not fair to call interest manifactured, even if it was bootstraped a bit artificially
2022-12-14 10:46:06
thing is both legit in what it does and big entities already have signaled interest as well
2022-12-14 10:47:55
its, just, idk, was there ever precedent of browsers adopting things from community input, instead of their own internal decision?
2022-12-14 10:49:56
firefox seems to be adopting new things solely to not be left behind too much now, and chrome seems to be keen on pushing codecs that give them political leverage
afed
2022-12-14 10:50:05
https://www.reddit.com/r/firefox/comments/zlgsl3/chromium_ends_jpeg_xl_before_it_even_lived_3x/
Jim
improver its, just, idk, was there ever precedent of browsers adopting things from community input, instead of their own internal decision?
2022-12-14 10:53:04
So... you want Google to make their own decisions about what Chrome supports... but are against them pushing a format for political leverage... but JXL is using politics which you are against and would rather they remain silent about it so nobody will know about it and somehow magically get adopted? You're thought process is deeply confusing.
improver
2022-12-14 10:56:08
i don't want google to make their own decisions here, but it's been historical fact that they were making decisions like these on their own. it's not unexpected for me that they gonna resist solely for this reason
2022-12-14 10:58:34
i wouldn't feel good as decisionmaker too if someone pushed my hand that much. and no, i didn't say that i want jxl politics to be silent either, didnt i say that i support this stuff too
2022-12-14 10:59:36
its just idk way too contrived overthinking of literally everything that my head is and yes sometimes i get lost, its kinda hard
BlueSwordM
Demiurge Hmm, so they also ran the av1 encoding with --tune=ssim and then compared quality with ssim as if they are trying to artificially give avif an advantage there too...
2022-12-14 11:02:04
Remember that tune SSIM does not actually tune for SSIM. It is instead a different post RD modulation algorithm based on variance RDO, very roughly based on SSIM. It does not tune based on an actual SSIM metric.
Jim
2022-12-14 11:03:25
They've been called out on it as well. I don't agree to listen to a single person requesting something, but having a large number of people requesting something and just ignoring them is not good for them. That's listening to your customers or potential customers. I just read an article the other day that they were worried about harming the company's reputation by pushing too much AI and I thought, "they're already doing that. No AI needed."
afed
2022-12-14 11:10:24
but it still gives better ssim scores, like x264 --tune ssim is just `--aq-mode 2 --no-psy`
yurume
_wb_ https://cloudinary.com/blog/contemplating-codec-comparisons
2022-12-14 11:10:57
I briefly translated and posted main points of this article to some Korean forum (sorta akin to HN): https://news.hada.io/topic?id=8029
2022-12-14 11:12:18
I guess machine translation is enough to see if I've made a mistake or not, but I can write an English translation if you're curious 😉
BlueSwordM
afed but it still gives better ssim scores, like x264 --tune ssim is just `--aq-mode 2 --no-psy`
2022-12-14 11:46:14
And better visual results overall however.
afed
2022-12-15 12:03:53
yeah, though not intended for that and mostly for lower bitrates, due to not very good default psy modes setting (with proper psy tuning and probably aq strength, visual quality will be better, but still worse metric score) I personally use --tune ssim for streaming (because it is not a high bitrate, not the slowest encoding settings and impossible to tune for constantly changing content)
Demiurge
2022-12-15 12:59:25
Basically as soon as I saw the comparison, I saw "AVIF has the fastest encoding speed of them all! Faster than even JPEG!" and I immediately thought, "wut?" The most often voiced complaint I hear from everyone is that AVIF is too slow! Then I looked at what they actually did, and saw they tested a whole bunch of different, weird settings that nobody would ever actually use in practice, and took the average of all of that, and I thought, oh that's weird, I wonder why they did it THAT way...
2022-12-15 12:59:49
This was before I read anyone else's comments on "the data"
2022-12-15 02:21:33
I'm not some sort of image coding professional and it's obvious at first glance this comparison is messed up.
VcSaJen
improver i always kinda look too deep into these things. i'm just saddened that codec devs need to involve into social/political moves instead of just doing what they're best at and expecting adoptation. but yeah i still see discord server we're talking in as a bit of social chamber
2022-12-15 05:43:26
Discord servers are always echo-chambers, it's designed like that. I would suggest adding IRC and matrix bridges, at least for one channel.
yurume
2022-12-15 05:45:17
all chatting rooms are essentially echo chambers, not just Discord. if that's a concern you would want to have a publicly searchable and indexable forum instead.
VcSaJen
2022-12-15 05:51:39
Oops. What's the address?
2022-12-15 06:20:39
I can't view any messages as a guest, I guess guest read access is disabled?
_wb_
yurume I briefly translated and posted main points of this article to some Korean forum (sorta akin to HN): https://news.hada.io/topic?id=8029
2022-12-15 06:22:36
"on the fly" is not lowest quality, but fastest speed — which doesn't seem appealing to me since it isn't performing better than mozjpeg.
2022-12-15 06:24:09
The Kodak set are scans of negatives I think, but still, quite different from how modern digital cameras work.
2022-12-15 06:25:46
Other than those two nitpicks, it looks like a good summary! Thanks!
yurume
2022-12-15 06:38:15
good point on the "on the fly", I kinda overlooked the fact that quality and speed do not necessarily correlate even for traditional encoders.
2022-12-15 06:38:33
also... yeah, I completely forgot what Kodak meant :S
2022-12-15 06:40:52
posted a correction comment, as this forum doesn't allow editing (for now)
joppuyo
_wb_ You can basically ignore the sign, higher absolute value means higher correlation with MOS so a "better" metric.
2022-12-15 08:38:09
ah thanks for explaining, this makes sense 👌
_wb_
2022-12-15 10:28:22
> Using the graph showing a >=~15% advantage of JXL over AVIF at relevant bpp ranges as the test image for the lossless comparison is shitposting on another level 😄 (from: https://www.reddit.com/r/jpegxl/comments/zls2aq/comment/j0ax9fi/?utm_source=share&utm_medium=web2x&context=3) haha yes I like this kind of little meta-jokes 🙂
2022-12-16 02:06:46
heh marketing folks made that image while I was asleep — no way avif would look that blocky, it typically looks very smooth like shiny plastic 🙂
kyza
2022-12-16 09:37:26
https://redd.it/zne1ys
2022-12-16 09:42:12
It's crazy the divide there is for a situation that seems so straightforward.
yurume
2022-12-17 01:56:43
a reasonable reaction when you grant AVIF as given (which is indeed one way to look at this situation)
2022-12-17 01:58:54
there _were_ some common misconceptions that had to be frequently corrected, for example by an experimental flag chrome technically never guaranteed anything, so it's figuratively incorrect that "Google" "killed" "format support" (all three are incorrect to some extent)
2022-12-17 02:01:12
chrome team's act becomes questionable only after considering AVIF and other experiments done by them, and we should be clear about this
sklwmp
kyza https://redd.it/zne1ys
2022-12-17 02:18:47
I'm not sure how to even approach the top comment...
2022-12-17 02:20:02
I don't understand how they'd think that: (1) AVIF is better than JPEG XL (2) Google did "nothing wrong" or "didn't take anything away"
kyza
2022-12-17 02:20:54
JXL demolishes AVIF in features which says a lot when it can be smaller.
sklwmp
2022-12-17 02:23:54
I'm not sure how to combat the idea that this is is just Google "[stopping] further commitment on an unreleased feature." AVIF and WebP were never as "ready" as JPEG XL was when they were added into stable Chromium, but because Google pushed them, it didn't matter. JPEG XL is as "ready" as can be. Those industry leaders mentioned were simply waiting from Chromium to roll it out so they could also get it ready. It's that chicken and egg problem again. Chromium won't add JPEG XL because it's just experimental, but it only remains experimental because Chromium refuses to add it.
2022-12-17 02:26:48
Sometimes it feels like those commenters want the entire world to support JPEG XL before Chromium does. Do they want Photoshop import-export, OS-level decoding, and full JPEG XL support on Facebook, before Chromium even gives a chance at JPEG XL on Stable?
Deleted User
2022-12-17 05:24:10
Looks like only large media coverage could reverse it now - write to journalists, youtubers, influential people describing this situation,emphasizing importance - that it is fight for future default image format: WebP-like or open JPEG successor
Demiurge
sklwmp I'm not sure how to combat the idea that this is is just Google "[stopping] further commitment on an unreleased feature." AVIF and WebP were never as "ready" as JPEG XL was when they were added into stable Chromium, but because Google pushed them, it didn't matter. JPEG XL is as "ready" as can be. Those industry leaders mentioned were simply waiting from Chromium to roll it out so they could also get it ready. It's that chicken and egg problem again. Chromium won't add JPEG XL because it's just experimental, but it only remains experimental because Chromium refuses to add it.
2022-12-17 08:10:02
Chromium had the most mature first-class support for JXL including animations and progressive loading, basically on the same class as it's support for the GIF format or the classic JPEG format. And they just deleted it all, including everyone's contributions to getting the support up to that mature level.
yurume
Demiurge Chromium had the most mature first-class support for JXL including animations and progressive loading, basically on the same class as it's support for the GIF format or the classic JPEG format. And they just deleted it all, including everyone's contributions to getting the support up to that mature level.
2022-12-17 08:10:54
only when a flag is enabled, let's not ignore that
Demiurge
2022-12-17 08:11:10
Facebook and Adobe and others quickly chimed in on the tracking bug how excited they are to start using the new format as soon as Chrome stops putting it behind a flag.
2022-12-17 08:12:04
It completely blindsighted everyone when all of a sudden Google announced it's getting removed. It's the exact opposite from what everyone expected.
2022-12-17 08:14:10
Yes, they did take a lot away by deleting all that mature code
2022-12-17 08:15:18
And they took a lot away from everyone who was expecting to begin using this format as soon as it was enabled by default. Such as Facebook.
2022-12-17 08:15:49
Nobody expected this. It's totally random and nonsensical.
2022-12-17 08:20:02
It would be like deleting all of the code related to HDR and saying that there isn't enough interest from the entire ecosystem for HDR support and there's no evidence that HDR is a big enough improvement.
2022-12-17 08:21:40
By the way, speaking of that reddit post, I notice that for some reason the OP is getting downvoted to oblivion for seemingly no reason every time the OP makes a comment.
_wb_
2022-12-17 08:53:24
It's annoying that people have such strong feelings and feel the urge to pick a side and have a format war where there can be only one winner, VHS vs Betamax style. We can just have both avif and jxl and let everyone use whatever they like most.
Demiurge
2022-12-17 09:18:55
I never saw it as some kind of competition between AVIF and JXL... until Google framed it that way.
2022-12-17 09:19:38
It's the most random and unexpected thing in the world
2022-12-17 09:23:00
The EXTREME amount of hypocrisy is infuriating too, for Google of all people to say "there isn't enough ecosystem interest nor enough improvement over existing formats" after they shoved webp down everyone's throats
_wb_
2022-12-17 09:26:23
The only way in which that statement can make sense is if "ecosystem" is defined very narrowly as "other browsers", i.e. Firefox and Safari don't support it.
2022-12-17 09:26:57
Not that that was a blocker for webp or avif
Demiurge
2022-12-17 09:27:28
Exactly, it's just mind boggling hypocrisy
2022-12-17 09:49:03
You have no choice but to accept webp, and you have no choice but to fork your own Chromium if you want to use JXL.
2022-12-17 09:51:35
It's their decision and theirs alone. Some mysterious and very exclusive club that decides what image formats everyone is forced to use or not to use. And they are far too important to talk to you or even reveal who they even are.
2022-12-17 09:52:34
All we get is "WE have decided..."
2022-12-17 09:53:35
"Maybe if leadership revisits this decision..."
2022-12-17 09:55:54
Who ARE these people?
2022-12-17 09:57:46
It's unfortunate that Chromium is used in so many different projects.
_wb_
Demiurge Who ARE these people?
2022-12-17 09:59:44
I don't care who they are, but I do care if there's any way to hold them accountable. With great power comes great responsibility, and it's a problem if there are no checks and balances in place.
2022-12-17 10:00:50
It's very clearly not a democracy, which in principle is fair enough, this is after all a private company making decisions about a product they own, and that's how the world works.
2022-12-17 10:02:53
But then we should stop pretending the web is an open platform, if it is essentially a Google owned platform.
Demiurge
2022-12-17 10:05:14
That is where I was going too, yes.
2022-12-17 10:12:00
If they are being so vague about who made the decision it doesn't sound like anyone plans on taking credit or being accountable or responsible when it comes to whatever effects the decision will have on Chromium and Google for example.
2022-12-17 10:15:36
But really this is just speculation and who knows what the hell is going on here.
2022-12-17 10:17:30
Google is a big company with many different factions and I have no idea who is responsible for what because it's not my job to know that.
2022-12-17 10:17:52
It's just insane how whimsical and arbitrary this seems to be.
_wb_
2022-12-17 10:32:34
I don't know the internal structure of the Google Chrome organization but I think it is very large and as far as I understand, they do have a specific 'Codec team' within Chrome, which I think has the 'avif team' as a subteam. I think the leadership of the Chrome codec team makes decisions on that part of Chrome. I don't know if there are any 'appeal' procedures higher up in the Chrome department or in the Google company, but I don't think so.
spider-mario
sklwmp I'm not sure how to combat the idea that this is is just Google "[stopping] further commitment on an unreleased feature." AVIF and WebP were never as "ready" as JPEG XL was when they were added into stable Chromium, but because Google pushed them, it didn't matter. JPEG XL is as "ready" as can be. Those industry leaders mentioned were simply waiting from Chromium to roll it out so they could also get it ready. It's that chicken and egg problem again. Chromium won't add JPEG XL because it's just experimental, but it only remains experimental because Chromium refuses to add it.
2022-12-17 04:23:38
comments like that reddit one seem to assume that the only valid comparison is with what Chrome previously was, rather than what it could have been
2022-12-17 04:24:06
(paraphrasing) “chrome simply went from not supporting jxl to not supporting jxl” -> yes, and… that’s what people are complaining about. Can’t they?
2022-12-17 04:26:48
can’t we hold chrome to a higher standard than “the previous version of chrome”?
_wb_
2022-12-17 04:45:46
Also: while behind a flag is indeed not the same as 'supported', and it did mean it couldn't be actually used at scale yet, at least people could opt-in to it and use it, which for some use cases is good enough (say using it on an intranet for internal sharing, where 'enable the flag' would be a minor inconvenience but not a dealbreaker). So even if you're just comparing M110 to M109, imo we will actually lose something.
2022-12-17 05:23:12
Ugh I am still banned on r/webdev, I guess because 5 years ago or so I posted too many cloudinary blogposts there
2022-12-17 05:23:59
https://www.reddit.com/r/webdev/comments/zne1ys/comment/j0k85hr/
2022-12-17 05:24:50
Can someone ask for a pointer to that twitter thread? I don't remember anything like that and now I am very curious.
yoochan
_wb_ Can someone ask for a pointer to that twitter thread? I don't remember anything like that and now I am very curious.
2022-12-17 05:45:06
done
_wb_
2022-12-23 08:59:08
https://twitter.com/DemezProto/status/1605963877052604416?t=8bI3eJrIyHph2AStzwuAqA&s=19
Demez
2022-12-23 09:21:08
lmao, was not expecting to see my drawing i did with some friends here
_wb_
2022-12-24 07:46:41
https://twitter.com/NinaoXyz/status/1606335073518845955?t=1WpfeI5wcTtwQnQOAWBG9A&s=19
2022-12-24 07:47:21
We need to find a way to make it clearer that JPEG XL is not JPEG.
2022-12-24 07:48:37
And also that the jpeg recompression feature does not mean that jxl is backwards compatible and can just be decoded by existing jpeg decoders.
2022-12-24 07:49:45
There's a lot of (understandable) confusion around this, some people even apparently thinking Chrome is dropping JPEG support and things like that.
Kleis Auke
2022-12-24 11:06:20
Perhaps using the term JXL would resolve that?
2022-12-24 11:14:50
(I've seen such issues earlier, also related to version numbering - <https://twitter.com/tlively52/status/1517572876613808128>)
joppuyo
2022-12-24 11:46:44
semantic versioning is extremely helpful if you are a developer of a project with 3rd party dependencies, but at the same time it's extremely confusing to normal people and not optimal from "marketing" standpoint
VcSaJen
2022-12-24 12:10:53
0.x in SemVer is extremely lax. So it doesn't matter as long as version is 0.x
_wb_
2022-12-24 12:14:30
There is a bit mismatch between the "microsoft" way of versioning, where 1.0 is basically the very first proof of concept alpha version and you can expect things to more or less start working at version 4.0 or 5.0, and the semantic versioning way of versioning, where 1.0 is a huge maturity milestone and ideally you never even need a 2.x since it's a sign that something was missed in the 1.x design.
Fraetor
2022-12-24 07:41:33
Though I would argue that the "Microsoft" way of doing a major release whenever you need to make a breaking change is the right way, even if those changes are very minor and don't require most users to change.
2022-12-24 07:41:46
Though this is why I prefer CalVer.
_wb_
2022-12-24 08:41:39
Semantic versioning does major version bumps when stuff breaks (at least after 0.x, where stuff breaks also at minor versions)
joppuyo
2022-12-24 08:47:44
I think calver is okay for user-facing programs and services. For a library you depend on I prefer semver because it makes API breaks much more predictable
Fraetor
2022-12-24 09:32:35
I guess my point is as soon as you have users you should be 1.0 (even if you didn't plan to be) as you already have that implicit API contract.
_wb_
2022-12-24 09:36:46
If applications use 0.x, they cannot assume that things will still work on 0.(x+1), but what difference does it make if we would have called libjxl 0.2 (the first one that was getting used, iirc) 1.0? We would still have wanted to make the api changes we made, so we would be at 5.0 or so now.
joppuyo
2022-12-25 05:01:36
Yeah I would say the 0.x thing is more of a loophole, you are not SUPPOSED to stay at 0.x forever but some libraries choose to do so anyway so they are free to make breaking changes
Fraetor
2022-12-25 10:25:09
https://0ver.org/
kyza
2022-12-30 09:45:52
Not coverage but I bet if enough of us commented about JXL here we might be able to get Fireship to cover it. That would be a line of knowledge straight to the "general public" of developers. Especially web devs. https://www.youtube.com/watch?v=U_QNznf2FZA
DZgas Ж
2023-01-03 01:18:45
how are things with JPEG XL and Chrome?
zamfofex
2023-01-03 01:21:01
I don’t think anything changed. I am hopeful Chrome will come to adopt JPEG XL eventually, but it doesn’t seem like there has been any indication of change from Chrome’s part.
DZgas Ж
2023-01-03 01:28:13
https://bugs.chromium.org/p/chromium/issues/detail?id=1178058
Peter Samuels
2023-01-03 03:14:39
> Comment 365 by boihi...@gmail.com on Sun, Jan 1, 2023, 4:17 PM CST (a day ago) > .webp is annoying, please just stick with mp4, gif, jpg 🤦‍♂️
_wb_
2023-01-10 08:21:29
https://blog.codepen.io/2023/01/08/chris-corner-performance-talk/#jpeg-xl-we-hardly-knew-thee
Deleted User
2023-01-21 10:10:27
https://youtu.be/oxKYkPyKCUQ?t=1455 WordPress full talk
_wb_
2023-01-30 10:44:41
not much new here, it's mostly existing stuff I wrote, translated to German: https://www.dev-insider.de/chrome-support-fuer-jpeg-xl-endet-wie-geht-es-weiter-a-6a91f68ab08c62190f0ec556ba8385c3/
Demiurge
2023-01-31 07:50:53
🙉 LALALALA I INVENTED AVIF LALALALA
_wb_
2023-01-31 05:31:23
https://www.phoronix.com/news/Mozilla-Neutral-On-JPEG-XL
daniilmaks
2023-01-31 10:46:37
> So we don't see support for JPEG-XL as either good or bad for the Web. We might find it necessary to support the format if usage becomes **more widespread,** but that will be a product decision[1]. wait what do they mean by jxl not being widespread?
username
2023-01-31 10:50:12
not sure but it could be codeword for something like "we won't support this unless chrome decides to"
2023-02-01 01:22:43
a few of those comments on that article hurt me to read, I would reply to a few of the people on there but I dislike making accounts for things and also my grammar and typing style are awful
_wb_
2023-02-01 07:35:01
That's a rather bad translation indeed. Mozilla did not say who they consulted, for all we know they only consulted themselves.
Quikee
2023-02-01 09:44:14
Lol -- the latest from Phoronix forums: " The author of JPEG-XL, Jon Sneyers has a habit of writing horrifically slow compression algorithms, just like he did with FLIF. "
_wb_
2023-02-01 10:38:29
I am not "the author of JPEG-XL". I'm one of the main contributors, but large parts of jxl (e.g. most of vardct) were created by others.
2023-02-01 10:39:11
It is true that the part I'm most responsible for (modular) can also be horribly slow (try e10 lossless encoding).
2023-02-01 10:40:41
But I'd say we spent quite a lot of effort to make jxl faster than flif, or at least to have ways to use it in a very fast way while still being effective in terms of compression (though of course slower will always give better compression)
2023-02-01 10:42:35
Lossless e1-e3 are quite nice now (though e1 is mostly Luca Versari's work and e3 is mostly Alexander Ratushnyak's work)
DZgas Ж
2023-02-01 10:45:04
It seems jpeg xl will be everywhere except browsers <:Google:806629068803932281>
_wb_
2023-02-01 11:00:54
We'll see what the future brings. Clearly browsers will not be the early adopters they used to be in the past: for webp and avif, browser support was there (at least in chrome) well before the formats were used or even supported in non-browser use cases. I am still assuming that browsers will be late adopters.
zamfofex
2023-02-01 11:23:03
I know I don’t often post here, but I’m frequently lurking. I wanted to say: I’m glad y’all seem to still be hopeful and convicted about JPEG XL. From what I am able to see, it is a beautiful format, and I’m glad whoever is involved with it in any way seem to be proud of it!
Sam
2023-02-01 04:58:31
web.dev released a new series of articles about images <https://web.dev/learn/images/> jxl got... a mention
Peter Samuels
2023-02-01 05:14:45
Should say "major browser" instead of "browser" imo
_wb_
2023-02-01 05:28:28
I think there are now 5 browsers supporting jxl, all are firefox forks: - Pale Moon - Basilisk - Waterfox - LibreWolf - Pulse Browser
username
2023-02-01 05:29:48
I think librewolf's and pulse's support are incomplete
2023-02-01 05:30:49
librewolf just has the basic support that is present in firefox nightly while with pulse it's either the same situation or their support might flat out be broken because i'm not sure if they removed the nightly check
2023-02-01 05:33:13
and in the case of librewolf I don't think the support is even turned on by default
Eugene Vert
2023-02-01 05:38:37
Thorium (https://github.com/Alex313031/Thorium/) is still on M109 and has jxl enabled by default
Demiurge
username a few of those comments on that article hurt me to read, I would reply to a few of the people on there but I dislike making accounts for things and also my grammar and typing style are awful
2023-02-02 01:30:42
It's good to learn this lesson as early as possible: Do not react to something that is beneath deserving of your attention.
username
2023-02-02 01:35:00
some of the comments seem like bait or something of the sort however others seem to be from people who just have false information or a misunderstanding of something
Demiurge
_wb_ I am not "the author of JPEG-XL". I'm one of the main contributors, but large parts of jxl (e.g. most of vardct) were created by others.
2023-02-02 01:35:07
Yeah lol. You're possibly the most outspoken developer working on JXL and the author of FLIF/FUIF... but ultimately the JXL codebase was forked from the Google libpik codebase and not your (much smaller and lighter) FUIF library
2023-02-02 01:36:22
But it's understandable why people first hearing about JXL think YOU are the author lol
2023-02-02 01:36:35
The other developers are relatively speaking more low profile
BlueSwordM
username some of the comments seem like bait or something of the sort however others seem to be from people who just have false information or a misunderstanding of something
2023-02-02 04:03:34
They're just ignorant.
_wb_
2023-02-03 08:18:38
https://www.golem.de/news/jpeg-xl-die-browserhersteller-sagen-nein-zum-bildformat-2302-171653.html
Deleted User
2023-02-04 03:59:47
if there would be unquestionably neutral image benchmark signed e.g. by JPEG, Adobe, independent experts, etc. (not only individual benchmarks), each such article would mention it, discussing results ...
2023-02-05 05:14:53
sure it never will be perfect, but should be built as neutral and objective as possible, trying to gather various experts e.g. JPEG, MPEG, AOM, Adobe, Affinity, etc. ... to avoid problematic situations like now of everybody relying on own benchmarks ... to direct development of future codes
2023-02-05 01:05:24
https://nikolin.eu/tech/a-closer-look-at-the-rejection-of-jpeg-xl-by-chrome-and-firefox/
2023-02-05 01:08:50
https://www.youtube.com/watch?v=jOe7mGLGgvQ
_wb_
https://nikolin.eu/tech/a-closer-look-at-the-rejection-of-jpeg-xl-by-chrome-and-firefox/
2023-02-05 02:09:58
This looks like it was written by AI.
Demez
2023-02-05 05:54:47
it really does
_wb_
2023-02-06 09:41:40
https://www.sir-apfelot.de/jpeg-xl-48183/
Deleted User
2023-02-15 09:30:13
https://www.youtube.com/watch?v=YrClf3I7AaM interesting about JPEG
fab
2023-02-15 04:04:47
https://youtu.be/z0Q3bAL-wXw
_wb_
2023-02-15 04:22:24
the image on the jpeg.org/jpegxl website has been updated so you can now use it as a (subtle) browser support test
2023-02-15 04:22:36
Thorium on the left, Chrome on the right
2023-02-15 04:23:20
(note the text overlay in the bottom right corner of the image)
improver
2023-02-15 04:34:18
lol nice
2023-02-15 04:34:42
funny way to use official infopage as advertisement
diskorduser
2023-02-15 04:35:04
nice
_wb_
2023-02-15 04:39:08
Also: the white paper has been updated! https://ds.jpeg.org/whitepapers/jpeg-xl-whitepaper.pdf
2023-02-18 07:56:30
https://www.sir-apfelot.de/en/jpegxl-48183/
2023-02-18 08:01:40
https://motionmill.com/2023/02/google-stopt-jpex-xl-gebruiken/ Nice article summarizing the browser support situation (in Dutch though)