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

adoption

Adoption of jxl: what software supports jxl already, how to get more adoption?

The Fylkir
2021-05-29 12:48:52
I don't really care if FFMPEG can decode an image format. I'll switch when Firefox, Discord, Irfanview, CDisplayEx, and Tachiyomi all have support
2021-05-29 12:50:13
Actually I suppose Firefox doesn't matter as much since I won't really be opening local content with it
2021-05-29 12:53:53
I meant personally
2021-05-29 12:54:11
Like, it doesn't effect my personal transition to the format
2021-05-29 12:56:56
Wouldn't surprise me if Discord they patches in JXL first, because the lack of generation loss will help with the current problem that every image on mobile is too big so they'll downscale it
Deleted User
The Fylkir I don't really care if FFMPEG can decode an image format. I'll switch when Firefox, Discord, Irfanview, CDisplayEx, and Tachiyomi all have support
2021-05-29 12:59:49
> I don't really care if FFMPEG can decode an image format. Actually you can fiddle a bit with image formats in FFmpeg. https://en.wikipedia.org/wiki/FFmpeg#Image_formats > I'll switch when Firefox, Discord, Irfanview, CDisplayEx, and Tachiyomi all have support IrfanView support is stalled because everyone is waiting for Irfan's response to an email about it. I don't know anything about CDisplayEx, you can ask them directly for support. Tachiyomi is FOSS software available on GitHub, so adding support for JPEG XL is as simple as adding a pull request with libjxl and its integration code (you can file an issue first if you can't do the coding).
improver
2021-05-29 01:11:13
mainstream manga jxl could be hard but could be also possible if some people are interested enough
2021-05-29 01:11:33
i think getting jxl on browsers working is number one thing
The Fylkir
2021-05-29 01:14:45
Yup
2021-05-29 01:17:22
I think Manga sites will be early adopters
2021-05-29 01:19:51
In general, the anime piracy community is cutting edge. Oldest AV1 anime release I can find is an experimental one from 2018
2021-05-29 01:23:12
Mangadex has a lot of competitors
2021-05-29 01:23:56
Just scroll through Tachiyomi. There are like a million of them
Deleted User
2021-05-29 01:26:15
__**How to permanently enable JPEG XL in the latest stable Microsoft Edge 91**__ 1. MAKE SURE THAT THE BROWSER ISN'T RUNNING. 2. Open `%localappdata%\Microsoft\Edge\User Data` in File Explorer. 3. Open `Local State` file in your favourite text editor. 4. Find `"enabled_labs_experiments":` string. a) If you found it, enter `"enable-jxl@1"` inside __empty__ brackets next to the string above. b) If the brackets aren't empty because you've already got some flags enabled, insert `,"enable-jxl@1"` (yes, with that comma) before the closing bracket, after all other flag descriptions (or inside the list, I tried to keep its alphabetical order). c) If you couldn't find that string, try temporarily enabling a non-harmful flag (I'd recommend `Parallel downloading`), then close the browser, open the file again, and replace that flag's string (`"enable-parallel-downloading@1"`, if you followed my example) with `"enable-jxl@1"`. 5. Save and close the file, then open the browser and test if JPEG XL is working on https://jpegxl.info, https://jpegxl.info/jxl-art.html and https://mo271.github.io/jxl.
2021-05-29 01:27:53
Apparently it is... https://www.ghacks.net/2021/05/11/find-out-if-your-browser-supports-the-new-image-format-jpeg-xl/
2021-05-29 01:31:19
The ghacks.net guide asks the user to run Edge with `--enable-features=JXL` command-line parameter (or to add it to the Start Menu and/or Desktop shortcuts). My guide allows you to enable it *permanently*. ...or until you decide to turn it off, then just remove `"enable-jxl@1"` string from the file from my guide.
2021-05-29 01:34:05
Please update your Edge to 91, check if my guide works (it may not, don't hold me liable in case of breakdown lmao) and if it works, feel free to share it anywhere on the interwebs. Consider it public domain.
2021-05-29 01:48:05
Sorry, I couldn't find JPEG XL in Experimental Features in DevTools in Edge 91.
2021-05-29 02:21:36
I know it's JSON, but don't want to fiddle with whitespaces, I don't know how will Edge react to it... And you need to find `enabled_labs_experiments` anyway.
Kleis Auke
Scope https://discord.com/channels/794206087879852103/794206170445119489/821664205672677417
2021-05-29 05:54:41
I could reproduce it, and also noticed a lot of `pow()` calls in Callgrind. I think it's a similar issue to the one observed here: <https://github.com/mm2/Little-CMS/issues/2#issuecomment-3699863>.
2021-05-29 05:54:57
Anyways, the fast float plugin of lcms2 helps here, see e.g. <https://github.com/kleisauke/libjxl/commit/44bc535532216661aa282dc3dde960e0faac7f7d> (unfortunately GPL-licensed).
veluca
2021-05-29 06:07:11
yeah, the fast float plugin is a bit of a problem for jxl as you can imagine, which is why we go with skcms. Although I believe <@!604964375924834314> fixed the issues that we had left with skcms, so I suppose we could get rid of lcms entirely?
2021-05-29 06:07:36
(maybe it doesn't quite support all kinds of display profiles, I'm not sure)
spider-mario
2021-05-29 06:08:09
the fast float plugin doesn’t have to be linked to libjxl specifically, iirc, it would also be possible to just have it in cjxl
2021-05-29 06:08:22
(/ djxl)
veluca
2021-05-29 06:08:31
or the viewers, I guess
spider-mario
2021-05-29 06:09:16
ah, and yes, for the viewers, skcms was a no-go
2021-05-29 06:09:24
it doesn’t support converting to a LUT-based profile
2021-05-29 06:09:34
which is likely to be relatively common for display profiles
spider-mario it doesn’t support converting to a LUT-based profile
2021-05-29 06:09:55
or at least I think it didn’t at some point (?)
veluca
2021-05-29 06:10:54
right, that would be a problem
2021-05-29 06:11:10
but I guess we don't need to depend on lcms in libjxl, no?
spider-mario it doesn’t support converting to a LUT-based profile
2021-05-29 06:11:39
I wonder how that works in Chrome...
spider-mario
2021-05-29 06:11:50
it has always been broken
2021-05-29 06:12:08
https://crbug.com/820233
Kleis Auke
veluca but I guess we don't need to depend on lcms in libjxl, no?
2021-05-29 06:13:26
Oh, you mean it isn't needed in the core library? I found this TODO-item: <https://github.com/libjxl/libjxl/blob/0f6ddd4727f2c51bb2396872599d4f86f19bf064/lib/jxl.cmake#L367>.
spider-mario
2021-05-29 06:14:37
“CMS” refers to “either skcms or lcms”, so currently, building with skcms should already avoid an lcms dependency
2021-05-29 06:14:50
but yes, in principle it should be possible for libjxl to depend on neither
veluca
2021-05-29 06:15:20
well, for libjxl_dec
2021-05-29 06:15:32
the encoder does need a CMS, and likely will for the foreseeable future
2021-05-29 06:15:51
but I think there's no downside in making color_management.cc only have skcms
spider-mario
2021-05-29 06:17:17
part of me is somewhat uncomfortable with it, not sure why
2021-05-29 06:17:22
is there much of an upside?
veluca
2021-05-29 06:18:15
we don't have to wonder if it's actually thread safe, for one 😛
_wb_
2021-05-29 06:21:09
Does skcms support cmyk?
2021-05-29 06:21:31
At some point we need to make cmyk work in djxl and viewers
veluca
2021-05-29 06:21:40
and encoders?
2021-05-29 06:21:40
xD
_wb_
2021-05-29 06:22:32
Not sure what encoders should do in the cmyk case, probably mostly do it losslessly
2021-05-29 06:23:35
XYB doesn't really make a huge amount of sense for CMYK because brightness is as much influenced by CMY as it is by K
Scope
2021-05-30 12:33:28
<https://forum.doom9.org/showthread.php?p=1943897#post1943897> > change skcms to littlecms2 <:Thonk:805904896879493180>
fab
Scope <https://forum.doom9.org/showthread.php?p=1943897#post1943897> > change skcms to littlecms2 <:Thonk:805904896879493180>
2021-05-30 12:44:08
what commit is that
2021-05-30 12:44:10
4dbbdca5
2021-05-30 12:44:26
ah he added a 5
spider-mario
2021-06-02 09:50:09
hey all, we are collecting data for the decision to have JPEG XL on by default in Chrome and we would need your help. Could you please share images or descriptions of use cases where JPEG XL does better or worse than AVIF? either here on Discord, in a GitHub issue, or using this form: https://forms.gle/rnKJt5RWq5tvdXueA
_wb_
2021-06-02 10:13:07
lithium
2021-06-02 10:19:21
```@```everyone on this message? 😛
_wb_
spider-mario hey all, we are collecting data for the decision to have JPEG XL on by default in Chrome and we would need your help. Could you please share images or descriptions of use cases where JPEG XL does better or worse than AVIF? either here on Discord, in a GitHub issue, or using this form: https://forms.gle/rnKJt5RWq5tvdXueA
2021-06-02 10:21:10
@here sorry for the spam but it's kind of an important thing
ctrlz
2021-06-02 10:22:12
isn't jpeg xl in chrome canary already?
2021-06-02 10:22:18
like aren't they already considering it?
2021-06-02 10:23:16
anyway i will complete the form, but it was just a thing i was confused about
_wb_
2021-06-02 10:23:24
considering is not the same thing as making the actual decision of enabling it by default
2021-06-02 10:23:39
enabled by default is basically a more or less irreversible thing
ctrlz
2021-06-02 10:23:48
oh okay
2021-06-02 10:24:02
i personally really want to see jxl enabled in chrome
_wb_
2021-06-02 10:24:26
I think many people here share that sentiment 🙂
Deleted User
2021-06-02 10:24:44
thanks you guys for making it clear how we can help <:S3ShigHappy:644095715500621834>
spider-mario
ctrlz i personally really want to see jxl enabled in chrome
2021-06-02 10:25:07
that’s great to hear and if you would like to describe why, we would be grateful 🙂
ctrlz
2021-06-02 10:25:32
yes
2021-06-02 10:25:38
i'll submit the form shortly
Jake Archibald
2021-06-02 10:31:13
<@!794205442175402004> feel free to use https://www.youtube.com/watch?v=-7k3H2GxE5E as a "AVIF doesn't have progressive" thing. Although the AVIF folks seem to be saying they will have proper progressive rendering at some point.
2021-06-02 10:31:45
But also, the image I used in that video, AVIF is really bad at compressing it
Jim
2021-06-02 10:32:21
AVIF & CATS don't mix.
Jake Archibald
2021-06-02 10:32:50
😀
2021-06-02 10:32:55
https://photos.app.goo.gl/3JyubXiBcggJQBS56 here's the full image
Deleted User
spider-mario hey all, we are collecting data for the decision to have JPEG XL on by default in Chrome and we would need your help. Could you please share images or descriptions of use cases where JPEG XL does better or worse than AVIF? either here on Discord, in a GitHub issue, or using this form: https://forms.gle/rnKJt5RWq5tvdXueA
2021-06-02 10:36:48
You specifically need data and info on *lossy* JXL as compared to AVIF, right? also, it's better if images are copyright free/limited right
Jake Archibald
2021-06-02 10:37:22
With the cat pic, AVIF over-smooths the chiminea. It might be ok, but since it's between the two faces, my eye is really drawn to it
2021-06-02 10:37:30
spider-mario
2021-06-02 10:41:38
I think we don’t mind duplicate reports 🙂 it’s also useful information if there is something that many people seem to care about
Jim
Jake Archibald With the cat pic, AVIF over-smooths the chiminea. It might be ok, but since it's between the two faces, my eye is really drawn to it
2021-06-02 10:43:36
Just imaging the cats were sitting there licking it for a while.
tufty
spider-mario hey all, we are collecting data for the decision to have JPEG XL on by default in Chrome and we would need your help. Could you please share images or descriptions of use cases where JPEG XL does better or worse than AVIF? either here on Discord, in a GitHub issue, or using this form: https://forms.gle/rnKJt5RWq5tvdXueA
2021-06-02 10:48:50
there are still a few serious things being found in libjxl by fuzzers, so I'd think delaying a few more months would be sensible myself libvips isn't planning to enable libjxl by default until the autumn (for what that's worth heh)
spider-mario
You specifically need data and info on *lossy* JXL as compared to AVIF, right? also, it's better if images are copyright free/limited right
2021-06-02 10:50:40
if Modular mode has specific advantages (for example the palette transform), I think we are happy to hear too
tufty there are still a few serious things being found in libjxl by fuzzers, so I'd think delaying a few more months would be sensible myself libvips isn't planning to enable libjxl by default until the autumn (for what that's worth heh)
2021-06-02 10:50:48
noted, thanks 🙂
_wb_
2021-06-02 10:51:57
Note that chrome 93 feature freeze is on June 18 but the actual stable release is on August 31 - any security bugs found in between those two dates can still be fixed afaiu
tufty
2021-06-02 10:58:35
Oh, interesting. Yes, we're imagining sep/oct some time for enabling libjxl, so that lines up. I think we're assuming that by then issues from fuzzing will be down to ~ one minor thing every few weeks (hopefully).
Scope
spider-mario hey all, we are collecting data for the decision to have JPEG XL on by default in Chrome and we would need your help. Could you please share images or descriptions of use cases where JPEG XL does better or worse than AVIF? either here on Discord, in a GitHub issue, or using this form: https://forms.gle/rnKJt5RWq5tvdXueA
2021-06-02 11:00:27
<@!794205442175402004> Maybe also put it in the <#803379415106584626>
fab
2021-06-02 11:11:10
<@!387462082418704387> or someone
2021-06-02 11:11:11
v0.3.7-51-gaf6ece2 sse4 - 2021.06.01
2021-06-02 11:11:17
i need a newer build
2021-06-02 11:11:37
is jpeg xl improving at less than q 48.6?
2021-06-02 11:12:19
has the medium quality less perceived detail than before or is transparent?
_wb_
2021-06-02 11:14:24
I don't think there have been changes lately in lossy encoding
fab
2021-06-02 11:16:00
yes but medium quality fix is not enough
2021-06-02 11:16:03
for a modern encoder
Scope
2021-06-02 11:16:13
<#803574970180829194>
fab
2021-06-02 11:16:19
people as spidermario said are interested in super low bitrates
2021-06-02 11:16:34
<@!111445179587624960> we're talking about what spidermario did
spider-mario
fab people as spidermario said are interested in super low bitrates
2021-06-02 11:19:56
(when did I say that?)
fab
2021-06-02 11:26:03
even to webp2 if you send the latest build from today
2021-06-02 11:26:27
when it expires? <@!604964375924834314>
spider-mario (when did I say that?)
2021-06-02 11:26:39
ah that was kornel
2021-06-02 11:31:00
when it expires spidermario
eddie.zato
fab <@!387462082418704387> or someone
2021-06-02 12:32:08
I share my builds here https://eddiezato.github.io/bin/
fab
2021-06-02 12:32:29
thanks
2021-06-02 12:32:34
you are a genius
2021-06-02 12:32:53
even with the date
GilDev
_wb_ @here sorry for the spam but it's kind of an important thing
2021-06-02 12:58:02
Never really used AVIF so I guess I’m not the right person to answer this, I just know JPEG XL would be better than the JPEG and PNG I currently use on my websites
improver
2021-06-02 01:03:09
agreeable.
_wb_
spider-mario hey all, we are collecting data for the decision to have JPEG XL on by default in Chrome and we would need your help. Could you please share images or descriptions of use cases where JPEG XL does better or worse than AVIF? either here on Discord, in a GitHub issue, or using this form: https://forms.gle/rnKJt5RWq5tvdXueA
2021-06-02 01:03:09
May want to post that on the jpegxl reddit too?
spider-mario
GilDev Never really used AVIF so I guess I’m not the right person to answer this, I just know JPEG XL would be better than the JPEG and PNG I currently use on my websites
2021-06-02 01:03:28
even without having actually used AVIF, maybe you could say why you were not particularly inclined to?
lithium
_wb_ @here sorry for the spam but it's kind of an important thing
2021-06-02 01:11:54
I tested avif and jxl on non-photographic images, but I can't choose a winner, compare current version(libjxl, libavif), jxl and avif have different strength and weakness.
spider-mario
2021-06-02 01:20:42
we would be very happy to read what you think they are if you have identified them 🙂
GilDev
spider-mario even without having actually used AVIF, maybe you could say why you were not particularly inclined to?
2021-06-02 02:10:44
It wasn’t widespreak enough maybe? And never really got interested in formats, didn’t know you could do that much better. Also I feel like JPEG XL has an overall very advanced philosophy, with best overall compression, lossy and loseless, animations support, progressive rendering, JPEG compatibility… all those things that I feel really makes sense to switch format now (I’m no expert, just fond of tech and an embedded developer, doing web stuff from time to time)
2021-06-02 02:12:05
Actually in my company we are designing an IoT product that has the main purpose to display stuff. We are having trouble decompressing big PNG right now on our microcontrollers, it’s normal it needs to be upgraded for the resolutions we have, but I asked myself if JPEG XL could be integrated and if it would give good performances considering the limited ressources of our embedded products (RAM is pretty expensive compared to those in computers)
2021-06-02 02:12:42
Here’s the product: https://sectronic.fr/portfolio/lisa-laffiche-dynamique-conectee/
Deleted User
spider-mario hey all, we are collecting data for the decision to have JPEG XL on by default in Chrome and we would need your help. Could you please share images or descriptions of use cases where JPEG XL does better or worse than AVIF? either here on Discord, in a GitHub issue, or using this form: https://forms.gle/rnKJt5RWq5tvdXueA
2021-06-02 02:29:38
I only focus on the important parts:
2021-06-02 02:29:50
For low to high bit rates, AVIF looses finer detail rather quickly. JXL looks way more consistent across different content.
2021-06-02 02:29:58
For high to very high bit rates, AVIF struggles to utilize the additional bits. Most dominantly, AVIF produces very bad banding artifacts while I consider only JPEG XL (VarDCT mode) as being able to achieve visually lossless outputs at reasonable file sizes for natural content (at least when outputting to a high bit depth or once they support dithering in the decoder or when using noise=1). Just take a look at the awful sky in the AVIF picture: <https://res.cloudinary.com/mattgore/awful_banding.avif> While JXL handles that perfectly fine...: <https://res.cloudinary.com/mattgore/zero_banding.jxl> ... and is visually no different than the original: <https://res.cloudinary.com/mattgore/original.webp> (Once browser support JXL by default, I will use lossless JXL instead of lossless WebP wherever lossless is needed.) Also, compare how AVIF fails at reproducing the mountain texture around the person's shins.
2021-06-02 02:30:21
For very low bit rates, AVIF avoids common artifacts and might be called pleasing but looks fake at the same time and might even remove important parts (e.g. small stars in the sky). JXL shows some slightly noticeable but unobtrusive artifacts. So when seeing the JXL, you know that it is a lower quality and slightly inaccurate picture but it still looks fine overall. In Contrast, AVIF is way more puzzling to the viewing person since it is hard to decide if the partial blurring of specific regions was artistically intended by the creator or a compromise made by the image encoder.
2021-06-02 02:30:27
Regardless of bit rates, AVIF can cause an unwanted shift in color across a large part of the image. It also struggles with small color details when using chroma subsampling, whereas 4:4:4 isn't supported very well. JXL only has minor saturation issues in some very specific image cases and when combining the optional modular mode at very high quality with the XYB colorspace. (Jon recommended to try out RGB and that worked perfectly.)
2021-06-02 02:30:32
Most of AVIF's issues also weren't even present in the original JPEG image format, so it is a very bad idea to convert those files to AVIF (or WebP) for size reductions. JPEG XL on the other hand even supports truly lossless recompression of these files but also works fine to greatly reduce size of very high quality JPEGs after those have been rendered to pixels.
2021-06-02 02:30:38
Also, the libjxl encoder is quite nice and has a good performance. Free encoders for AVIF aren't that great and performance is rather poor overall. And AVIF can't even store lossless 8 bpc RGB efficiently.
fab
2021-06-02 02:37:23
yes jpeg xl has more control of image
2021-06-02 02:37:28
your comment is good
For high to very high bit rates, AVIF struggles to utilize the additional bits. Most dominantly, AVIF produces very bad banding artifacts while I consider only JPEG XL (VarDCT mode) as being able to achieve visually lossless outputs at reasonable file sizes for natural content (at least when outputting to a high bit depth or once they support dithering in the decoder or when using noise=1). Just take a look at the awful sky in the AVIF picture: <https://res.cloudinary.com/mattgore/awful_banding.avif> While JXL handles that perfectly fine...: <https://res.cloudinary.com/mattgore/zero_banding.jxl> ... and is visually no different than the original: <https://res.cloudinary.com/mattgore/original.webp> (Once browser support JXL by default, I will use lossless JXL instead of lossless WebP wherever lossless is needed.) Also, compare how AVIF fails at reproducing the mountain texture around the person's shins.
2021-06-02 02:38:19
do you used jxl 0.3.7-54
2021-06-02 02:39:01
do not wrong delvish use this value
2021-06-02 02:39:06
maybe he counts himself
2021-06-02 02:39:30
but don't know if he's real number of commit
2021-06-02 02:39:39
how he measure them
lithium
For high to very high bit rates, AVIF struggles to utilize the additional bits. Most dominantly, AVIF produces very bad banding artifacts while I consider only JPEG XL (VarDCT mode) as being able to achieve visually lossless outputs at reasonable file sizes for natural content (at least when outputting to a high bit depth or once they support dithering in the decoder or when using noise=1). Just take a look at the awful sky in the AVIF picture: <https://res.cloudinary.com/mattgore/awful_banding.avif> While JXL handles that perfectly fine...: <https://res.cloudinary.com/mattgore/zero_banding.jxl> ... and is visually no different than the original: <https://res.cloudinary.com/mattgore/original.webp> (Once browser support JXL by default, I will use lossless JXL instead of lossless WebP wherever lossless is needed.) Also, compare how AVIF fails at reproducing the mountain texture around the person's shins.
2021-06-02 03:01:33
zero_banding_avif
fab
lithium zero_banding_avif
2021-06-02 03:02:30
how you created it?
lithium
fab how you created it?
2021-06-02 03:03:42
libavif 0.9.0 (aom [enc/dec]:3.1.0-13-g3bd281799) > avifenc --min 9 --max 9 --minalpha 0 --maxalpha 0 -d 10 -s 4 -j 12 -a end-usage=q -a cq-level=9 -a color:aq-mode=1 -a color:enable-chroma-deltaq=1 -a color:enable-dnl-denoising=0 -a color:denoise-noise-level=8
fab
lithium libavif 0.9.0 (aom [enc/dec]:3.1.0-13-g3bd281799) > avifenc --min 9 --max 9 --minalpha 0 --maxalpha 0 -d 10 -s 4 -j 12 -a end-usage=q -a cq-level=9 -a color:aq-mode=1 -a color:enable-chroma-deltaq=1 -a color:enable-dnl-denoising=0 -a color:denoise-noise-level=8
2021-06-02 03:06:53
thanks
Deleted User
lithium zero_banding_avif
2021-06-02 03:23:05
Interesting. How does it perform on dark gradients? Do you have to manually tune the parameters for each image or can you use the settings you provided for any image content? And still, the other issues of AVIF remain like the blurry mountain texture.
BlueSwordM
Interesting. How does it perform on dark gradients? Do you have to manually tune the parameters for each image or can you use the settings you provided for any image content? And still, the other issues of AVIF remain like the blurry mountain texture.
2021-06-02 03:23:39
AQ-mode 1 and chroma-deltaq are quite powerful as command-line options, and I use them every time. Grain synthesis can be used as well(since it only models after the original noise), and 6-8 is a good strength for almost all images.
2021-06-02 03:23:58
They improve the encoder output to the point of not even being funny.
2021-06-02 03:24:16
To be fair, the encoder has improved a lot on aomenc's side as well, even without using 10-bit(which activates the HBD pipeline and fixes the issue seen in the sky, and I think aomenc should activate the HBD pipeline at all times) I do agree with your points however. It's just that the encoder matters a whole lot more than the standard.
lithium
Interesting. How does it perform on dark gradients? Do you have to manually tune the parameters for each image or can you use the settings you provided for any image content? And still, the other issues of AVIF remain like the blurry mountain texture.
2021-06-02 03:27:49
I think BlueSwordM is explanation this command how to work, thank you <@!321486891079696385> 🙂
Deleted User
2021-06-02 03:28:09
AVIF would need a free encoder that achieves good image quality with one or two parameters at a good speed to impress me. But if JXL get adopted quickly, than that is rather obsolete from my point of view.
_wb_
2021-06-02 03:31:13
The spec limits what even the best encoder can do. The available encoders limit what can currently be done with the format.
2021-06-02 03:31:44
For both, probably there is significant room for improvement.
fab
2021-06-02 03:32:58
av1enc after 4 commits
2021-06-02 03:33:10
q 73.9712
2021-06-02 03:33:20
and write as avif and effort 9 commands
2021-06-02 03:33:27
don't know if firefox can read them
2021-06-02 03:33:36
Jon is from Cloudinary so he knows
AVIF would need a free encoder that achieves good image quality with one or two parameters at a good speed to impress me. But if JXL get adopted quickly, than that is rather obsolete from my point of view.
2021-06-02 03:34:50
av1enc is slow
2021-06-02 03:35:01
effort 9 you need
BlueSwordM
2021-06-02 03:41:15
The main problem is that JPEG-XL is absurdly fast in that image compared to others. However, here's an example where avif with aom has improved a lot in that regard still: https://slow.pics/c/TVmZLYrX Notice how the sky is better on JPEG-XL and preserves the tiny noise that aomenc can't preserve(without the HBD path), at a cost though. aomenc: `avifenc -j 4 --min 3 --max 8 -s 4 --tilecolslog2 1 -a tune=butteraugli -a aq-mode=1 -a color:enable-chroma-deltaq=1 -a color:enable-dnl-denoising=0 -a color:denoise-noise-level=8` JXL: `cjxl input.png output.jxl -s 9 -d 0.8`
lithium
2021-06-02 03:46:58
maybe try cjxl -s 8, -s9 sometime can't get best result?
BlueSwordM
lithium maybe try cjxl -s 8, -s9 sometime can't get best result?
2021-06-02 03:47:15
S9 in this image gives the best result.
2021-06-02 03:47:31
From my own testing, S9 has a subtle, but noticeable improvement in most photographic images.
2021-06-02 03:47:47
I'd like to talk more, but I need to go take my vaccine shot now.
lithium
2021-06-02 03:48:08
oh, thank you <@!321486891079696385> 🙂
2021-06-02 03:52:07
To be honest, I hope jxl can replace avif, so I still wait Jyrki Alakuijala integral transform selection improve.
Deleted User
BlueSwordM The main problem is that JPEG-XL is absurdly fast in that image compared to others. However, here's an example where avif with aom has improved a lot in that regard still: https://slow.pics/c/TVmZLYrX Notice how the sky is better on JPEG-XL and preserves the tiny noise that aomenc can't preserve(without the HBD path), at a cost though. aomenc: `avifenc -j 4 --min 3 --max 8 -s 4 --tilecolslog2 1 -a tune=butteraugli -a aq-mode=1 -a color:enable-chroma-deltaq=1 -a color:enable-dnl-denoising=0 -a color:denoise-noise-level=8` JXL: `cjxl input.png output.jxl -s 9 -d 0.8`
2021-06-02 08:22:25
Am I the only one that can see just a little, but still a bit of banding on the improved AVIF image?
2021-06-02 08:23:47
(The quality *did* improve nevertheless.)
BlueSwordM
Am I the only one that can see just a little, but still a bit of banding on the improved AVIF image?
2021-06-02 08:28:17
Perfectly normal.
2021-06-02 08:28:56
The banding is because the colors are so close together that in 8-bit, aomenc can't seem to get the banding out.
Deleted User
BlueSwordM The banding is because the colors are so close together that in 8-bit, aomenc can't seem to get the banding out.
2021-06-02 08:32:04
Remember that JXL internally does VarDCT on 32-bit floats™️, IIRC... Would 10-bit AVIF help with banding to the point of it being imperceptible?
BlueSwordM
Remember that JXL internally does VarDCT on 32-bit floats™️, IIRC... Would 10-bit AVIF help with banding to the point of it being imperceptible?
2021-06-02 08:35:39
Yeah, 16bpc(10-bit+) processing actually does get rid of the problem entirely.
improver
2021-06-02 08:52:38
yeah improved one still has banding
2021-06-02 08:52:46
while jxl looks fine
veluca
2021-06-02 08:52:49
can confirm that 😛
Petr
eddie.zato I share my builds here https://eddiezato.github.io/bin/
2021-06-03 05:52:29
That's cool, <@!387462082418704387>! Could you please also add the GIMP plugin? (It seems that no Windows "builders" are interested in the plugin…)
eddie.zato
2021-06-03 07:03:41
What dependencies do I need to install in msys2 to build the gimp plugin? gegl, babl, gimp itself, gtk, etc.. Maybe someone who has already built this can help.
Petr
eddie.zato What dependencies do I need to install in msys2 to build the gimp plugin? gegl, babl, gimp itself, gtk, etc.. Maybe someone who has already built this can help.
2021-06-03 07:15:53
<@!604964375924834314> is enlightened in that.
2021-06-03 07:16:18
<@!604964375924834314>, could you please share your knowledge?
spider-mario
eddie.zato What dependencies do I need to install in msys2 to build the gimp plugin? gegl, babl, gimp itself, gtk, etc.. Maybe someone who has already built this can help.
2021-06-03 07:39:06
just `mingw-w64-$arch-gimp` should be enough iirc, but you probably also need to set the `…_PLUGINS` option to “yes” in `CMakeCache.txt`
eddie.zato
2021-06-03 08:05:54
Ok, it failed. 😕 Log: https://pastebin.com/Svq3SncM The command was: ```Bash cmake -B build -G Ninja -S ./ -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DJPEGXL_ENABLE_DEVTOOLS=ON -DJPEGXL_ENABLE_PLUGINS=ON -DJPEGXL_ENABLE_GIMP_SAVING=1 -DJPEGXL_ENABLE_OPENEXR=OFF -DJPEGXL_ENABLE_SKCMS=OFF -DJPEGXL_ENABLE_BENCHMARK=OFF -DJPEGXL_STATIC=ON -DJPEGXL_WARNINGS_AS_ERRORS=OFF -DCMAKE_CXX_FLAGS='-ffunction-sections -fdata-sections' -DCMAKE_EXE_LINKER_FLAGS='-Wl,--gc-sections -Wl,--no-export-dynamic' .. ninja -C build ```
spider-mario
2021-06-03 08:59:03
that’s odd, it seems to work for me
2021-06-03 08:59:16
how old is the build folder? maybe some of what cmake detected from pkg-config is stale
2021-06-03 08:59:57
actually, let me try your exact command
2021-06-03 09:00:12
maybe one of those flags is somehow problematic
2021-06-03 09:01:35
ah, with your command, I get the same error
2021-06-03 09:01:42
now, to find what’s different that causes it
eddie.zato Ok, it failed. 😕 Log: https://pastebin.com/Svq3SncM The command was: ```Bash cmake -B build -G Ninja -S ./ -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DJPEGXL_ENABLE_DEVTOOLS=ON -DJPEGXL_ENABLE_PLUGINS=ON -DJPEGXL_ENABLE_GIMP_SAVING=1 -DJPEGXL_ENABLE_OPENEXR=OFF -DJPEGXL_ENABLE_SKCMS=OFF -DJPEGXL_ENABLE_BENCHMARK=OFF -DJPEGXL_STATIC=ON -DJPEGXL_WARNINGS_AS_ERRORS=OFF -DCMAKE_CXX_FLAGS='-ffunction-sections -fdata-sections' -DCMAKE_EXE_LINKER_FLAGS='-Wl,--gc-sections -Wl,--no-export-dynamic' .. ninja -C build ```
2021-06-03 09:05:11
ah, it’s `-DJPEGXL_STATIC=ON`
2021-06-03 09:05:19
it should work without
eddie.zato
spider-mario ah, it’s `-DJPEGXL_STATIC=ON`
2021-06-03 09:35:21
Okay, it works. But now every tool asks for a bunch of dlls. Because now it's a non-static build, right? How can we build it statically?
spider-mario
2021-06-03 09:36:24
one way would be to have one build folder with `JPEGXL_STATIC=ON` for the tools, and one without for the GIMP plugin
2021-06-03 09:36:57
empirically, it seems that GIMP loads the plugin with all the necessary DLLs
eddie.zato
2021-06-03 09:37:54
Yeah, I thought about two builds. 😄
spider-mario
2021-06-03 09:38:47
I personally just build everything dynamically, and since I run the tools from a mingw shell too, they have access to whatever DLLs they require 😁
2021-06-03 09:39:01
they’re in the PATH
eddie.zato
2021-06-03 09:40:56
Yeah, but unfortunately they can't be shared with people without msys2 😉
2021-06-03 09:51:10
Hehe, I tried this non-static plugin in gimp 2.10.24 and it works fine <:Poggers:805392625934663710>
Petr That's cool, <@!387462082418704387>! Could you please also add the GIMP plugin? (It seems that no Windows "builders" are interested in the plugin…)
2021-06-03 11:35:37
Ok then, now it contains gimp plugin
fab
2021-06-03 11:42:51
what is file-jxl.exe
Petr
fab what is file-jxl.exe
2021-06-03 12:00:16
That's the actual GIMP JXL plugin.
eddie.zato Ok then, now it contains gimp plugin
2021-06-03 12:00:34
Wow, that was super fast, thanks!
fab
Petr That's the actual GIMP JXL plugin.
2021-06-03 12:00:40
where to copy
2021-06-03 12:00:42
and how
2021-06-03 12:00:52
i'm installing the development version
Petr
2021-06-03 12:04:13
GIMP → Edit → Preferences → Folders → Plug-ins. One or more folders should be listed there or you can add another. Then just copy file-jxl.exe to one of those folders and restart GIMP.
Deleted User
2021-06-03 02:27:44
<@!794205442175402004> What is the status of JXL in Cloudinary? Will there be a big anouncement once it fully supports JPEG XL?
_wb_
2021-06-03 02:30:01
you mean when it also does animation? still is already kind of fully supported (at least decoding and encoding work, as well as f_auto serving of jxl)
fab
_wb_ you mean when it also does animation? still is already kind of fully supported (at least decoding and encoding work, as well as f_auto serving of jxl)
2021-06-03 02:30:46
do you plan to add f auto also to libjxl
_wb_
2021-06-03 02:31:08
?
2021-06-03 02:31:23
no, libjxl will only encode jxl, no other codecs 🙂
fab
_wb_ no, libjxl will only encode jxl, no other codecs 🙂
2021-06-03 02:33:56
in cloudinary you have automatic quality based on resolution etc
2021-06-03 02:34:01
why in libjxl there isn't
2021-06-03 02:34:17
why you added automatic quality only to cloudinary
Crixis
2021-06-03 02:37:44
cjxl input output is automatic quality
fab
2021-06-03 02:40:07
For example, the canyons image scaled down to a width of 400 pixels and delivered with both automatic quality selection and automatic format selection (q_auto and f_auto),
2021-06-03 02:40:23
does this exist in jpeg xl in cloudinary
Deleted User
_wb_ you mean when it also does animation? still is already kind of fully supported (at least decoding and encoding work, as well as f_auto serving of jxl)
2021-06-03 02:47:03
Will we see multi-frame/animation support or is this not going to happen anytime soon?
_wb_
Will we see multi-frame/animation support or is this not going to happen anytime soon?
2021-06-03 03:09:19
It will certainly happen, but it might take a while — it's not a super high priority since any browser that supports jxl will have other, better ways to do animation
fab does this exist in jpeg xl in cloudinary
2021-06-03 03:12:15
Sure, but it's super simple in the case of jxl: `q_auto:good` is just the same thing as `cjxl -q 80`, `q_auto:best` is the same thing as `-q 90`, `q_auto:eco` is the same thing as `-q 70` and `q_auto:low` is the same thing as `-q 60`. In cjxl, these are actual perceptual targets, not quantizer settings like in e.g. jpeg or webp, so q_auto is trivial to implement for jxl 🙂
2021-06-03 04:59:16
One more mime db done: https://github.com/gabriel-vasile/mimetype/issues/154#event-4837715696
fab
2021-06-03 05:00:25
do you standardized the logo that information and tech site will share
_wb_
2021-06-03 05:07:10
You mean <:JPEG_XL:805860709039865937> ?
2021-06-03 05:07:30
No, it's not part of the standard
fab
2021-06-03 05:12:11
no the other
2021-06-03 05:12:15
of github
_wb_
2021-06-03 05:12:33
<:JXL:805850130203934781> ?
fab
2021-06-03 05:12:36
yes
_wb_
2021-06-03 05:12:40
That one certainly not
fab
2021-06-03 05:12:52
so you will not decide copyright
2021-06-03 05:13:06
or help to clarify how it works
_wb_
2021-06-03 05:13:56
<:JPEG_XL:805860709039865937> is the official logo, made by the JPEG committee, and it is CC-BY-ND
2021-06-03 05:14:40
<:JXL:805850130203934781> is the libjxl logo, and it is CC0
Deleted User
2021-06-05 03:02:08
I want better JXL animation support 😬
2021-06-05 03:02:12
(plz)
Jim
2021-06-05 03:02:58
In what? Browsers? They will add it in eventually, it's not as important of a feature.
veluca
2021-06-05 03:06:03
what does better mean?
Deleted User
2021-06-05 04:16:57
Showing them animated (or at all) and supporting conversion back to APNG.
veluca
2021-06-05 04:21:00
first one works in chrome beta (or it should)
2021-06-05 04:21:09
apng, eh, that's another story
Deleted User
veluca first one works in chrome beta (or it should)
2021-06-05 04:31:27
Yes, but would be nice if other programs make that work as well.
diskorduser
I want better JXL animation support 😬
2021-06-05 05:49:43
Cute
Jyrki Alakuijala
2021-06-07 08:10:08
I'm thinking about convincing Chrome and possible obstacles there
2021-06-07 08:10:32
what is the sentiment here if we would enable lossless JPEG XL features only in the first stage
2021-06-07 08:11:03
i.e., lossless JPEG recompression, pixel lossless (modular), perhaps palettized imaging, too
2021-06-07 08:11:36
that way JPEG XL wouldn't conflict with AVIF's feature space and could be more attractive for integration
improver
2021-06-07 08:12:16
that'd cause confusion for adopters (eg if browser can do image/jxl does that mean all features or only lossless?)
Jyrki Alakuijala
2021-06-07 08:13:04
yes, but if alternative is no jpeg xl in browsers right now, it might still be better to do something
2021-06-07 08:13:56
we haven't yet fully measured how strong Chrome's commitment to AVIF is and if they will be protective around it
2021-06-07 08:15:31
we might need to add another mime type later for lossy compression, or solve it otherwise -- for example by having both lossy and lossless behind a flag
improver
2021-06-07 08:17:34
chromium being fast to update may not poison it too much, so it somewhat makes sense, but keeping it that way for too long could be sorta dangerous, especially if any other browsers would decide to do the same for whatever reason
Deleted User
2021-06-07 08:18:20
Cripling jxl doesn't sound like a good idea to help with adoption
Jyrki Alakuijala
2021-06-07 08:18:31
I'd anticipate a six month period like that and turning both on at the first moment when another browser integrates
Deleted User
2021-06-07 08:18:40
I think the technical merits of the format will win in the end
Jyrki Alakuijala
2021-06-07 08:18:52
nothing at all, cripling, or full launch are the options
2021-06-07 08:20:31
AOM might not like it a full launch as it would possibly deprecate/reduce the value of AVIF, and AOM member companies have invested into it -- suddenly the hardware decoders they built would be a worthless investment
2021-06-07 08:21:25
if AOM doesn't like it, Chrome needs to decide whom to make annoyed -- their long-term video compression technology partners or a couple of image enthusiasts
improver
2021-06-07 08:21:38
would they actually even use AVIF w hw decoding? i think hw for many-images use case is sorta bad fit anyway
Jyrki Alakuijala
2021-06-07 08:21:47
no, they wouldn't use it (or perhaps they'd use it in extreme use cases like animation or large photos loaded from flash)
2021-06-07 08:21:59
but currently they think they would, otherwise they wouldn't be specifying and building those decoders
Deleted User
2021-06-07 08:22:30
AOM should stick to video. AV1 is good for video.
Jyrki Alakuijala
2021-06-07 08:22:52
they define media as their scope nowadays -- they started with video
2021-06-07 08:23:18
"Next Generation, Open-Source Digital Media Technology for Everyone"
2021-06-07 08:23:51
I consider the main reason it was founded was inefficient IP practices on media codecs at ISO
2021-06-07 08:24:27
ISO creating a lucrative business to make billions of small incremental improvements and about the worlds need to communicate through mpeg standards
2021-06-07 08:24:51
companies got tired of it, got together and built AOM
2021-06-07 08:26:08
now, we are coming from ISO with our proposal hitting to their foundational thought that ISO is dangerous/inefficient/to-be-avoided
Deleted User
2021-06-07 08:26:18
JPEG had HDR, alpha and other features that weren't implemented at launch and the snowball rolled and no one implemented them.
Jyrki Alakuijala
2021-06-07 08:26:38
yes, it is a risk that can happen
2021-06-07 08:27:06
still, lossless jpeg recompression + AVIF would be a better world than just AVIF
Deleted User
2021-06-07 08:27:39
but will you be truly happy in that world? 🙂
Jyrki Alakuijala
2021-06-07 08:28:02
I'm a pragmatic person and go for the best available option whatever it is 😄
2021-06-07 08:28:45
the codebase for JPEG recompression has significant overlap with the VarDCT coding -- the full libjxl decoder would be shipped, just with VarDCT disabled for first six months or so
Deleted User
2021-06-07 08:29:45
Yes, but first impressions matter. If content creators got the first impression that jxl can be used only for that it will be hard to change their mind later
Crixis
2021-06-07 08:32:29
Artificialy cut the decoder features don't sound good
improver
2021-06-07 08:33:12
I don't really think that it'll be as big political issue. AV1 isn't going away anywhere. but i could be wrong idk
2021-06-07 08:34:58
i personally would be fine just with lossless part because i have a lot of anime art in my dl folder
Jyrki Alakuijala
2021-06-07 08:36:14
We will learn about the balance of political, communication vs technical in the coming weeks with the Chrome 93 launch
2021-06-07 08:37:01
in my experience every compression achievement that I was participating was super political, and success was more impacted by soft influencing than by technical superiority
2021-06-07 08:37:24
one of my greatest achievements was WebP lossless which took three hits because of politics
2021-06-07 08:37:45
1. image size was restricted to 'match' that of WebP lossy
improver
2021-06-07 08:38:24
1 makes sense tho it would be sorta legit weird to have that mismatching documented
Jyrki Alakuijala
2021-06-07 08:38:31
2. I wasn't allowed to make my own 16 bit per channel lossless version as layers were going to solve that. However, layers was cancelled afterwards.
improver
2021-06-07 08:38:41
ouch
Jyrki Alakuijala
2021-06-07 08:39:12
3. It took 10 years to deploy it in all browsers, because there was no effective soft-influencing
2021-06-07 08:39:24
the opposite effort is WOFF2
2021-06-07 08:39:35
it had the greatest team to do communication
2021-06-07 08:39:56
perhaps 10 big guys in the industry just for communicating around it
2021-06-07 08:40:34
me and Zoltan hacked up an initial solution up in seven weeks and it was already approved (still with some conditions) by the respective W3C committee
2021-06-07 08:41:20
it went smooth because they knew how to reach agreements -- they said they learned it the hard way during WOFF 1.0 standardization
2021-06-07 08:41:40
WOFF2 reached about 85 % deployment rate in the first year
improver
2021-06-07 08:43:14
maybe it's also sorta about where it gets standartised? though yes, communication is v important
Deleted User
2021-06-07 08:43:43
But what is the problem with adoption at the moment. From what I see jxl will be available behind a flag in firefox, chrome and edge. To me this looks spectacular. What is the problem?
improver
2021-06-07 08:44:27
i think we will see how it plays out in coming weeks
veluca
2021-06-07 08:44:54
I don't see a really feasible way to just enable JPEG recompression...
Jyrki Alakuijala
2021-06-07 08:45:52
yes, it is difficult to do it with JPEG because JPEG is already lossy
2021-06-07 08:46:10
we could however disable some of the VarDCT mechanisms like adaptive quantization
veluca
2021-06-07 08:47:04
I don't think it will affect the decision in any way, but we'll see today
Jyrki Alakuijala
But what is the problem with adoption at the moment. From what I see jxl will be available behind a flag in firefox, chrome and edge. To me this looks spectacular. What is the problem?
2021-06-07 08:47:13
putting it in so far is an engineering decision -- turning it on is a director level decision
veluca
2021-06-07 08:47:42
I do think we can use things like JPEG recompression to help sell it in a different way though
lithium
Jyrki Alakuijala the codebase for JPEG recompression has significant overlap with the VarDCT coding -- the full libjxl decoder would be shipped, just with VarDCT disabled for first six months or so
2021-06-07 08:47:44
oh no... I really need jxl lossy vardct... 😢
Deleted User
Jyrki Alakuijala putting it in so far is an engineering decision -- turning it on is a director level decision
2021-06-07 08:48:19
oh, so it might not be enabled after all 😐
improver
2021-06-07 08:50:11
jpeg recompression is kinda vardct codepath.. but var part of that would be disabled i think
Deleted User
veluca I don't think it will affect the decision in any way, but we'll see today
2021-06-07 08:50:36
What decision will be held today?
veluca
2021-06-07 08:50:48
no decision, just a chat
improver
2021-06-07 08:54:40
avif still makes sense if encoders have av1 encoding hw
Deleted User
2021-06-07 08:55:41
But not too much on the web where you have many images on a page and is hard to use hw
improver
2021-06-07 08:56:15
yea not at client side
lithium
2021-06-07 08:58:51
I don't want use avif tune-PSNR on my still image.😢
Deleted User
2021-06-07 09:00:01
So facebook and cloudflare would be interested to use jxl, so if there are big users they should enable support
lithium
2021-06-07 09:02:53
In my opinion, I think vardct just need some improve for non-photographic images, jxl vardct quality will better than avif lossy on any use case.
Jyrki Alakuijala
2021-06-07 09:04:15
I still have the ideas in the pipeline, haven't been able to act on them
lithium
2021-06-07 09:06:54
I understand 🙂 , I compare jxl and avif a few month before(non-photographic images content).
Deleted User
2021-06-07 09:07:59
<@!532010383041363969> if you enhance it, they will come! 🙂
_wb_
Jyrki Alakuijala that way JPEG XL wouldn't conflict with AVIF's feature space and could be more attractive for integration
2021-06-07 09:31:04
Sounds like a bad idea to me to intentionally cripple jxl to make it more acceptable to avif fans
Jyrki Alakuijala
2021-06-07 09:31:42
would you rather delay by 12 months than ship lossless recompression and modular only?
monad
2021-06-07 09:31:42
Really hoping you don't have to take this path. The lossless features are great, but JXL's VarDCT is most significant for new images, IMO.
improver
2021-06-07 09:43:44
likewise. i hope it doesn't come to that
_wb_
Jyrki Alakuijala would you rather delay by 12 months than ship lossless recompression and modular only?
2021-06-07 09:51:49
Good question. If it's 12 months, I have to think about it. If it's 12 weeks: yes, I would rather delay than ship something partial and have mime type weirdness
Jyrki Alakuijala
2021-06-07 09:52:33
I suspect we'd be talking a minimum of 6 months if we don't find a compromise with AVIF
2021-06-07 09:52:42
... and very likely 12 months
Crixis
2021-06-07 09:53:17
in this case you need to ship a codepath from png to jpeg-recompressed I think
Jyrki Alakuijala
2021-06-07 09:53:43
we haven't had capacity to convince everyone, so I guided our effort to focus on facebook only as they are one of the biggest owning both ends (client/server)
2021-06-07 09:54:10
next up is convincing a browser and I was hoping we can do that with facebook only
2021-06-07 09:54:32
Chrome is unlikely the first browser to support as they are worried about their reputation in AOM
_wb_
Jyrki Alakuijala now, we are coming from ISO with our proposal hitting to their foundational thought that ISO is dangerous/inefficient/to-be-avoided
2021-06-07 09:54:59
I think we need to make a point that JPEG != MPEG, and not all ISO committees are the same. Do they also want to get rid of C++ and A4 paper?
Jyrki Alakuijala
2021-06-07 09:55:03
that is why I'm looking at a feature set that wouldn't make anyone in AOM upset
2021-06-07 09:55:23
truth and perception are different
2021-06-07 09:55:39
in short timespans perception matters more
2021-06-07 09:56:19
gif, png, jpeg, bpg and zlib are probably ISO standardized, too (didn't check)
2021-06-07 09:56:54
ISO/IEC 21320-1:2015 (a subset of ZIP file format 6.3.3) etc. etc.
2021-06-07 09:58:01
speculation: these are video people who have dedicated their lives to making video better -- a significant personal achievement for them was to win over mpeg hegemony and set up AOM
2021-06-07 09:58:29
what other things are on going matter less to them than their personal experience and their personal achievements
lithium
2021-06-07 09:58:53
jxl feature => near-lossless(vardct) and lossless avif feature => lossy(medium and low bbp lossy)
Deleted User
2021-06-07 09:59:37
What if you ship a subset of jxl and it gets accepted in browsers, but the full spec never gets accepted?
Jyrki Alakuijala
2021-06-07 09:59:50
that can happen
2021-06-07 10:00:50
it is just my speculation right now, no one else is proposing this
2021-06-07 10:00:59
I'm just trying to avoid a waiting game
monad
lithium jxl feature => near-lossless(vardct) and lossless avif feature => lossy(medium and low bbp lossy)
2021-06-07 10:01:25
Honestly, AVIF's blur just looks dishonest to me, I prefer VarDCT.
fab
2021-06-07 10:03:17
i prefer my jpg to be compressed
2021-06-07 10:03:26
even if doesn't look natural
_wb_
2021-06-07 10:03:34
The main motivation for AOM is to have royalty free media codecs. JPEG XL is a royalty free media codec. We are not their enemy. If anything, having jxl in chrome might help stop Nokia from starting litigation with their patents on HEIF, which could change the royalty-free status of AVIF...
fab
2021-06-07 10:03:42
like cavif or jpeg xl
lithium
monad Honestly, AVIF's blur just looks dishonest to me, I prefer VarDCT.
2021-06-07 10:05:47
I agree your opinion, but for now we need find a new format position. > Jyrki Alakuijala > why I'm looking at a feature set that wouldn't make anyone in AOM upset
Deleted User
2021-06-07 10:06:36
I'm thinking that facebook could start using jxl even without browser support. They could enable the use in the phone apps and use it because it is a better format and it useses less space for the same quality (mobile data bandwith).
monad
2021-06-07 10:15:16
Without browser engine support?
_wb_
2021-06-07 10:15:26
In their app they can do that
2021-06-07 10:15:51
It's just nicer if they can do it also outside the app
2021-06-07 10:17:17
I think it might help if we could get AOM to recognize that any royalty-free codec helps to make the landscape more royalty-free, not just the ones they develop themselves.
2021-06-07 10:17:57
We needed something to compete with HEIC, and both AVIF and JXL serve that role
monad
2021-06-07 10:18:17
That's a more positive strategy.
_wb_
2021-06-07 10:18:37
Arguably for many use cases, JXL serves that role better than AVIF
2021-06-07 10:19:16
So they should see us as allies, not opponents.
2021-06-07 10:22:09
It's a bit early to tell, and more subjective studies are needed, but I think for Cloudinary a likely deployment strategy will be that we use AVIF for low-fidelity high-appeal targets (q_auto:low) and JXL for high-fidelity targets (q_auto:good)
2021-06-07 10:23:02
For that we do need a non-crippled jxl in browsers though.
lithium
2021-06-07 10:23:29
I just thinking if define jxl format position to near-lossless(vardct) and lossless, Maybe format position will like this jpeg(avif), png(jxl), lossy png(jxl) ?
_wb_
2021-06-07 10:24:23
I see avif as a good replacement for lossy WebP
monad
2021-06-07 10:25:51
Yes, I don't see jxl threatening avif's longevity in low bpp.
_wb_
2021-06-07 10:27:09
Yes
Crixis
2021-06-07 10:27:50
If you ship only jpeg-re-compression how you make sure that in the future you can deploy full decoder?
monad
2021-06-07 10:28:17
You can't, that's the issue.
_wb_
2021-06-07 10:28:56
Shipping an incomplete decoder is a bad idea imo
lithium
2021-06-07 10:30:55
Current cwebp have three mode, lossy, near-lossless, lossless, avif can't work very well on near-lossless and lossless role.
2021-06-07 10:35:33
guetzli and pik for high quality lossy(near-lossless), FLIF and FUIF for lossless. jpeg xl vardct lossy and modular lossy-palette for near-lossless jpeg xl modular lossless for lossless
Scope
_wb_ Shipping an incomplete decoder is a bad idea imo
2021-06-07 10:36:22
I also agree that this is a bad idea, in my opinion it is better to defend full implementation by all means
2021-06-07 10:41:29
Lossless also has no efficiency alternatives (even after changes in AVIF lossless), except that speed/efficiency is still worth some improvements (to be in most cases better and faster than WebP and PNG encoders), also lossy is better suited for Web or very large resolutions
lithium
2021-06-07 10:47:13
For now only webp have near-lossless implement(and some lossy png implement), I think maybe we can change format position to near-lossless and keep full implementation, avoiding challenge avif lossy format position?
_wb_
2021-06-07 11:05:22
The way I see it, the main threat is that of inertia: people sticking to the old JPEG because 1) it just works everywhere, 2) it's fast to encode and decode, 3) it can do progressive, 4) it does a 'good enough' job for medium to high fidelity. What could happen is not that avif becomes the new codec of choice, or jxl becomes it, but people just stick to the old jpeg. What AVIF has to offer to dethrone JPEG is doing a great job at low fidelity (orders of magnitude better than what JPEG can do there) and doing significantly better than JPEG at medium fidelity (let's say "typical web quality"), and that it supports alpha and HDR. What JXL has to offer to dethrone JPEG is that it can also do 2) and 3) and is consistently significantly better than JPEG at all fidelity targets, and that it supports alpha and HDR. What neither of them has at this point though, is 1).
fab
2021-06-07 11:06:10
so the thing is that jpeg xl way of working can't be useful for photographic low fidelity
2021-06-07 11:06:19
so you can't make a mode for that
2021-06-07 11:06:32
but did you ever said chrome won't adopt jpeg xl
2021-06-07 11:06:40
when chrome will adopt jpeg xl
2021-06-07 11:06:50
they are waiting his development
2021-06-07 11:07:03
to have better modes
_wb_
2021-06-07 11:07:11
we don't know that yet, likely jxl can be a lot better at high appeal low fidelity and it currently doesn't because that's not what the encoder has been tuned for so far
2021-06-07 11:07:36
similarly maybe avif can also do a lot better at high fidelity, with better encoders
fab
2021-06-07 11:07:39
like even (basis compression) sometimes beats jxl
2021-06-07 11:07:51
basis (compression)
2021-06-07 11:07:55
is on squoosh
2021-06-07 11:08:14
in the basis branch
2021-06-07 11:08:23
i don't want jxl to reach those bitrates
2021-06-07 11:08:39
but at least compression that sounds natural
2021-06-07 11:08:41
like an aom mode
2021-06-07 11:08:47
is even planned?
2021-06-07 11:08:53
or an automatic thing
2021-06-07 11:09:11
or will be disabled for some formats
2021-06-07 11:09:21
like do you have a spoiler?
_wb_
2021-06-07 11:09:52
What do you mean?
fab
2021-06-07 11:10:02
what julia is doing
2021-06-07 11:10:13
a different palette
2021-06-07 11:10:47
or something interesting that could make jxl as aom even if worse because of different design
_wb_
2021-06-07 11:16:35
all kinds of things are possible, but I think at this point it's not that much about technical capabilities of codecs but more about the politics and the possibility that some AOM members would be annoyed to see Chrome support for JXL which they might see as a competitor for AVIF, and the Chrome team not wanting to annoy their long-term video compression technology partners.
2021-06-07 11:17:50
Even if JXL would be consistently better than AVIF on all fronts, that wouldn't help for the political question, in fact it would only make it worse.
Deleted User
2021-06-07 11:18:54
I think having browser support, even if it is behind a flag, is a great place to start. People that want to study jxl support can test it and see its merits. If they see value in jxl they will push for adoption. If they don't, then they won't use it, even if there is full browser support.
2021-06-07 11:20:57
What I think will help a lot with adoption is having a decoder for Windows. The best way would be to have a Windows Imaging Component. So if https://github.com/mirillis/jpegxl-wic would provide also a release that would help. What would be even more helpful is if it would be included in the Microsoft Store. So when you double click on a jxl file Windows would popup a meessage that you need jxl support to open it and take you to the Microsoft store to install it.
fab
2021-06-07 11:21:27
mirillis makes paid softwares
Deleted User
2021-06-07 11:22:18
He or someone else could provide a release.
_wb_
2021-06-07 11:23:44
The problem is that once a browser supports something, there's an implicit commitment that they'll keep supporting it. Removing support for something once it's used in the wild is a problem.
eddie.zato
2021-06-07 11:45:57
I'm not sure exactly who was developed the WIC-codec for WebP. But it became available in the libwebp releases repository very early on. Having the WIC-codec for JXL active, ideally from the developers of JXL itself, will allow Windows users to enable its support with just a couple of clicks. Many viewers support viewing images with WIC.
username
2021-06-07 12:28:04
having a up to date JXL WIC codec would be really nice because I use windows photo viewer as my main image viewer and also I use paint.net as my main image editor and paint.net has a plugin for it that lets it decode any WIC codecs installed on the system
2021-06-07 12:31:32
currently I am using the outdated mirillis codec to do stuff with JXL files which is not that ideal since it's based on a pretty old version of libjxl
2021-06-07 12:33:25
there is this https://github.com/saschanaz/jxl-winthumb which exists but is pretty useless since it's just a thumbnailer and nothing else
2021-06-07 12:34:16
the creator did show possible interest in making a WIC codec at some point though https://github.com/saschanaz/jxl-winthumb/issues/3
Scope
2021-06-07 12:36:58
Yes, I also use apps that mostly decode different formats through WIC and this would be useful, except it requires a maintainer who has free time to do it and who also uses and knows Windows
fab
2021-06-07 12:42:10
imageglass is pretty fast.
2021-06-07 12:42:21
just open imageglass and select and make it by default
2021-06-07 12:42:36
it's based on very old version of jxl
2021-06-07 12:42:48
but i didn't see high usage of ram
2021-06-07 12:43:04
i saw 84 mb for many megapixels
2021-06-07 12:43:06
more than 20
Scope
username the creator did show possible interest in making a WIC codec at some point though https://github.com/saschanaz/jxl-winthumb/issues/3
2021-06-07 12:43:08
So maybe it would be worth it to re-open this issue (describing which applications are used and support WIC)? Because I'm not sure that in the near future someone from the Jpeg XL team will have time to create a WIC decoder
fab
2021-06-07 12:44:13
also the speed could change and encoder needs to be updated and supported
2021-06-07 12:44:26
also decoder can implement new features
2021-06-07 12:44:52
i think google people don't like what wb did
2021-06-07 12:45:00
to create this server r/jxl art
2021-06-07 12:45:06
my presence fabiorug
2021-06-07 12:45:55
he talk about cloudinary everytime he mentions jxl
2021-06-07 12:46:48
he is really convinced that browsers or fb will lead adoption to his modular softwares
Scope Yes, I also use apps that mostly decode different formats through WIC and this would be useful, except it requires a maintainer who has free time to do it and who also uses and knows Windows
2021-06-07 12:47:33
yes an official plugin for windows 11 could be useful
2021-06-07 12:47:39
but windows 11 isn't even presented
2021-06-07 12:47:43
so that's the problem
2021-06-07 12:48:00
why worry about, i guess jyrki and the devs know
Deleted User
fab i think google people don't like what wb did
2021-06-07 12:48:15
Yes, JXL art poses great danger to Google.
fab
Yes, JXL art poses great danger to Google.
2021-06-07 12:48:24
r4ight
2021-06-07 12:48:48
people hydolizing hell piano
2021-06-07 12:48:57
or wwwqart
Deleted User
fab he talk about cloudinary everytime he mentions jxl
2021-06-07 12:49:41
Yes, I'm pretty sure they pay him rather well.
fab
2021-06-07 12:50:12
i guess he will ban someone
2021-06-07 12:50:23
if we can continue
2021-06-07 12:52:05
he didn't find the invite, he even admitted that cloudinary found the call for proposal
2021-06-07 12:52:14
in one of his video
2021-06-07 12:52:22
found on xx
2021-06-07 12:52:27
you know
2021-06-07 12:53:53
don't understand this comment
2021-06-07 12:54:09
so don't know if i need to agree
2021-06-07 12:54:47
i got 19000 views for a jxl art
_wb_
Scope So maybe it would be worth it to re-open this issue (describing which applications are used and support WIC)? Because I'm not sure that in the near future someone from the Jpeg XL team will have time to create a WIC decoder
2021-06-07 12:54:57
It's not just time — few of us use Windows and are familiar with it
fab
2021-06-07 12:55:08
windows 11
2021-06-07 12:55:22
so in october call of proposal for plugin integration in windows 11
Scope
_wb_ It's not just time — few of us use Windows and are familiar with it
2021-06-07 12:55:47
Yep (and so far afaik only spider-mario uses Windows) https://discord.com/channels/794206087879852103/803574970180829194/851439593978200094
fab
2021-06-07 12:55:59
in august windows 11 insider
2021-06-07 12:56:09
september release
2021-06-07 12:56:29
jxl in 2022
Deleted User
fab so don't know if i need to agree
2021-06-07 12:56:47
See, he doesn't even think about defending himself.
fab
2021-06-07 12:57:33
jxl will become the standard
veluca
_wb_ It's not just time — few of us use Windows and are familiar with it
2021-06-07 12:58:13
<@!604964375924834314> ? 😄
_wb_
2021-06-07 12:58:40
I think also <@!806098177983643658>
2021-06-07 12:59:59
I do think it would be good to spend some more effort on plugins and in general on making life easier for end-users
spider-mario
2021-06-07 01:02:28
thing is, I use Windows kind of as if it were Linux
_wb_
2021-06-07 01:03:09
we've correctly spent a lot of effort on browsers so far, and I do think they are a major force in driving adoption of new codecs (they have short release cycles and better compression is very relevant for the web, so it's a natural target), but we should get more OS level support, image authoring tools support, viewer support, for example even just a simple open sourced Android demo viewer app could be useful to encourage others to also integrate libjxl in their Android apps
raysar
2021-06-07 01:04:54
I don't understand the link between adoption of av1, and the choice to use avif format (which is fun for low bpp but not a real image format, and avif creator know that) Not using avif have zero impact of av1 future. AOM was not create for avif.
Deleted User
2021-06-07 01:07:49
+GIF replacement: AV1/AVIF
raysar
2021-06-07 01:08:21
Google map (and streetview) with progressive JXL would be awsome !
Deleted User
2021-06-07 01:10:05
<@!532010383041363969> What about only dropping animation support for the first 6 months? That's quite a big compromise I would say.
Scope
2021-06-07 01:15:44
I don't think splitting up the lossless/Jpeg recompression part and the lossy/animation part will be better for either side, it almost doesn't reduce the complexity and size of the decoder, because most lossy part is still needed for recompression Perhaps it would be better to promote the lossy compression much less for a while and focus on the other aspects (so as not to create competition for AVIF, but still have a full decoder)
raysar
2021-06-07 01:20:46
I think we need to email many tech journalist to speak about the "revolutionary futuristic image codec" which is called the JXL 😄 I'm pretty shure the battle is on the public place. Geek are smart and will prefer jxl to avif 😄
2021-06-07 01:21:21
Il will do it for Fance 😄
Scope
Scope I don't think splitting up the lossless/Jpeg recompression part and the lossy/animation part will be better for either side, it almost doesn't reduce the complexity and size of the decoder, because most lossy part is still needed for recompression Perhaps it would be better to promote the lossy compression much less for a while and focus on the other aspects (so as not to create competition for AVIF, but still have a full decoder)
2021-06-07 01:41:02
And also about different decoder variations and mime types, it might shorten the time to enable the initial implementation, but if we consider a more distant future and usability and user-friendliness for the next decades at least, it might not be the best solution (as well as there will be more arguments not to add lossy JXL at all, because there is already lossy AVIF and that is enough)
_wb_
2021-06-07 01:47:49
https://bugs.chromium.org/p/chromium/issues/detail?id=1178058#c38
2021-06-07 01:48:01
Adobe enters the room
paperboyo
2021-06-07 01:48:16
↑ this is big! (they still haven’t added WebP!)
Jim
2021-06-07 01:49:39
https://bugzilla.mozilla.org/show_bug.cgi?id=1539075#c19
2021-06-07 01:49:44
Posted on Firefox too
2021-06-07 01:50:15
A bit of an odd one though... I don't think they even support WebP, do they?
Deleted User
2021-06-07 01:56:46
https://memegenerator.net/img/instances/50299481/lets-get-ready-to-ruuuuumbleeeeeee.jpg
2021-06-07 02:00:58
(btw, how do we know that they are actually from Adobe?)
Scope
2021-06-07 02:02:11
Leonard Rosenthol (Lazerware) https://youtu.be/sJINedGixdo
Jim
2021-06-07 02:02:36
The email is @adobe.com - I believe you have to verify it before you can post.
2021-06-07 02:04:07
At least on Firefox. The Chrome was says lazerware which is odd.
Jyrki Alakuijala
2021-06-07 02:04:43
send them the same photo of them compressed with JPEG XL and AVIF at 2 bpp and ask which one they'd like to see in their future 😄
_wb_
2021-06-07 02:05:41
I know Leonard from the JPEG committee, he's also behind PDF
Jyrki Alakuijala
<@!532010383041363969> What about only dropping animation support for the first 6 months? That's quite a big compromise I would say.
2021-06-07 02:05:54
This is actually a good proposal, I'll add it into the features to be discussed -- (however, I have no guarantees that proposing to drop something is a working strategy at all, it is just an idea)
_wb_
2021-06-07 02:07:13
Leonard told me they don't have WebP support in Photoshop because it's not a "proper standard"
2021-06-07 02:07:27
(or in PDF for that matter)
Jim
2021-06-07 02:08:28
What is meant by "proper standard"? I would think if it wasn't it wouldn't be supported by all browsers, other image editors, most image viewers...
paperboyo
_wb_ Leonard told me they don't have WebP support in Photoshop because it's not a "proper standard"
2021-06-07 02:09:06
Hopefully JXL support will be better than PNG (1bit transparency for years, still no sRGB chunk support etc). 😜
_wb_
Jim What is meant by "proper standard"? I would think if it wasn't it wouldn't be supported by all browsers, other image editors, most image viewers...
2021-06-07 02:11:29
WebP is a Google format, like PSD is an Adobe format. Google defined the bitstream, Google could change it if they wanted to, there is no international standardization organization that has some kind of process, it's just a Google thing.
fab
2021-06-07 02:12:51
fb if it wants to have aom dedicate mode for jxl
2021-06-07 02:12:57
what's the problem
2021-06-07 02:13:12
likely users won't notice
2021-06-07 02:13:19
and fb can execute clouds
2021-06-07 02:13:23
they are not poor
_wb_
2021-06-07 02:13:56
Not that the WebP bitstream is going to change at this point, but initially it actually did: e.g. alpha, lossless, animation, color profiles were added later iirc, so for non-Google companies to add support for what can be a moving target is kind of risky
fab
2021-06-07 02:14:03
fb don't support screenshots
2021-06-07 02:14:13
like it wants a specific ratio in images
_wb_
2021-06-07 02:16:17
Fabian you are very cryptic.
Jim
_wb_ Not that the WebP bitstream is going to change at this point, but initially it actually did: e.g. alpha, lossless, animation, color profiles were added later iirc, so for non-Google companies to add support for what can be a moving target is kind of risky
2021-06-07 02:17:01
I think AV1 is an ISO standard, but isn't the bitstream not solidified as well?
fab
2021-06-07 02:17:29
like this photo can be made to 800 kb
2021-06-07 02:17:39
without using d 3
2021-06-07 02:17:57
reaching aom compression
2021-06-07 02:17:59
2021-06-07 02:18:07
this in a high quality jpg
_wb_
2021-06-07 02:18:15
AV1 is not an ISO standard, but it is created by an industry consortium (AOM) that includes quite a lot of different companies, so at least it is kind of standardized in that way.
2021-06-07 02:18:35
The av1 bitstream was finalized 3 years ago
fab
2021-06-07 02:19:03
i want fb to use lossy
2021-06-07 02:19:13
lossy jxl
2021-06-07 02:19:24
with a dedicate mode only compression
2021-06-07 02:19:28
like basis, aom
2021-06-07 02:19:47
to hide jpg
2021-06-07 02:20:06
make it seems photo that loses his vivacity
2021-06-07 02:20:17
like original photo that weight 92 kb
2021-06-07 02:20:25
even if the photo is reduced to 50 kb
2021-06-07 02:20:27
....
2021-06-07 02:20:40
i think jyrki said it don't want to do
_wb_
2021-06-07 02:20:41
AVIF however is something that does seem to be a bit of a moving target, and does get regular changes still ("version 1.0" is two years old, but they keep making changes so it appears to be a not very frozen thing)
fab
2021-06-07 02:20:51
because jxl is not designed in this way
2021-06-07 02:20:53
so is risky
2021-06-07 02:21:13
but personally do you consider this idea <@!794205442175402004>
Jim
_wb_ AV1 is not an ISO standard, but it is created by an industry consortium (AOM) that includes quite a lot of different companies, so at least it is kind of standardized in that way.
2021-06-07 02:21:31
Ah, I misread that. It is based on other standards. But I've seen a number of people claiming the bitstream could change so that is rather confusing.
fab
2021-06-07 02:21:42
to make a jpg photo smaller and more distorted
2021-06-07 02:21:44
face etc
2021-06-07 02:21:58
and making it look like original with filtering