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_
2024-06-14 02:51:40
For reference (since it can be annoying to find specific topics in a broad AMA reddit thread), here are the three questions that were asked on JXL: https://www.reddit.com/r/firefox/comments/1de7bu1/comment/l8g0hqx/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button https://www.reddit.com/r/firefox/comments/1de7bu1/comment/l8fp95c/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button https://www.reddit.com/r/firefox/comments/1de7bu1/comment/l8frw87/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
yoochan
_wb_ is u/IDUnavailable you?
2024-06-14 04:31:36
Nope, yota-code... I contributed on this one https://www.reddit.com/r/firefox/comments/1de7bu1/comment/l8fp95c/ and, at the end, got a bad excuse too
conrad!
_wb_ is u/IDUnavailable you?
2024-06-14 04:52:18
That would be me. Unfortunately not surprised by their response but I agree that I'd be much more accepting of a more honest "nobody cares what Firefox does so why bother doing anything until Chromium forces our hand" type answer.
Quackdoc
conrad! That would be me. Unfortunately not surprised by their response but I agree that I'd be much more accepting of a more honest "nobody cares what Firefox does so why bother doing anything until Chromium forces our hand" type answer.
2024-06-14 04:53:54
firefox cant directly say that since the only reason firefox has any significant market share is because it "prevents the chrome monopoly from dictating the future of the web"
2024-06-14 04:54:00
(which is a lie)
HCrikki
2024-06-14 06:21:19
when you fear your bs debunked with hard facts and numbers, retreat into silence
_wb_
2024-06-15 11:36:20
Sorry, maybe I should have stripped those. Though they don't seem to contain much info...
KKT
2024-06-18 10:11:18
Not sure if this has been posted elsewhere: https://gregbenzphotography.com/lightroom-acr/shrink-your-raw-files-with-compressed-dng/
CrushedAsian255
KKT Not sure if this has been posted elsewhere: https://gregbenzphotography.com/lightroom-acr/shrink-your-raw-files-with-compressed-dng/
2024-06-18 10:21:18
Is there an option for this not using Lightroom?
jonnyawsom3
CrushedAsian255 Is there an option for this not using Lightroom?
2024-06-18 10:33:47
https://helpx.adobe.com/uk/camera-raw/digital-negative.html
2024-06-18 10:33:56
DNG Converter
_wb_
2024-06-18 10:50:48
High-fidelity lossy "raw" is I think a great application of jxl. Good to see there's an article about it!
Oleksii Matiash
2024-06-19 06:18:23
Never understood the idea of lossy raw. Even converting proprietary raw to lossless dng is not acceptable for me ๐Ÿคทโ€โ™‚๏ธ
yoochan
KKT Not sure if this has been posted elsewhere: https://gregbenzphotography.com/lightroom-acr/shrink-your-raw-files-with-compressed-dng/
2024-06-19 06:26:45
The fact lossless compression is not available is a problem in the interface of the converter? Or does the dng spec mandates lossy
_wb_
2024-06-19 06:36:22
DNG can be lossless, of course
2024-06-19 06:36:32
Also with jxl
CrushedAsian255
2024-06-19 06:37:19
i guess it might be slower to process?
_wb_
2024-06-19 06:37:53
But having an intermediate option between a JPEG and a lossless raw is nice imo. For a lot of use cases, you don't really need lossless, but you do need something with more precision than JPEG can bring.
CrushedAsian255 i guess it might be slower to process?
2024-06-19 06:38:23
Depends on the effort used. At e1 it can be faster than lossy.
Foxtrot
2024-06-19 06:39:17
I do photos as hobby and I hate large raws and especially large tiffs after editing. So this would be awesome. So much freed space.
CrushedAsian255
_wb_ Depends on the effort used. At e1 it can be faster than lossy.
2024-06-19 06:39:23
is e1 any good at compression though?
2024-06-19 06:39:33
would it be better than JPEG-LS?
_wb_
2024-06-19 06:40:47
Good question. A lot better than uncompressed in any case.
CrushedAsian255
2024-06-19 06:41:30
what about decoding, that is also a big factor when it comes to using these kinds of codecs
Foxtrot
2024-06-19 06:42:03
Btw, does jxl act like raw in this case so you can still change white balance? I know that in jpeg it's baked in.
CrushedAsian255
2024-06-19 06:42:07
also remember that lots of RAW formats haven't been debayered, so it's storing a weird checkerboard greyscale file
Foxtrot Btw, does jxl act like raw in this case so you can still change white balance? I know that in jpeg it's baked in.
2024-06-19 06:42:19
probably depends on the specific implementation of RAW
2024-06-19 06:42:38
if JPEG XL is used in lossless mode, it by definition is the same thing
2024-06-19 06:42:45
no matter what options used
Quikee
2024-06-19 06:45:30
if you debayer a raw you increase the size by 3, that's why raw formats typically don't de-bayer.
CrushedAsian255
Quikee if you debayer a raw you increase the size by 3, that's why raw formats typically don't de-bayer.
2024-06-19 06:45:54
that would make sense
2024-06-19 06:47:18
but could you theoretically split the file into 4 subchannels to increase some kind of correlation like each image is 1/4 of the original size, but only contains 1 part of the bayer pattern ``` R G G B ``` becomes a channel with just `R`, 2 channels with just `G`, and a channel with just `B`
2024-06-19 06:50:52
i just had the idea, there's probably a sensible reason on why that's stupid
Quikee
2024-06-19 06:52:17
I think they do this or something similar for lossless compression of some raw formats
Oleksii Matiash
2024-06-19 06:56:59
I believe this is the only valid option, because compression of bayer data treated as one single image would be terrible (500% zoom)
CrushedAsian255
Oleksii Matiash I believe this is the only valid option, because compression of bayer data treated as one single image would be terrible (500% zoom)
2024-06-19 07:01:43
you technically would not have to store the colors, just the grayscale data, and the actual colors could be interpreted via metadata or something similar
Oleksii Matiash
CrushedAsian255 you technically would not have to store the colors, just the grayscale data, and the actual colors could be interpreted via metadata or something similar
2024-06-19 07:17:41
It is just presentation. I mean this mosaic, for compression it is like hard 1-pixel frequency noise
2024-06-19 07:19:19
The same in grayscale presentation
CrushedAsian255
2024-06-19 07:23:36
yeah, doesn't look great for compression
Oleksii Matiash
2024-06-19 07:25:06
And of course lossy compression of bayer data as one image would produce terrible color shifts throughout the image
Demiurge
2024-06-19 07:28:06
It would be interesting if someone made a mosaic with a similar semi-random-seeming pattern as the cone cells in the human eye.
2024-06-19 07:28:23
Blue noise pattern mosaic
CrushedAsian255
Demiurge Blue noise pattern mosaic
2024-06-19 07:33:38
would probably suck at compression, as you would then have to enode the mosaic matrix
2024-06-19 07:33:53
unless it was procedually generated or previously agreed-upon
jonnyawsom3
yoochan The fact lossless compression is not available is a problem in the interface of the converter? Or does the dng spec mandates lossy
2024-06-19 08:46:32
You can set lossless JXL along with distance and effort in the command line version I linked
CrushedAsian255 but could you theoretically split the file into 4 subchannels to increase some kind of correlation like each image is 1/4 of the original size, but only contains 1 part of the bayer pattern ``` R G G B ``` becomes a channel with just `R`, 2 channels with just `G`, and a channel with just `B`
2024-06-19 08:49:45
That was actually added into the JXL spec. There's extra channels to store the extra green and then use an average of the two for a preview, since it's back to RGB then
2024-06-19 09:02:53
> kCFA 5 Channel used to represent Colour Filter Array data (Bayer mosaic)
CrushedAsian255 would it be better than JPEG-LS?
2024-06-19 10:25:25
I'm trying to test this, but god Adobe are awful with this command line. The parameters are case sensitive, order dependent and seem to override each other with the only documentation being examples that don't work
2024-06-19 11:05:03
On the plus side, while fighting the command line I ended up fixing my DNG files changing exposure on conversion
CrushedAsian255
2024-06-19 11:06:34
I have a bunch of CR2 files, could I turn them into DNG and expect a file size shrink?
Oleksii Matiash
CrushedAsian255 I have a bunch of CR2 files, could I turn them into DNG and expect a file size shrink?
2024-06-19 11:18:59
Yes, but difference between old lossless dng and lossless jxl dng would be marginal in most cases according to my tests. Maybe Adobe can tweak it, but when I tested - size difference was small
jonnyawsom3
2024-06-19 11:35:43
Compared to my uncompressed source DNGs, JXL reaches 77% compression, and the old lossless with full compatibility is roughly 70%, or in terms of improvement 22.5 MB, 6.67 MB, 5.25 MB respectively. Final filesize is 20% smaller with JXL Unfortunately the effort setting does nothing, so I can't test effort 1 or 9
Oleksii Matiash
2024-06-19 11:53:59
In my tests difference was much smaller, like 90 MB vs 85, old and jxl respectively
2024-06-19 11:55:04
Not sure if it is caused by difference in 'bits', your is likely 10-12, and my - 16
_wb_
2024-06-19 12:02:04
I assume DNG uses 4 separate channels or separate codestreams to encode bayer data losslessly? I would expect effort 3 to work well on that.
2024-06-19 12:05:03
For lossy the only thing that makes sense is to debayer and do the basic color balancing to make it make sense as an RGB image. But you can use as wide a gamut as you want, as much dynamic range as you want, and as much precision as you want, leaving room for all kinds of color adjustments without blowing up artifacts
jonnyawsom3
_wb_ I assume DNG uses 4 separate channels or separate codestreams to encode bayer data losslessly? I would expect effort 3 to work well on that.
2024-06-19 12:48:38
```JPEG XL file format container (ISO/IEC 18181-2) JPEG XL image, 672x752, (possibly) lossless, 16-bit Grayscale Color space: Grayscale, D65, Linear transfer function, rendering intent: Perceptual``` Looks like separate codestreams, and still in TIFF tiles ```[SubIFD] JXLDistance : 0 [SubIFD] JXLEffort : 7 [SubIFD] JXLDecodeSpeed : 4``` They also store the encoding parameters inside the metadata
2024-06-19 12:49:29
```[SubIFD1] JXLDistance : 2 [SubIFD1] JXLEffort : 7 [SubIFD1] JXLDecodeSpeed : 4``` The JXL preview file has it too
_wb_
2024-06-19 02:57:37
interesting, effort 7 and decodespeed 4
2024-06-19 02:58:23
672x752, ugh that's not a very optimal tile size for the default 256x256 groups...
2024-06-19 03:02:55
Probably better compression can be achieved if instead of encoding it as single-channel codestreams, it would be encoded as a 4-channel codestream. Then again probably our usual RCTs don't work very well on RGBG data, since the usual RCTs are based on the assumption that grays have R=G=B, which is not the case here...
jonnyawsom3
2024-06-19 03:20:28
They could do 4 channel, they could match group sizes, they could use lower effort instead of decode speed (Or make the effort parameter work at all)...
_wb_
2024-06-19 03:31:24
effort 3, default decodespeed is probably faster to decode, certainly faster to encode, and probably compresses the same
2024-06-19 03:31:55
I dunno if DNG allows storing multiple channels in the same codestream or if that requires spec changes in the DNG spec
yoochan
2024-06-19 03:40:52
The dng spec owner never asked you, the devs, to help them design an efficient addition to the spec?
jonnyawsom3
2024-06-19 04:24:39
<https://helpx.adobe.com/uk/camera-raw/digital-negative.html#resources> > DNG is an extension of the TIFF 6.0 format. It's essentially just a TIFF file with extra metadata
2024-06-19 04:30:43
> JPEG XL compression is allowed for N-bit integer image data, where 8 โ‰ค N โ‰ค 16, and 16-bit floating point image data. The number of images planes must be either 1 or 3. So they made it spec that JXL can only have 1 or 3 planes > JPEG XL supports two types of bitstreams: > > โ€ข A โ€œbareโ€ format with no metadata > โ€ข A โ€œcontainerโ€ format that uses the ISO Base Media File Format box structure with optional metadata > > Both types of JPEG XL bitstreams are supported in DNG. > When using JPEG XL with multiple tiles, it is recommended to use the bare format, because each compressed tile will be slightly smaller, and per-tile metadata is not required And also went against their own advice of using bare streams in tiled mode
Meow
2024-07-15 04:13:43
https://free.com.tw/imgto-xyz/
2024-07-15 04:13:56
And this https://imgto.xyz supports JXL
SwollowChewingGum
2024-07-16 02:08:37
oops
yoochan
2024-07-16 07:09:34
I tested it with cjxl : ```cjxl -d 0 8stycfrzk69b1.png 8stycfrzk69b1.jxl JPEG XL encoder v0.10.2 38dcd185 [AVX2] Encoding [Modular, lossless, effort: 7] Compressed to 4613.7 kB (1.645 bpp). 4144 x 5416, 2.586 MP/s [2.59, 2.59], , 1 reps, 4 threads. ```
2024-07-16 07:09:46
almost twice smaller
2024-07-16 07:09:54
with only default options
A homosapien
2024-07-16 09:50:56
oxipng: ```oxipng -v C:\8stycfrzk69b1.png Processing: C:\8stycfrzk69b1.png 4144x5416 pixels, PNG format 8-bit RGB + Alpha, non-interlaced IDAT size = 8102331 bytes File size = 8103864 bytes Transformed image to 8-bit RGB, non-interlaced Trying: Entropy Found better combination: zc = 11 f = Entropy 6956385 bytes IDAT size = 6956385 bytes (1145946 bytes decrease) file size = 6956442 bytes (1147422 bytes = 14.16% decrease) 6956442 bytes (14.16% smaller): C:\8stycfrzk69b1.png ```
2024-07-16 09:55:09
It's not even using oxipng smh major skill issue ๐Ÿฅฑ
Meow
2024-07-16 10:07:26
https://github.com/cloudinary-community/imgto.xyz
jonnyawsom3
2024-08-06 11:25:19
<@171381182640947200> posted it in <#794206170445119489> first, and it just popped up in <#805722506517807104>, but should be here if anywhere https://www.youtube.com/watch?v=FlWjf8asI4Y
2024-08-07 12:33:15
I do wonder if we'll end up with some new members from the video, since most of the comments seem to be about wanting JXL support (back) or finding out about progressive decoding and wanting to learn more
HCrikki
2024-08-07 01:15:37
imo lossless reversible jpg-jxl conversions are the biggest deal. with all other formats, lossless conversions consistently result in much larger converted files and lossy in quality loss without guaranteed smaller filesize
2024-08-07 01:17:56
that conversion is an almost instant process too (less than 30 milliseconds), whereas a conversion to any other format would in compareason take forever and be impossible to do on the fly or without consuming ton of energy
2024-08-07 01:19:28
a weak server could complete a web service's conversion in a fraction of the time, cost and nrg. odd this isnt more known
๐‘›๐‘ฆ๐‘•๐‘ฃ๐‘ธ๐‘ฅ๐‘ฉ๐‘ฏ๐‘ฆ | ๆœ€ไธ่ชฟๅ’Œใฎไผๆ’ญ่€… | ็•ฐ่ญฐใฎๅ…ƒ็ด 
<@171381182640947200> posted it in <#794206170445119489> first, and it just popped up in <#805722506517807104>, but should be here if anywhere https://www.youtube.com/watch?v=FlWjf8asI4Y
2024-08-07 04:13:04
still can't help myself when the Chromium guys claimed AVIF being faster than JPEG XL, lol in 100% of the cases, JPEG XL takes a teeny tiny fraction of time required by AVIF
Quackdoc
๐‘›๐‘ฆ๐‘•๐‘ฃ๐‘ธ๐‘ฅ๐‘ฉ๐‘ฏ๐‘ฆ | ๆœ€ไธ่ชฟๅ’Œใฎไผๆ’ญ่€… | ็•ฐ่ญฐใฎๅ…ƒ็ด  still can't help myself when the Chromium guys claimed AVIF being faster than JPEG XL, lol in 100% of the cases, JPEG XL takes a teeny tiny fraction of time required by AVIF
2024-08-07 04:29:06
this isn't true, on lots of hardware images can decode a lot faster with avif
2024-08-07 04:29:40
ofc the image itself and the encode settings matter
๐‘›๐‘ฆ๐‘•๐‘ฃ๐‘ธ๐‘ฅ๐‘ฉ๐‘ฏ๐‘ฆ | ๆœ€ไธ่ชฟๅ’Œใฎไผๆ’ญ่€… | ็•ฐ่ญฐใฎๅ…ƒ็ด 
Quackdoc this isn't true, on lots of hardware images can decode a lot faster with avif
2024-08-07 04:38:21
... hardware acceleration is required for performance, where other image formats don't need?
2024-08-07 04:38:33
is that really "faster"?
Quackdoc
2024-08-07 04:51:43
hardware acceleration is not required for performance. Dav1d often performs better then JXL does when the file is encoded with I what I would call "normal" encode settings. and once when you limit yourself to 1-4 threads of decoding dav1d often decodes images faster then djxl or jxl-oxide does
2024-08-07 04:53:20
also, for some reason djxl doesn't get optimized very well with android's scheduler for some reason, not sure why, but when you get big little cores, I found djxl to get punished unusually hard
๐‘›๐‘ฆ๐‘•๐‘ฃ๐‘ธ๐‘ฅ๐‘ฉ๐‘ฏ๐‘ฆ | ๆœ€ไธ่ชฟๅ’Œใฎไผๆ’ญ่€… | ็•ฐ่ญฐใฎๅ…ƒ็ด 
Quackdoc hardware acceleration is not required for performance. Dav1d often performs better then JXL does when the file is encoded with I what I would call "normal" encode settings. and once when you limit yourself to 1-4 threads of decoding dav1d often decodes images faster then djxl or jxl-oxide does
2024-08-07 04:59:20
guess dav1d is really something then... though I'm still not using AVIF to encode stuff with the abysmal performance of libaom
JendaLinda
2024-08-07 05:00:24
To be honest, I don't think image decoding is the most significant contribution to the overall slowness of web pages.
Quackdoc
2024-08-07 05:01:02
it is if you are loading 20+ at a time, or large ones like https://dolphin-emu.org/m/user/blog/progress-report/2016-november/windwaker35xnative.jpg
๐‘›๐‘ฆ๐‘•๐‘ฃ๐‘ธ๐‘ฅ๐‘ฉ๐‘ฏ๐‘ฆ | ๆœ€ไธ่ชฟๅ’Œใฎไผๆ’ญ่€… | ็•ฐ่ญฐใฎๅ…ƒ็ด 
JendaLinda To be honest, I don't think image decoding is the most significant contribution to the overall slowness of web pages.
2024-08-07 05:01:35
Booru sites:
Quackdoc
2024-08-07 05:06:04
but decode speed is very significant for stuff like local galleries too, including comic viewers.
JendaLinda
2024-08-07 05:10:37
For local archive, I would use either lossless format or preserve the original format.
Quackdoc
2024-08-07 05:13:47
I mainly consume written/drawn media on my phone, so I keep originals on my portable hdd, and transcoded versions on my phone
HCrikki
2024-08-07 05:19:55
hardly known but hw acceleration adds latency, thats why almost all implementations for jpg are done in software
Quackdoc
2024-08-07 05:20:47
Im not sure hardly known is the right word but I suppose
HCrikki
2024-08-07 05:21:15
couple months ago i recall someone tested thumbnailing with multiple formats, everything but avif loaded really fast. sub 300ms each compared to 15+ seconds for avifs
2024-08-07 05:21:46
shame i couldnt find the discussion again
Quackdoc
2024-08-07 05:22:42
it would depend a lot on ofc, what decoder is actually doing.
2024-08-07 05:23:15
especially considering that for some reason, libgav1 is still used in cases
JendaLinda
2024-08-07 05:27:40
My GPU can barely do HEVC, only 4:2:0, and no AV1 at all, so no HW acceleration for me. Too bad format support can't be added to older GPUs, that are otherwise perfectly fine.
Quackdoc
2024-08-07 05:30:08
in theory, parts of av1 decoding can get offloaded to gpu, currently this is limited to grainsynth, though this ofc isn't asic and would increase energy consumption as gpu compute is not super cheap
_wb_
2024-08-07 08:34:51
For lossy, I think the decode speeds of all image formats are all more or less in the same ballpark. In encode speed there is more variation...
Quackdoc
2024-08-07 08:47:32
libjxl has great threading so on most modern devices, assuming it has unrestricted access to threads, it will usually be quite good, however since that's not always the case, avif can often out perform it, especially if you are only using 1-2 threads I found
spider-mario
2024-08-07 11:10:08
letโ€™s not forget, though, that especially if decoding is limited by network speed anyway, jxlโ€™s better progressiveness likely means that youโ€™ll get some visible content sooner nonetheless
Quackdoc
2024-08-07 11:22:14
indeed, it would be nice to have some better low thread perf tho, especially for older hardware
Demiurge
Quackdoc libjxl has great threading so on most modern devices, assuming it has unrestricted access to threads, it will usually be quite good, however since that's not always the case, avif can often out perform it, especially if you are only using 1-2 threads I found
2024-08-08 03:49:55
There's a lot of room for improvement still with threading
2024-08-08 03:50:43
Lots of wasted cpu time compared to single thread
2024-08-08 08:26:27
If you have a lot of files to convert, it's much less CPU time and thus much less real time if you utilize only 1 thread per image and convert multiple images in parallel
username
<@171381182640947200> posted it in <#794206170445119489> first, and it just popped up in <#805722506517807104>, but should be here if anywhere https://www.youtube.com/watch?v=FlWjf8asI4Y
2024-08-08 09:54:10
I know I'm late to reply to this but I just wanna point out that the timing he presents in the video of between when the AVIF team tests came out and when JXL support was removed from Chrome is wrong/off. JXL was announced as getting removed from Chrome and then a month or two later the AVIF team tests came into existence.
KKT
<@171381182640947200> posted it in <#794206170445119489> first, and it just popped up in <#805722506517807104>, but should be here if anywhere https://www.youtube.com/watch?v=FlWjf8asI4Y
2024-08-08 05:06:39
Is he well known? Why the hell is he doing a video wearing Spiderman tights?
yoochan
2024-08-08 05:16:04
This was the most disturbing part, given the camera angle
RaveSteel
KKT Is he well known? Why the hell is he doing a video wearing Spiderman tights?
2024-08-08 05:17:31
Kinda, his main channel has a little over 1 million subscribers
jonnyawsom3
2024-08-08 05:21:03
Mostly known for CSGO videos on his main channel, but does more technical exploration and tests on his second channel such as video and image codecs Tends to get a few hundred thousand views per video, with that one hitting 220K in 1 day
yoochan
2024-08-13 08:59:58
https://issues.chromium.org/issues/40168998 the "reconsider jxl in chrome" issue is very active lately. Last blow : libjxl decoding is not energy efficient enough, that's why ๐Ÿคฆโ€โ™‚๏ธ
Quackdoc
yoochan https://issues.chromium.org/issues/40168998 the "reconsider jxl in chrome" issue is very active lately. Last blow : libjxl decoding is not energy efficient enough, that's why ๐Ÿคฆโ€โ™‚๏ธ
2024-08-13 09:02:13
not wrong, you see, adding JXL would cause developers to merge some patches, and that expends developer energy, not very efficient
2024-08-13 09:02:16
[av1_galaxy_brain](https://cdn.discordapp.com/emojis/657649371038482482.webp?size=48&quality=lossless&name=av1_galaxy_brain)
w
2024-08-13 09:04:49
half of jxl is jxl modular
2024-08-13 09:04:57
and jxl modular is the slowest image format ever
2024-08-13 09:05:01
so they were never wrong
spider-mario
2024-08-13 09:40:16
> I follow their Github releases and test new versions when available, although recently there have been breaking changes and some missing artefacts in some of the archives they put out, which is to be expected with pre-release versions. ๐Ÿ™„
yoochan
2024-08-13 09:50:59
The lack of understanding is negatively correlated with the mouth opening
๐‘›๐‘ฆ๐‘•๐‘ฃ๐‘ธ๐‘ฅ๐‘ฉ๐‘ฏ๐‘ฆ | ๆœ€ไธ่ชฟๅ’Œใฎไผๆ’ญ่€… | ็•ฐ่ญฐใฎๅ…ƒ็ด 
yoochan https://issues.chromium.org/issues/40168998 the "reconsider jxl in chrome" issue is very active lately. Last blow : libjxl decoding is not energy efficient enough, that's why ๐Ÿคฆโ€โ™‚๏ธ
2024-08-13 10:05:53
they're joking, right? dav1d not in consideration, AV1 is by far the worst performer not sure what libvips is using for AV1 decoding, but when libvips decodes way faster than davif (libaom), it's still behind libjxl
2024-08-13 10:07:18
as I said before, is that really "energy efficient" if you need hardware-accelerated decoding, when the alternative (that being JXL) doesn't even need that?
spider-mario
yoochan The lack of understanding is negatively correlated with the mouth opening
2024-08-13 10:19:58
ยซโ€ฏmieux vaut se taire et passer pour un conโ€ฆโ€ฏยป
yoochan
2024-08-13 10:20:36
And if I read this well https://www.reddit.com/r/AV1/comments/jz6hkh/can_av1_hardware_decoding_be_used_for_avif/ hw acceleration for avif is not desirable nor feasible
JendaLinda
2024-08-13 12:05:33
HW decoders are not very reliable either.
Traneptora
2024-08-13 04:19:18
yea, spinning up a hardware decoder for a single frame is usually not worth it compared to decoding in software this is why chrome doesn't do it even if a hardware av1 decoder is available, and just uses dav1d for avif. it makes sense to do it the way they do it
yoochan
Traneptora yea, spinning up a hardware decoder for a single frame is usually not worth it compared to decoding in software this is why chrome doesn't do it even if a hardware av1 decoder is available, and just uses dav1d for avif. it makes sense to do it the way they do it
2024-08-13 04:59:26
So, for real, how do they (the chromium team) claim jxl decoding is slow compared to avif? What is the catch?
Traneptora
yoochan So, for real, how do they (the chromium team) claim jxl decoding is slow compared to avif? What is the catch?
2024-08-13 05:01:14
they catch is that avifs decode faster the lower quality they are (unlike jxl, which has relatively constant decode speed regardless of vardct quality), and they ran their tests on ultra-low-quality AVIFs (unsuably low, like probably libjpeg-turbo q=35 equivalent), and then used that flawed methodology to claim that avif was a faster image format than jpeg xl
yoochan
2024-08-13 05:02:18
Thanks for the explanation
gb82
2024-08-13 05:16:30
> All current computer GPUs and most mobile ones support AV1 hardware decoding That isn't utilized ๐Ÿ˜ญ lmao
jonnyawsom3
2024-08-13 05:48:16
And current doesn't mean fully adopted
username
2024-08-13 05:53:51
also something else to point out is not all AVIF files are even hardware decodable in the first place. want a 12-bit image? no hardware decode, want to use a chomra sub-sampling value of 4:2:2? no hardware decode.
HCrikki
2024-08-13 06:07:06
about claims jxl is slow in the chromium issue, I wonder if the (likely flawed) method used even works - in a different discord, a hater thought he was diligently testing new libjxl releases while his machine was actually endlessly compressing using 0.7.0 (some issue with paths or linkage, supposedly obtaining libjxl through scoop or similar doesnt update ). bro saw the light as soon as he checked 0.10 for real. odd this happened to even someone as experienced. maybe theres flawed or outdated documentation floating around?
2024-08-13 06:09:48
about issue; the nrg consumption of jpg->jxl conversions is extremely small (less than 30ms for anything below 20megapixels, tested on a weak ryzen 2600 - so low a cdn can generate and cache new jxls on the fly without raising their compute costs) , and avif is only capable of lossless conversion at the cost of massive nrg use and bloated increased filesize whereas jxl guarantees a consistent 20% lower filesize
Demiurge
w and jxl modular is the slowest image format ever
2024-08-13 09:30:52
I think the russians would have something to say about that
username also something else to point out is not all AVIF files are even hardware decodable in the first place. want a 12-bit image? no hardware decode, want to use a chomra sub-sampling value of 4:2:2? no hardware decode.
2024-08-13 09:41:28
Or even the extremely common case of 4:4:4
2024-08-13 09:45:47
Also there IS a rust port of the decoder... Thanks tirr
username
2024-08-13 09:52:11
it's not a port, it is it's own from scratch implementation
Demiurge
2024-08-13 09:52:25
Idk who this mo...@gmail.com is or why people even need to respond to him. He is throwing out a red herring by mentioning hardware decoding that AVIF doesn't even benefit from. It's just ragebait
2024-08-13 09:52:36
Calling people conspiracy theorists etc
username it's not a port, it is it's own from scratch implementation
2024-08-13 09:53:11
Yes, I suppose calling it a port could be misinterpreted.
2024-08-13 09:54:26
I didn't mean to imply that it's based off libjxl
2024-08-13 09:55:41
...yeah, he seems to be just some random guy. With a random gmail. Just throwing his irrelevant opinion out there for people to rage over red herrings... instead of crucial points like how Google's own AVIF test they published and their own graphs show JXL destroying AVIF
username
2024-08-13 09:56:58
it's just a random gmail account, pretty much anyone can comment on the issue tracker
2024-08-13 09:58:18
also btw the issue tracker censors full emails hence why there are 3 dots after "mo"
Demiurge
2024-08-13 09:59:19
The study the avif team performed and used as justification, shows jxl eating avif for lunch. Their own graphs on their own page...
2024-08-13 09:59:46
I can't believe no one talks about this more because wb is STILL waiting for the avif team to respond to his email!
2024-08-13 10:01:55
He was the first person to point out that their own comparison shows jxl winning and they still haven't responded to that or explained why their own graphs show that
2024-08-13 10:03:11
How can they use it to justify it when it shows the opposite of what they say and their own graphs prove themselves wrong?
HCrikki
2024-08-13 10:04:11
imo case studies should show how massive the savings would be going with jxl, especially after datacenter compute costs rose significantly. jpg->jxl is almost instant, an image host like photobucket and flickr could losslessly convert everything they have in 2 weeks
2024-08-13 10:04:58
its information scattered over the web and much of it is locked behind discord that cant even be read without creating an account
2024-08-13 10:06:11
some centralization would help supporters produce relevant information whenever they need it whatever the use cases
Demiurge
2024-08-13 10:06:18
https://storage.googleapis.com/avif-comparison/Kodak.html
2024-08-13 10:07:45
Their own comparison contradicts them... and there's still articles online saying "avif team posted a comparison showing avif is better" but that's not even what it shows... it's outrageous
2024-08-13 10:09:11
If you just follow a link or two on their main page to see the detailed results it's utterly laughable how they could look at these results and say avif won
2024-08-13 10:11:28
https://storage.googleapis.com/avif-comparison/images/Kodak/rateplots/Kodak_avif-jxl_t-1_avif-s3_jxl-s9_ssimulacra2__bpp-0.1-3.0.png
2024-08-13 10:11:54
This is their own graph. Avif only wins at ssimu2 less than 60
2024-08-13 10:12:46
But they call this an avif overall victory because they average qualities all the way down to 0 and less for avif even though no one would ever use that image
2024-08-13 10:14:15
I kid you not, this specific graph, they say avif is winning by 7.32% because of how they averaged in the useless-quality images
HCrikki
2024-08-13 10:18:04
jxl displays images while avif hasnt even finished downloading half
2024-08-13 10:19:41
that alone could be huge with browsers and proxies if they had some 'dont load images completely' bandwidth saving optimization
Demiurge
2024-08-13 10:22:31
It's consistent across all of their graphs. ssimu2 quality 60 and below is where avif overtakes jxl. None of their graphs show avif winning if your target quality is higher than 60
2024-08-13 10:25:47
Progressive rendering and legacy transition of old JPEGs are the two biggest impact, non negotiable features. Plus I have a feeling that jxl has more room for improvement than avif
HCrikki
2024-08-13 10:27:05
discarding a lot of detail so your algos dont malfunction is hardly a win. libjxl preserving more detail for all filesize target levels is a win for imaging
2024-08-13 10:27:33
different codecs or builds can focus on discarding more detail or other optimizations
2024-08-13 10:28:12
but thats not a limitation of jxl the format itself, just how its implemented in upstream's libjxl
Demiurge
2024-08-13 10:28:14
There are more tools for a future lossy encoder to take advantage of. A lot of untapped potential. Noise detection. Image decomposition. Hybrid wavelet/dct/spline layers with noise generation
username
2024-08-13 10:28:46
something I noitced about the AVIF team tests is that they define 4:2:0 chroma for all the AVIFs and pass in `--progressive` into libjxl for all the JXLs, which uh seems very unfair
HCrikki
2024-08-13 10:29:44
anytime caught, do the usual: dont respond, pretend to have heard nothing or close the discussion
username
2024-08-13 10:30:30
they actively don't care about progressive decoding yet pass into libjxl the option that makes images even more progressive at the expense of file size
Quackdoc
username something I noitced about the AVIF team tests is that they define 4:2:0 chroma for all the AVIFs and pass in `--progressive` into libjxl for all the JXLs, which uh seems very unfair
2024-08-13 10:30:30
in the test? are you sure?
2024-08-13 10:31:38
https://storage.googleapis.com/avif-comparison/verification-process.html#JPEG-XL-Running
username
2024-08-13 10:33:52
ohh apparently they just did what I described only for the decode speed tests? https://storage.googleapis.com/avif-comparison/decode-timing.html
Quackdoc
2024-08-13 10:35:20
bruuuuuhhhhh these people
username
2024-08-13 10:36:10
oh wait they have different test runs done both with and without the progressive libjxl option, guess I miss saw the page when I looked at it yesterday
2024-08-13 10:37:08
I thought they *only* did it with the libjxl `--progressive` option. apologies
Quackdoc
2024-08-13 10:37:19
I like how they didnt specify threads in the jxl decode,
2024-08-13 10:42:02
oh wait, those are encode threads [Hmm](https://cdn.discordapp.com/emojis/1113499891314991275.webp?size=48&quality=lossless&name=Hmm)
2024-08-14 03:25:10
does anyone have a function "decode benchmark" page? could be neat to point users to
KishiAri
<@171381182640947200> posted it in <#794206170445119489> first, and it just popped up in <#805722506517807104>, but should be here if anywhere https://www.youtube.com/watch?v=FlWjf8asI4Y
2024-08-14 04:44:28
ah yes i found out about this format thanks to him lol
๐‘›๐‘ฆ๐‘•๐‘ฃ๐‘ธ๐‘ฅ๐‘ฉ๐‘ฏ๐‘ฆ | ๆœ€ไธ่ชฟๅ’Œใฎไผๆ’ญ่€… | ็•ฐ่ญฐใฎๅ…ƒ็ด 
Quackdoc does anyone have a function "decode benchmark" page? could be neat to point users to
2024-08-14 06:08:29
what are the requirements for that test? might just build one out of `derpi-image-corpus`
2024-08-14 06:09:49
currently only have a quality to time spent decoding curve in mind
Quackdoc
2024-08-14 06:10:56
for a decode benchmark quality probably doesn't really matter, the issue is managing to keep the encode things somewhat in comparison to eachother, for instance libaom vs svtav1, svtav1 has a fast decode which can help a lot cjxl has faster_decoding which can also help, vardct vs modular, threads, etc
๐‘›๐‘ฆ๐‘•๐‘ฃ๐‘ธ๐‘ฅ๐‘ฉ๐‘ฏ๐‘ฆ | ๆœ€ไธ่ชฟๅ’Œใฎไผๆ’ญ่€… | ็•ฐ่ญฐใฎๅ…ƒ็ด 
Quackdoc for a decode benchmark quality probably doesn't really matter, the issue is managing to keep the encode things somewhat in comparison to eachother, for instance libaom vs svtav1, svtav1 has a fast decode which can help a lot cjxl has faster_decoding which can also help, vardct vs modular, threads, etc
2024-08-14 06:15:09
quality might be a factor in AVIF's case though: https://discord.com/channels/794206087879852103/822105409312653333/1272963187591090317
Quackdoc
2024-08-14 06:16:19
that's true to an extent, but the encoding bits and bobs that are use is a more important factor, it just so happens that high quality encodes use more bits and bobs, but those can actually be turned off, which is what svt's fast decode does
๐‘›๐‘ฆ๐‘•๐‘ฃ๐‘ธ๐‘ฅ๐‘ฉ๐‘ฏ๐‘ฆ | ๆœ€ไธ่ชฟๅ’Œใฎไผๆ’ญ่€… | ็•ฐ่ญฐใฎๅ…ƒ็ด 
2024-08-14 06:16:19
also libvips decodes AVIF images quite fast compared to davif
Quackdoc
2024-08-14 06:17:04
yeah, in general avif is actually really fast to decode because dav1d, the underlying library, has a LOT of optimizations for most platforms
๐‘›๐‘ฆ๐‘•๐‘ฃ๐‘ธ๐‘ฅ๐‘ฉ๐‘ฏ๐‘ฆ | ๆœ€ไธ่ชฟๅ’Œใฎไผๆ’ญ่€… | ็•ฐ่ญฐใฎๅ…ƒ็ด  also libvips decodes AVIF images quite fast compared to davif
2024-08-14 06:17:25
davif has been dead for like, 2 years now iirc
2024-08-14 06:28:12
to benchmark avif you can use `avifdec --jobs 1 --info FILE-Here >> /dev/null` I don't know why they use -i but it is what it is `-i,--info : Decode all frames and display all image information instead of saving to disk`
_wb_
Demiurge But they call this an avif overall victory because they average qualities all the way down to 0 and less for avif even though no one would ever use that image
2024-08-14 09:06:31
BD rates are computed only for the range covered by both codecs, so not only do they overrepresent the uselessly low qualities, also the high qualities are just not included at all because they use yuv420 for avif, so avif saturates at something like ssimu2=84 which means that for the BD rate computation, performance at qualities higher than that just doesn't matter. This is one of the major perversions of comparing codecs using Bjรธntegaard Delta rates: encoders that just cannot produce high quality at all are not punished in any way for that, they just get compared only in the range they can produce.
2024-08-14 09:08:30
If we would make a version of cjxl that just doesn't produce any output for d>4, it would suddenly magically perform much better than the normal cjxl, at least when compared according to the methodology used by the avif team (BD rates).
Demiurge
2024-08-14 09:11:55
To call that graph a "7.32% victory for avif" when the graph clearly shows that AVIF only wins literally right at the point after which the quality line falls off a cliff and right into the unuseable range, is the most preposterous part of them using this comparison to justify their decision. They still haven't responded to your feedback about this, pretending as if they haven't heard a thing so it gets memory-holed
_wb_ If we would make a version of cjxl that just doesn't produce any output for d>4, it would suddenly magically perform much better than the normal cjxl, at least when compared according to the methodology used by the avif team (BD rates).
2024-08-14 09:13:05
maybe not a bad idea... <:KekDog:805390049033191445>
2024-08-14 09:14:13
But another funny thing about their comparison is they are only using metric graphs instead of side by side comparisons. They only show side by side comparisons for a few images.
2024-08-14 09:15:08
which is important for getting rid of utter nonsense and insanity when doing comparisons like this
2024-08-14 09:44:25
https://storage.googleapis.com/avif-comparison/images/subset1/sample_images/2011-03-05_03-13_Madeira_159_Funchal__Mercado_dos_Lavradores.png-s-6_0.93bpp.avif
2024-08-14 09:44:33
https://storage.googleapis.com/avif-comparison/images/subset1/sample_images/2011-03-05_03-13_Madeira_159_Funchal__Mercado_dos_Lavradores.png
2024-08-14 09:44:42
https://storage.googleapis.com/avif-comparison/images/subset1/sample_images/2011-03-05_03-13_Madeira_159_Funchal__Mercado_dos_Lavradores.png-s-7_0.93bpp.jxl.png
2024-08-14 09:45:07
From their subset1 comparison page...
2024-08-14 09:45:35
Both avif and jxl have severe color distortion but I think avif is significantly worse here... (sorry edit)
2024-08-14 09:46:04
Again, this is the avif team's comparison. They think this shows avif is winning.
2024-08-14 09:46:11
This is what they used to justify removing jxl
2024-08-14 09:46:32
it's so absurd that I can't believe it's real
2024-08-14 09:47:29
lol, discord doesn't even generate thumbnails for avif images...
_wb_
2024-08-14 10:06:50
At some relatively low quality point, around d3.5, the lower end of what can be called "web quality" and the point that some bandwidth-focused webperf folks would recommend to use to "optimize" a website, AVIF and JXL are roughly equivalent. So if you only care about that quality point, there is an argument to be made to say we don't need JXL if we already have AVIF. You could also make the argument the other way around (we don't need AVIF if we already have JXL), but AVIF was first โ€” I don't really get how that aspect of timing matters much in the long term though, since the difference in timing is not large (it's not like AVIF is so well-established already that you would break the web if you stop supporting it). My main frustration is that the range of qualities relevant for the web is broader than just this specific low quality point, and also includes higher qualities like d2.5, d2, d1.5 and even d1. For some use cases even lossless is useful on the web (and not just for nonphoto images where lossless is just smaller than lossy). To me it feels very paternalistic and arrogant for browser devs to dictate (even if just implicitly, through the assumptions they make when assessing which codecs to support) what qualities are relevant for the web.
Demiurge
_wb_ At some relatively low quality point, around d3.5, the lower end of what can be called "web quality" and the point that some bandwidth-focused webperf folks would recommend to use to "optimize" a website, AVIF and JXL are roughly equivalent. So if you only care about that quality point, there is an argument to be made to say we don't need JXL if we already have AVIF. You could also make the argument the other way around (we don't need AVIF if we already have JXL), but AVIF was first โ€” I don't really get how that aspect of timing matters much in the long term though, since the difference in timing is not large (it's not like AVIF is so well-established already that you would break the web if you stop supporting it). My main frustration is that the range of qualities relevant for the web is broader than just this specific low quality point, and also includes higher qualities like d2.5, d2, d1.5 and even d1. For some use cases even lossless is useful on the web (and not just for nonphoto images where lossless is just smaller than lossy). To me it feels very paternalistic and arrogant for browser devs to dictate (even if just implicitly, through the assumptions they make when assessing which codecs to support) what qualities are relevant for the web.
2024-08-14 10:43:10
I think libaom has had some very significant tuning very recently, and looks a lot better today than it did back then. it compares much more favorably now today...
_wb_
2024-08-14 10:44:23
It is to be expected that encoders will still improve over time, especially for codecs that are widely supported.
Demiurge
2024-08-14 10:47:36
But of course it's shocking that the avif team would promote their own format by abusing their influence over the chromium project and unilaterally sabotaging software support while gaslighting everyone and saying "the community has spoken"
2024-08-14 10:48:28
"This is not the avif you're looking for. Move along."
CrushedAsian255
Demiurge I think libaom has had some very significant tuning very recently, and looks a lot better today than it did back then. it compares much more favorably now today...
2024-08-14 10:50:45
the AVIF team when they see the JPEG XL encoder also making improvements
Demiurge
2024-08-14 10:51:30
I think JXL has a lot more untapped potential than avif does...
CrushedAsian255
2024-08-14 10:51:56
yeah, only thing is actually tapping ito that potential will take some ingenuity and dev time
2024-08-14 10:52:29
(and possibly sacrifices to encoding speed, although that chould be mitigated with autodetection of whether certain features will be helpful for certain images)
Demiurge
2024-08-14 10:52:36
Yep and it might make encoding/decoding slower depending on what techniques are used
2024-08-14 10:52:57
Anything that involves image decomposition will probably have a big effect on performance.
CrushedAsian255
2024-08-14 10:56:22
maybe make new effort settings? (`-e 42069` for ultra-omega-tiny encoding but don't expect the encode to finish in your lifetime or any of your children's lifetime)
gb82
Demiurge I think JXL has a lot more untapped potential than avif does...
2024-08-14 03:03:06
avif does have a lot of untapped potential though
_wb_
2024-08-14 03:03:56
Even JPEG still has untapped potential.
2024-08-14 03:05:19
WebP, J2K, JPEG XR, they all have a lot of untapped potential too. The main thing is that nobody is going to spend a lot of time on tweaking encoders for formats that are not very ubiquitously supported.
2024-08-14 03:08:46
So to some extent, there is an element to self-fulfilling prophecy. If major platforms don't support a codec, then it becomes less likely that good encoders for that codec will be developed.
2024-08-14 03:11:27
For jxl we currently still have only one encoder, really. We are basically where jpeg was before libjpeg-turbo, when there was only really the IJG libjpeg. Time will tell if we will at some point also get a libjxl-turbo, mozjxl and jxlli ๐Ÿ™‚
Foxtrot
2024-08-14 05:32:40
Recently google was pronounced illegal monopoly in US court... And tbh, being able to single handedly decide about adoption of format on the entire internet seems something only monopoly could do
KKT
2024-08-14 05:44:39
I've mentioned this before, but since they've been designated a Gatekeeper in the EU, might be possible to force them to support it, since they're causing harm by forcing us to deliver more bits than necessary. Not only that, penalizing sites that don't use webp in SEOโ€ฆ https://ec.europa.eu/commission/presscorner/detail/en/ip_23_4328
Demiurge
Foxtrot Recently google was pronounced illegal monopoly in US court... And tbh, being able to single handedly decide about adoption of format on the entire internet seems something only monopoly could do
2024-08-14 07:05:58
I love how the us government declared them a monopoly as if they weren't the ones who made it so by giving them tons of government contracts...
2024-08-14 07:09:22
"And now that you're a monopoly, exactly as we intended, we're going to use that as an excuse to control and threaten you even more rather than actually take away your (our) power."
lonjil
2024-08-14 08:05:36
what are you talking about?
Demiurge
2024-08-14 09:17:15
If the government didn't want google to become a monopoly they wouldn't have given them tons of money and contracts.
2024-08-14 09:18:47
It's just a funny and hypocritical behavior pattern
Quackdoc
Foxtrot Recently google was pronounced illegal monopoly in US court... And tbh, being able to single handedly decide about adoption of format on the entire internet seems something only monopoly could do
2024-08-14 09:19:13
they really couldn't and didn't. My sister is on IOS and actually has saved some JXL images.
Demiurge
2024-08-14 09:20:19
I'm pretty sure certain parts of the government wanted them to become a monopoly in the first place. Like the intelligence agencies.
Quackdoc they really couldn't and didn't. My sister is on IOS and actually has saved some JXL images.
2024-08-14 09:22:37
Until Apple decides maintaining webkit is too much work and switches to chromium...
Quackdoc
2024-08-14 09:23:18
they would probably just support the jxl patchset
lonjil
Demiurge If the government didn't want google to become a monopoly they wouldn't have given them tons of money and contracts.
2024-08-14 10:59:20
what money and contracts specifically?
gb82
Demiurge Until Apple decides maintaining webkit is too much work and switches to chromium...
2024-08-14 11:52:25
apple will never do this
Demiurge
lonjil what money and contracts specifically?
2024-08-14 11:53:38
Can't be bothered to look it up right now when it's been so long ago since I just stopped caring about things outside of my control.
2024-08-14 11:56:38
But like every other giant successful multinational conglomerate, the line between Google and the government is pretty blurry
2024-08-14 11:58:49
The reason why government exists in the first place is to make it simpler to consolidate everything
2024-08-15 12:13:27
When I searched for "early sources of Google funding" this is one of the first things I get on ddg: https://qz.com/1145669/googles-true-origin-partly-lies-in-cia-and-nsa-research-grants-for-mass-surveillance
2024-08-15 12:16:00
Seems like a pretty detailed article if you're... truly curious. I kinda doubt your sincerity though.
gb82 apple will never do this
2024-08-15 12:17:14
I hope you're right but I'm not an optimist when it comes to big tech
Orum
2024-08-18 12:11:32
<:JXL:805850130203934781> mentioned: https://youtu.be/RFWJM8JMXBs?t=1075
uis
Quackdoc yeah, in general avif is actually really fast to decode because dav1d, the underlying library, has a LOT of optimizations for most platforms
2024-08-18 11:16:06
I still didn't deliver VMX vectorized version for PPC32
Orum <:JXL:805850130203934781> mentioned: https://youtu.be/RFWJM8JMXBs?t=1075
2024-08-18 11:17:00
ANS explained. It seems to make Jarek happy. I'm happy too.
Jyrki Alakuijala
gb82 avif does have a lot of untapped potential though
2024-08-19 12:44:37
I think not -- I believe it needs a new entropy coder to perform properly in high quality
Orum <:JXL:805850130203934781> mentioned: https://youtu.be/RFWJM8JMXBs?t=1075
2024-08-19 12:46:52
I watched first half of this video and it is well made, worth watching if one has interest in compression -- it is more textbooky than incorporating all modern 'ahas' of compression, but still ok
Orum
2024-08-19 12:48:38
yeah, it's a good description of how it works, but it has a click-baity title and barely scratches the surface of the patent issues plaguing modern compression formats
2024-08-19 12:49:03
though I suppose one could apply the latter criticism to many textbooks as well
gb82
Jyrki Alakuijala I think not -- I believe it needs a new entropy coder to perform properly in high quality
2024-08-19 02:49:15
but in medium-high to low fidelity, there's room to grow. JXL (imo) has the edge in high fidelity forever
Eugene Vert
2024-08-19 02:52:11
Another overview of <:JXL:805850130203934781> in Russian https://habr.com/ru/companies/ruvds/articles/835150/
Oleksii Matiash
Eugene Vert Another overview of <:JXL:805850130203934781> in Russian https://habr.com/ru/companies/ruvds/articles/835150/
2024-08-19 03:31:35
A bit strange statement about decoding speed where jxl is behind avif, but in general - nice article
_wb_
2024-08-19 04:05:43
AVIF decodes faster the lower the quality. In JXL the decode speed of VarDCT mode is more constant regardless of quality. Also they have somewhat different parallelization behavior. So for speed measurements it depends a lot on what exactly you're comparing.
2024-08-19 04:07:03
(assuming you're measuring it correctly, some people measure djxl speed by timing the whole thing including encoding an output PNG...)
Jyrki Alakuijala
gb82 but in medium-high to low fidelity, there's room to grow. JXL (imo) has the edge in high fidelity forever
2024-08-19 04:29:28
AVIF has issues with smoothing -- it oversmooths very easily -- it's smoothing is not modulated by the respective quantization level, so it can smooth details that were actually sent in the stream -- the control stream for modulating smoothing has 64x64 resolution, so it cannot control even through a side channel This plus weaknesses in entropy coding larger numbers (as all numbers are in high quality) make sure -- in my opinion -- that no substantial encoding advances are possible
2024-08-19 04:32:20
In JPEG XL format the biggest mistake that I made -- I think -- is that the dct decomposition is shared for X, Y and B If I could decide that again, I'd have separate integral transform decomposition for them -- it is very difficult to decide the right sizes when it affects all three channels and I need to opt for smaller sizes than otherwise would be possible
gb82
Jyrki Alakuijala AVIF has issues with smoothing -- it oversmooths very easily -- it's smoothing is not modulated by the respective quantization level, so it can smooth details that were actually sent in the stream -- the control stream for modulating smoothing has 64x64 resolution, so it cannot control even through a side channel This plus weaknesses in entropy coding larger numbers (as all numbers are in high quality) make sure -- in my opinion -- that no substantial encoding advances are possible
2024-08-19 04:35:23
Substantial encoding advances over what current flagship implementation?
Jyrki Alakuijala
2024-08-19 04:38:31
over current practice -- which I believe is more or less the same since five years (I might have lost touch as I didn't follow it during the last 2 years)
gb82
2024-08-19 05:40:32
Oh okay gotcha. Reigning champion is aomenc 4:4:4 deltaq mode 3 tune ssim
2024-08-19 05:40:46
Although that will likely change in the coming weeks
_wb_
2024-08-19 07:50:34
AVIF does benefit from doing more exhaustive search for directional prediction modes โ€” which is costly and explains the substantial gap in compression performance between the slowest settings and the faster settings.
2024-08-19 07:54:30
In libjxl we don't really have any super slow very exhaustive encoders for VarDCT mode, most things are basically single-shot heuristics, except for the butteraugli iterations done at e8+ to decide the adaptive quantization weights.
gb82
2024-08-19 09:01:53
aomenc is also just a really painfully slow implementation
2024-08-19 09:02:46
(reversed JXL's effort numbers to make it consistent with the rest of the graph here)
2024-08-19 09:02:51
also this is real time, not usr time
Jyrki Alakuijala
_wb_ AVIF does benefit from doing more exhaustive search for directional prediction modes โ€” which is costly and explains the substantial gap in compression performance between the slowest settings and the faster settings.
2024-08-20 08:13:05
if I turn on/off directional prediction, I don't see much change in behaviour -- I consider the AVIF's improvement with graphics may be more caused by: 1. palette transform that allows 8 colors to be used in a pixelized local transform (it starts breaking up weirdly if a gradient is part of the block, but is nice for compressing certain features at low quality -- at high quality we usually need more than 8 colors for a block) 2. wedge codebook for compound wedge prediction (also great at lower quality, when you can only spend a few bits per block) 3. and to a lesser degree, stronger smoothing (which comes with a downside of oversmoothing)
gb82 Substantial encoding advances over what current flagship implementation?
2024-08-20 08:15:44
tune ssim? tune butteraugli is no longer available or is it just worse nowadays?
gb82
2024-08-20 01:54:16
Worse nowadays, esp ever since SSIMU2 became ubiquitous
_wb_
2024-08-22 05:14:16
https://www.chip.de/news/Veraltete-Technik-Sterben-die-klassischen-JPG-Dateien-bald-aus_185424775.html
jonnyawsom3
2024-08-22 06:30:05
That's a PNG...
KKT
2024-08-22 06:03:38
"Apple will introduce a new image format called "JPEG-XL," sitting alongside HEIF, JPEG, HEIF Max, ProRaw, and ProRAW Max": https://appleinsider.com/articles/24/08/22/exclusive-every-iphone-16-iphone-16-pro-camera-spec-capture-button-detail-revealed
DNFrozen
I do wonder if we'll end up with some new members from the video, since most of the comments seem to be about wanting JXL support (back) or finding out about progressive decoding and wanting to learn more
2024-08-22 06:37:37
yup i found out about jxl because of this video
Foxtrot
2024-08-22 08:55:32
I am looking forward how will it compare to HEIF
AAC (damywise.com) Compression
KKT "Apple will introduce a new image format called "JPEG-XL," sitting alongside HEIF, JPEG, HEIF Max, ProRaw, and ProRAW Max": https://appleinsider.com/articles/24/08/22/exclusive-every-iphone-16-iphone-16-pro-camera-spec-capture-button-detail-revealed
2024-08-22 11:25:47
Big if true
.vulcansphere
KKT "Apple will introduce a new image format called "JPEG-XL," sitting alongside HEIF, JPEG, HEIF Max, ProRaw, and ProRAW Max": https://appleinsider.com/articles/24/08/22/exclusive-every-iphone-16-iphone-16-pro-camera-spec-capture-button-detail-revealed
2024-08-22 11:26:53
Interesting...
CrushedAsian255
2024-08-23 12:22:35
will jpeg xl camera also come to older iPhones?
Managor
2024-08-23 12:41:11
Knowing Apple, probably not. It's always an incentive to upgrade and consoom
CrushedAsian255
Managor Knowing Apple, probably not. It's always an incentive to upgrade and consoom
2024-08-23 12:43:53
me when cjxl ๐Ÿคทโ€โ™‚๏ธ
KKT
2024-08-23 12:54:19
It seems silly it wouldn't but it's definitely not in the iOS 18 beta (that I can find)
gb82
KKT "Apple will introduce a new image format called "JPEG-XL," sitting alongside HEIF, JPEG, HEIF Max, ProRaw, and ProRAW Max": https://appleinsider.com/articles/24/08/22/exclusive-every-iphone-16-iphone-16-pro-camera-spec-capture-button-detail-revealed
2024-08-23 02:54:51
praying this is true, holy shit
CrushedAsian255
gb82 praying this is true, holy shit
2024-08-23 03:08:18
praying that it won't be an iPhone 16 exclusive feature
2024-08-23 03:09:01
"our new A18 or whatever chips have a new block in the Media Engine for handling JPEG XL images. Without this hardware block, JPEG XL encoding is not feasible"
jonnyawsom3
2024-08-23 03:14:03
I mean that'd be pretty sweet, but I'm just hoping it's not a jpeg transcode
CrushedAsian255
I mean that'd be pretty sweet, but I'm just hoping it's not a jpeg transcode
2024-08-23 03:15:11
given they're currently using HEIC, they probably wouldn't go back a step (to baseline JPEG) to adopt JPEG XL
KKT
2024-08-23 03:26:18
Anyone running 18.1 that can check? My phone is too old (13 Pro Max)
CrushedAsian255
2024-08-23 03:29:40
this article suggests that it's only for iPhone 16 <https://www.idownloadblog.com/2024/08/22/iphone-16-jpeg-xl-rumor/>
2024-08-23 03:33:47
im probably not going to be affected either way, as i shoot in ProRAW and the transcode to JXL manually, but if Apple does add native JXL capture that would help with adoption
2024-08-23 03:34:03
especially because it's not a patent-riddled mess of a format (ahem HEIC)
username
2024-08-23 03:34:39
hopefully they don't make any silly choices or mistakes such as encoding in 8bpc or something
CrushedAsian255
username hopefully they don't make any silly choices or mistakes such as encoding in 8bpc or something
2024-08-23 03:35:35
ahem Adobe
KKT
CrushedAsian255 im probably not going to be affected either way, as i shoot in ProRAW and the transcode to JXL manually, but if Apple does add native JXL capture that would help with adoption
2024-08-23 04:10:36
Would be great if ProRAW DNGs support JXL encoding thoughโ€ฆ
CrushedAsian255
KKT Would be great if ProRAW DNGs support JXL encoding thoughโ€ฆ
2024-08-23 04:12:36
there's a chance they also add that
2024-08-23 04:12:41
it would be in theme
gb82
CrushedAsian255 praying that it won't be an iPhone 16 exclusive feature
2024-08-23 04:25:28
true
KKT
2024-08-23 05:52:58
https://x.com/stalman/status/1826831590405931212
Quackdoc
CrushedAsian255 im probably not going to be affected either way, as i shoot in ProRAW and the transcode to JXL manually, but if Apple does add native JXL capture that would help with adoption
2024-08-23 05:59:48
this feels so wrong lmao
2024-08-23 06:00:04
DNG supremacy
2024-08-23 06:00:28
I love the term raw because it means nothing [av1_dogelol](https://cdn.discordapp.com/emojis/867794291652558888.webp?size=48&quality=lossless&name=av1_dogelol)
CrushedAsian255
Quackdoc DNG supremacy
2024-08-23 06:00:38
ProRAW is just linearised DNG with apple stuff
Quackdoc I love the term raw because it means nothing [av1_dogelol](https://cdn.discordapp.com/emojis/867794291652558888.webp?size=48&quality=lossless&name=av1_dogelol)
2024-08-23 06:00:52
Also Vencord?
Quackdoc I love the term raw because it means nothing [av1_dogelol](https://cdn.discordapp.com/emojis/867794291652558888.webp?size=48&quality=lossless&name=av1_dogelol)
2024-08-23 06:03:32
I think apple think raw just means โ€œuncompressed with better dynamic range storageโ€
Quackdoc
CrushedAsian255 ProRAW is just linearised DNG with apple stuff
2024-08-23 06:03:34
it's also pre-processed by a couple steps
CrushedAsian255 Also Vencord?
2024-08-23 06:03:40
yup
CrushedAsian255 I think apple think raw just means โ€œuncompressed with better dynamic range storageโ€
2024-08-23 06:03:57
exactly, raw doesn't mean anything, and I hate that manufacturers use it
CrushedAsian255
Quackdoc exactly, raw doesn't mean anything, and I hate that manufacturers use it
2024-08-23 06:04:22
True RAW means just DMA from camera sensor to SSD right
Quackdoc
2024-08-23 06:06:54
true raw just means "untouched" "RAW" doesn't actually mean anything, one sec I have a quote from troy sobotka somewhere
2024-08-23 06:11:24
``` Seriously, โ€œRAWโ€, โ€œRawโ€, โ€œrawโ€, โ€œr@Wโ€ isnโ€™t a thing. LOL The whole โ€œput mosaicked imagery onto diskโ€ is a patent minefield, which is why itโ€™s tricky for any company to negotiate. It would seem the โ€œBlackMagic Rawโ€ is a demosaicked camera native RGB. ... The issue is that sensors arenโ€™t like USB peripherals with drivers. That means you have engineering to massage the values, a crapload of register tweaks, and then PCB chips / software to further massage the crap out of those values. By the time you are at โ€œYo dudes this is Really Awesome WTF format!โ€ it is as close to raw data as โ€œmeatโ€ is to a McDonalds Sausage Patty. TL;DR define โ€œrawโ€ before throwing it around. (Iโ€™d take a ProRes LogC Arri Wide Gamut in a heartbeat over some โ€œrawsโ€.) ... Because raw isnโ€™t a thing. So itโ€™s fair to call it raw. Unmassaged RGB primaries are most certainly โ€œrawโ€ LOl Hence Yet Another Meaningless Garbage term. ```
CrushedAsian255
2024-08-23 06:13:06
So ProRAW is RAW by the current market definition of RAW but itโ€™s not *really* raw
Quackdoc
2024-08-23 06:13:32
yeah
2024-08-23 06:13:42
market definition being whatever it wants to be
2024-08-23 06:13:58
terrible term, only marginally better then HDR
CrushedAsian255
2024-08-23 06:14:04
Still think ProRAW looks better with detail and dynamic range (especially at 48MPx)
Quackdoc terrible term, only marginally better then HDR
2024-08-23 06:14:24
Me when 400 nit LCD โ€œHDRโ€
Quackdoc
CrushedAsian255 Me when 400 nit LCD โ€œHDRโ€
2024-08-23 06:16:35
to be fair, a PQ monitor that can reliably dump 400 nits still looks better then sRGB in many cases
Oleksii Matiash
CrushedAsian255 True RAW means just DMA from camera sensor to SSD right
2024-08-23 06:17:57
With the information required to postprocess it AND described. I have a camera where only manufacturer knows how to do one part of linearizing, and despite this information is written in every raw - none of 3d party raw converters know how to use it. So in order to use these raws I have to convert them to dng (without demosaic), thanks god manufacturer decided to bake in this linearization into dng data.
CrushedAsian255
Quackdoc to be fair, a PQ monitor that can reliably dump 400 nits still looks better then sRGB in many cases
2024-08-23 06:18:04
Although now weโ€™re talking about WCG which is usually lumped into HDR
2024-08-23 06:18:41
I feel like there should be a distinction between HDR and WCG HDR = larger range in luminance WCG = larger range in chrominance
Quackdoc
2024-08-23 06:18:57
larger gamut support is nice too indeed, I think even cheapo HDR monitors can somewhat reliably dump larger then sRGB gamut
2024-08-23 06:19:07
accuracy aside
CrushedAsian255
Oleksii Matiash With the information required to postprocess it AND described. I have a camera where only manufacturer knows how to do one part of linearizing, and despite this information is written in every raw - none of 3d party raw converters know how to use it. So in order to use these raws I have to convert them to dng (without demosaic), thanks god manufacturer decided to bake in this linearization into dng data.
2024-08-23 06:19:54
Does DNG require all the demosaic / processing info to be baked in?
Quackdoc accuracy aside
2024-08-23 06:20:13
Yeah, theyโ€™ll look decent, colour accuracy be dammed
Oleksii Matiash
CrushedAsian255 Does DNG require all the demosaic / processing info to be baked in?
2024-08-23 06:20:44
No, but in this case manufacturer decided to bake in that damn linearization step, and it is lifesaver for me
CrushedAsian255
Oleksii Matiash No, but in this case manufacturer decided to bake in that damn linearization step, and it is lifesaver for me
2024-08-23 06:21:15
As in they linearise before writing the file? And the file is linearised?
Oleksii Matiash
2024-08-23 06:23:24
It is term ambiguation. It is not that linearization that Adobe calls 'linearization'. I mean this dng is still bayer, but non-linear sensor response is corrected
Oleksii Matiash It is term ambiguation. It is not that linearization that Adobe calls 'linearization'. I mean this dng is still bayer, but non-linear sensor response is corrected
2024-08-23 06:24:57
Other manufacturer used the same sensors did this step before writing file in the camera, and honestly I prefer this approach
CrushedAsian255
Oleksii Matiash It is term ambiguation. It is not that linearization that Adobe calls 'linearization'. I mean this dng is still bayer, but non-linear sensor response is corrected
2024-08-23 06:25:40
Linear like this definition?
Oleksii Matiash
CrushedAsian255 Linear like this definition?
2024-08-23 06:25:52
Exactly
CrushedAsian255
Oleksii Matiash Other manufacturer used the same sensors did this step before writing file in the camera, and honestly I prefer this approach
2024-08-23 06:26:25
So basically at this point quite a lot of RAW images are just equivalent to an uncompressed EXR?
2024-08-23 06:26:34
in the sensorโ€™s native colour space
Oleksii Matiash
CrushedAsian255 So basically at this point quite a lot of RAW images are just equivalent to an uncompressed EXR?
2024-08-23 06:28:14
No, but for old (especially) sensors lot of work had to be done to get usable image. Some manufacturers did it before writing files, some wrote data as is, writing linearization table to the metadata. But these tables are not described, and noone but manufacturer knows how to use it.
CrushedAsian255
Oleksii Matiash No, but for old (especially) sensors lot of work had to be done to get usable image. Some manufacturers did it before writing files, some wrote data as is, writing linearization table to the metadata. But these tables are not described, and noone but manufacturer knows how to use it.
2024-08-23 06:28:57
So itโ€™s more like โ€œhereโ€™s the linearization table but in a weird proprietary formats and donโ€™t ask us how to use itโ€
Oleksii Matiash
CrushedAsian255 So itโ€™s more like โ€œhereโ€™s the linearization table but in a weird proprietary formats and donโ€™t ask us how to use itโ€
2024-08-23 06:29:06
Right
CrushedAsian255
2024-08-23 06:30:49
Apple ProRAW may as well be an EXR though
2024-08-23 06:31:11
It seems like linearization and debyering happens before saving
2024-08-23 06:31:23
And itโ€™s just a tiled JPEG-LS image
2024-08-23 06:31:29
In LOG or something? Idk
jonnyawsom3
CrushedAsian255 And itโ€™s just a tiled JPEG-LS image
2024-08-23 07:14:48
I'm just hoping if they also add JXL DNG support, they don't do whatever Adobe did with splitting tiles between groups
CrushedAsian255
I'm just hoping if they also add JXL DNG support, they don't do whatever Adobe did with splitting tiles between groups
2024-08-23 07:15:15
What tile size were they using again?
jonnyawsom3
CrushedAsian255 What tile size were they using again?
2024-08-23 07:16:21
672x752 https://discord.com/channels/794206087879852103/822105409312653333/1253000937669132410
CrushedAsian255
2024-08-23 07:16:44
๐Ÿคฎ
2024-08-23 07:16:50
why not just 512x512
jonnyawsom3
2024-08-23 07:17:37
They also have the container enabled, when in their own DNG spec sheet they say to use raw codestreams
CrushedAsian255
They also have the container enabled, when in their own DNG spec sheet they say to use raw codestreams
2024-08-23 07:18:06
Why would you need the container ever for each individual tile?
2024-08-23 07:18:11
What do they store in there?
jonnyawsom3
2024-08-23 07:19:14
I'll *try* to make a JXL DNG and get the verbose jxlinfo output
CrushedAsian255
2024-08-23 07:22:11
Emphasis: try to Adobe DNG converter is a joke sometimes
jonnyawsom3
CrushedAsian255 Emphasis: try to Adobe DNG converter is a joke sometimes
2024-08-23 07:24:48
Spot the difference
CrushedAsian255
Spot the difference
2024-08-23 07:25:24
Well I am pretty much blind but one took way longer
2024-08-23 07:26:39
Why are the options a mix between camelCase snake_case and PascalCase?
jonnyawsom3
2024-08-23 07:29:48
Ask Adobe
CrushedAsian255
2024-08-23 07:30:27
iDontKnow if_i ReallyWantTo
jonnyawsom3
CrushedAsian255 What do they store in there?
2024-08-23 07:38:44
```box: type: "JXL " size: 12, contents size: 4 JPEG XL file format container (ISO/IEC 18181-2) box: type: "ftyp" size: 20, contents size: 12 box: type: "jxll" size: 9, contents size: 1 box: type: "jxlc" size: 288930, contents size: 288922 JPEG XL image, 672x752, (possibly) lossless, 16-bit Grayscale num_color_channels: 1 num_extra_channels: 0 have_preview: 0 have_animation: 0 Intrinsic dimensions: 672x752 Orientation: 1 (Normal) Color space: Grayscale, D65, Linear transfer function, rendering intent: Perceptual```
CrushedAsian255
2024-08-23 07:39:26
So nothing, literally just a bare bitstream in the container cause why not
2024-08-23 07:39:34
What is hill again?
2024-08-23 07:39:40
jxll*
jonnyawsom3
2024-08-23 07:39:59
2024-08-23 07:41:25
Now I don't have to brave the DNG converter next time
Oleksii Matiash
CrushedAsian255 So nothing, literally just a bare bitstream in the container cause why not
2024-08-23 07:54:29
I believe because jxl encoder is more clever in choosing 'tile' size than just such hard defined tiles, also maybe jxl can do it's job better when 'seeing' the whole image, rather than small part of it?
CrushedAsian255
Oleksii Matiash I believe because jxl encoder is more clever in choosing 'tile' size than just such hard defined tiles, also maybe jxl can do it's job better when 'seeing' the whole image, rather than small part of it?
2024-08-23 07:55:13
So basically forget about tiling, the entire image should just be 1 JXL code stream?
2024-08-23 07:55:24
JXL can tile itself just fine
Oleksii Matiash
CrushedAsian255 So basically forget about tiling, the entire image should just be 1 JXL code stream?
2024-08-23 07:55:31
I believe yes
CrushedAsian255
2024-08-23 07:56:12
Also just wondering are the tile sizes of JXL predefined in the header or can it be adaptive? EG if the image mainly uses 1024x1024 can one tile be split to 4 512x512?
jonnyawsom3
2024-08-23 07:57:08
If I recall it's defined in the header
2024-08-23 07:57:30
Only VarDCT has variable block sizes
CrushedAsian255
2024-08-23 07:59:13
It would be cool though
2024-08-23 07:59:45
Although I guess for modular a smaller tile would never really be helpful as the MA tree can basically do that for you
Meow
KKT "Apple will introduce a new image format called "JPEG-XL," sitting alongside HEIF, JPEG, HEIF Max, ProRaw, and ProRAW Max": https://appleinsider.com/articles/24/08/22/exclusive-every-iphone-16-iphone-16-pro-camera-spec-capture-button-detail-revealed
2024-08-23 10:12:16
Apple could use an "innovate" method to acquire smaller file sizes with better compatibility
CrushedAsian255
Meow Apple could use an "innovate" method to acquire smaller file sizes with better compatibility
2024-08-23 10:15:45
by making a new format?
Meow
2024-08-23 10:15:59
Take a photograph -> Process to JPEG -> Convert to JXL (lossless) This would achieve smaller sizes and still could convert back to JPEG, with the exact same quality
CrushedAsian255
2024-08-23 10:16:34
that wouldn't have as good a quality as actual JXL encoding though
Meow
2024-08-23 10:18:19
This is to make sure no loss when converting back to JPEG
HCrikki
2024-08-23 10:18:31
itd have the same issue of jpg taking a lot of storage - gainmaps taking little more doesnt make such a messy approach viable since uploads and shares will have to be recompressed
CrushedAsian255
Meow This is to make sure no loss when converting back to JPEG
2024-08-23 10:20:40
they already use JEIC, they wouldn't care about lossless JPEG reconstruction
Meow
2024-08-23 10:21:14
I've tested some and the resulted JXLs converted from JPEG could be just slightly larger than genuine JXLs
CrushedAsian255 they already use JEIC, they wouldn't care about lossless JPEG reconstruction
2024-08-23 10:21:45
Apple could brand it as ProConvert
CrushedAsian255
2024-08-23 10:22:14
that's because JPEG converted JXLs can only use 8x8 DCT where as true native JXLs can take full advantage of VarDCT
Meow Apple could brand it as ProConvert
2024-08-23 10:22:18
or ProJPEG
HCrikki
2024-08-23 10:22:43
they dont need reconstructibility, with os updtes going as far as they do they can go full jxl with true hdr
CrushedAsian255
HCrikki they dont need reconstructibility, with os updtes going as far as they do they can go full jxl with true hdr
2024-08-23 10:23:13
definitely, remember, they did this with HEIC, they can easily do it again
HCrikki
2024-08-23 10:27:23
now ball's in photo sites' court- smugmug was an early support (owns flickr now, and no word from photobucket
2024-08-23 10:28:06
browsers really skewed public perception about image formats - even if a browser cant view something natively, offer to have the file **downloadable** - simplest adoption possible
Meow
2024-08-23 10:30:56
https://x.com/jyzg/status/1763141558042243470 Would using Jpegli make a difference?
HCrikki
2024-08-23 10:37:53
jpegli+xyb would force the hand of the ecosystem into supporting+enabling by default iccv4 and make higher quality jpg sources to work with
2024-08-23 10:39:34
firefox is the highest profile app that fails decoding xyb jpeglis, barring mobile apps with their own internal logic
Quackdoc
2024-08-23 10:44:00
I want a CICP for xyb but I don't think that really actually makes sense since I think that only actually exists for yuv
CrushedAsian255
2024-08-23 10:44:18
how many devices support XYB jpegs?
Quackdoc
2024-08-23 10:46:06
probably anything with the proper level of icc support
Oleksii Matiash
CrushedAsian255 or ProJPEG
2024-08-23 11:13:24
ProXL
CrushedAsian255
Oleksii Matiash ProXL
2024-08-23 11:13:44
we should go apply for a job at Apple
2024-08-23 11:15:12
specifically their marketing team
HCrikki
CrushedAsian255 how many devices support XYB jpegs?
2024-08-23 11:32:43
about iccv4 in particular, reportedly anything based on webkit, blink, chromium. most mobile gallery apps (samsung's is preinstalled and has a billion installs). on windows it varies, viewers need color management enabled first. windows store's Photos
2024-08-23 11:39:26
showerthought: there should really be packs of sample images, this 'generate your own' situation causes issues since not that many are even familiar with the formats' specifics
CrushedAsian255
HCrikki showerthought: there should really be packs of sample images, this 'generate your own' situation causes issues since not that many are even familiar with the formats' specifics
2024-08-23 11:41:25
maybe some kind of JXL art website where people can share JXL art?
2024-08-23 11:41:38
like the <#824000991891554375> channel on this Discord but a website
2024-08-23 11:43:07
or do you mean more like images that most people would use (photographic? )
HCrikki
2024-08-23 11:51:44
something more organized and far better accessible. discord cant even be browsed without an account and images' tokens expire
2024-08-23 11:52:37
website would be fine as long as files are also *downloadable* (ie under the jxl, theres a 'dont see this image? download it' message)
CrushedAsian255
2024-08-23 11:52:40
Squoosh app is a good way for people to experiment with compression
HCrikki
2024-08-23 11:53:24
squoosh runs a super outdated jxl and showcases little of value imo
CrushedAsian255
HCrikki website would be fine as long as files are also *downloadable* (ie under the jxl, theres a 'dont see this image? download it' message)
2024-08-23 11:54:01
There should probably also be a way for it to convert the image to PNG just for the browser to show it correctly
2024-08-23 11:56:30
I still think the largest chance for JXL adoption is if Apple goes all in
HCrikki
CrushedAsian255 or do you mean more like images that most people would use (photographic? )
2024-08-23 11:56:32
for jpegli, diverse visual examples comparing jpg encoders and how certain kinds of artefacts are improved
2024-08-23 11:57:24
tables with numbers are a good start but the numbers should correspond to something people can visually appreciate
2024-08-23 11:58:21
since jpegli can target a specific filesize, it could more accurately regenerate new jpgs of the same filesize using png originals if those are available
CrushedAsian255
2024-08-23 11:58:28
Does Jpegli help with candying and such?
HCrikki
2024-08-23 11:59:45
candying ?
CrushedAsian255
2024-08-23 12:00:28
Banding
2024-08-23 12:00:35
And blocking artefacts
2024-08-23 12:01:06
What is this glove doing
2024-08-23 12:01:08
Phone
HCrikki
2024-08-23 12:01:57
does reportedly, or at least is affected less visibly thanks to working in higher precision in encode and decode
jonnyawsom3
2024-08-23 02:09:02
Sometimes the comments baffle me, definately no hardware acceleration and what does 'Native Encoding' even mean?
Traneptora
HCrikki firefox is the highest profile app that fails decoding xyb jpeglis, barring mobile apps with their own internal logic
2024-08-23 03:03:18
firefox works with xyb jpegs
_wb_
2024-08-23 05:14:19
https://www.cultofmac.com/news/jpeg-xl-iphone-new-photo-format-explained?utm_content=cmp-true
Quackdoc
2024-08-23 05:16:43
only somewhat related to the article, I hate article titles "what is y and why x should care" has to be the most annoying thing to come from the internet lol
2024-08-23 05:17:36
now to the article itself, didn't really do a great job selling it
KKT
2024-08-23 05:19:05
https://x.com/stalman/status/1826849907778748771
Geniusak
Quackdoc only somewhat related to the article, I hate article titles "what is y and why x should care" has to be the most annoying thing to come from the internet lol
2024-08-23 05:34:02
they're good when that's literally what you're after
2024-08-23 05:34:09
kinda preachy when you're not
Oleksii Matiash
_wb_ https://www.cultofmac.com/news/jpeg-xl-iphone-new-photo-format-explained?utm_content=cmp-true
2024-08-23 07:12:47
> It can handle images up to 1 terapixel Maybe my math skills are on pre-school level, but for me it seems to be ~10^18, i.e. exapixel. Or I'm wrong?
DNFrozen
Oleksii Matiash > It can handle images up to 1 terapixel Maybe my math skills are on pre-school level, but for me it seems to be ~10^18, i.e. exapixel. Or I'm wrong?
2024-08-23 07:38:45
they probably got that info from wikipedia
KKT
2024-08-23 07:39:35
I missed it was crossposted to Threads. Bit of a flame ware breaking out there: https://www.threads.net/@stalman/post/C_AAEQgsyYw?xmt=AQGzpwiI5bGAOdynFO5WNKQN8M2GU6Ut464rXrW0w3LgIg
Meow
Quackdoc only somewhat related to the article, I hate article titles "what is y and why x should care" has to be the most annoying thing to come from the internet lol
2024-08-23 08:11:58
Here the title would be similar to "Look! The new iPhone will add this feature" in Chinese
KKT https://x.com/stalman/status/1826849907778748771
2024-08-23 08:19:55
Much misinformation from the comments below
2024-08-23 08:22:43
And which website did he mention?
๐‘›๐‘ฆ๐‘•๐‘ฃ๐‘ธ๐‘ฅ๐‘ฉ๐‘ฏ๐‘ฆ | ๆœ€ไธ่ชฟๅ’Œใฎไผๆ’ญ่€… | ็•ฐ่ญฐใฎๅ…ƒ็ด 
KKT https://x.com/stalman/status/1826849907778748771
2024-08-23 08:58:08
instant regret looking at the comments
KKT
๐‘›๐‘ฆ๐‘•๐‘ฃ๐‘ธ๐‘ฅ๐‘ฉ๐‘ฏ๐‘ฆ | ๆœ€ไธ่ชฟๅ’Œใฎไผๆ’ญ่€… | ็•ฐ่ญฐใฎๅ…ƒ็ด  instant regret looking at the comments
2024-08-24 01:45:01
Yeah, it's pretty painful.
2024-08-24 02:06:22
Nope. That's me! I asked him if he'd help us get the word out before the Apple event. He usually gets invited to them.
CrushedAsian255
KKT Yeah, it's pretty painful.
2024-08-24 04:47:38
I donโ€™t use X. What do the comments say
jonnyawsom3
2024-08-24 05:43:18
About what I expected
_wb_
2024-08-24 09:40:40
https://news.ycombinator.com/item?id=41334964
Meow
2024-08-24 10:33:30
https://x.com/nightshademagia/status/1827071348738285892
2024-08-24 10:33:36
Such as this
CrushedAsian255
Meow https://x.com/nightshademagia/status/1827071348738285892
2024-08-24 10:36:01
pretty much
yoochan
About what I expected
2024-08-24 10:49:54
I find comments less bad than months ago. People start to understand what it means to be able to convert all existing jpegs or having a free lossless codec which doesn't suxks. There is still some simpletons though
CrushedAsian255
yoochan I find comments less bad than months ago. People start to understand what it means to be able to convert all existing jpegs or having a free lossless codec which doesn't suxks. There is still some simpletons though
2024-08-24 10:56:13
"BUT WEBP IS THE BEST FORMAT EVER"
yoochan
2024-08-24 11:15:37
And "BuT JpEg XL iS nOt fReee"
CrushedAsian255
yoochan And "BuT JpEg XL iS nOt fReee"
2024-08-24 11:16:09
when they say that do they mean the spec is not open?
yoochan
2024-08-24 11:16:41
They mean The spec is paywalled
CrushedAsian255
yoochan They mean The spec is paywalled
2024-08-24 11:17:26
is the format "free" because after paying for the spec you can implement it however you want?
Meow
2024-08-24 11:17:28
Thus JpEg iS nOt fReee eITHer
HCrikki
2024-08-24 11:17:39
integrating libjxl is totally unrestricted and requires agreeing to nothing. libjxl is also not jpegxl, only the reference library made as a working implementation - youre free to create or use any other library
Meow
2024-08-24 11:18:59
Unfortunately time is not free either as ISO 8601 is paywalled
yoochan
2024-08-24 11:19:07
Reimplementing is also free... ISO take a fee for the administrative process of making the document
HCrikki
2024-08-24 11:19:42
i recall almost everyone who could need iso access already has it paid by their workplace or education
CrushedAsian255
2024-08-24 11:19:48
as in if I want to write my own version of the spec im completely allowed to?
HCrikki i recall almost everyone who could need iso access already has it paid by their workplace or education
2024-08-24 11:20:01
what about hobbyists who just like reading specs
yoochan
2024-08-24 11:20:18
As jon said. Av1, owned by corporations could be seen as less free... At least, less independent
CrushedAsian255 what about hobbyists who just like reading specs
2024-08-24 11:20:44
They can comme here
CrushedAsian255
yoochan They can comme here
2024-08-24 11:21:02
and get the copy of the draft spec from https://discord.com/channels/794206087879852103/1021189485960114198 ?
HCrikki
2024-08-24 11:21:03
theres also some wip version of the spec somewhere iinm but integrating is the smarter approach
CrushedAsian255
HCrikki theres also some wip version of the spec somewhere iinm but integrating is the smarter approach
2024-08-24 11:22:14
there's https://discord.com/channels/794206087879852103/1254012901816274956 but last PR was a month ago so not sure if it's continuing
yoochan
CrushedAsian255 as in if I want to write my own version of the spec im completely allowed to?
2024-08-24 11:22:27
Absolutely. You are even encouraged to ๐Ÿ˜
HCrikki
2024-08-24 11:22:43
ffmpeg supports countless formats and nobody ever needed memberships anywhere despite it covering patented formats with actually restricted access
CrushedAsian255
yoochan Absolutely. You are even encouraged to ๐Ÿ˜
2024-08-24 11:22:58
and i won't get in trouble as long as I am not just copying the ISO spec word for word?
yoochan
2024-08-24 11:26:19
Yep, ISO have an authorship right on the spec they provide. If you want to re write it (and make it clearer or cleaner) please do.... However, the ISO version will forever remain the reference
Meow
2024-08-24 11:28:57
https://en.wikipedia.org/wiki/ISO_8601#Adoption_as_national_standards Example
2024-08-24 11:29:25
You can adopt it and write your own
Quackdoc
2024-08-24 11:29:41
it's OK, many things have historically had multiple conflicting specifications, just look at sRGB [av1_omegalul](https://cdn.discordapp.com/emojis/885026577618980904.webp?size=48&quality=lossless&name=av1_omegalul)
CrushedAsian255
Quackdoc it's OK, many things have historically had multiple conflicting specifications, just look at sRGB [av1_omegalul](https://cdn.discordapp.com/emojis/885026577618980904.webp?size=48&quality=lossless&name=av1_omegalul)
2024-08-24 11:31:16
so the ISO is the reference spec like how cjxl is the reference encoder, but anyone is allowed to write their own version of the spec, even if it's to handle the same format?
2024-08-24 11:31:28
like how `jxl-oxide` is for the same JXL files as `djxl`
Quackdoc
2024-08-24 11:31:51
yeah, anyone can write anything they want so long as they don't step on the wrong toes. in the case of JXL it should be fair game
CrushedAsian255
2024-08-24 11:32:49
even if the spec I write is the same functionally, as long as it's isn't just copypaste?
2024-08-24 11:33:00
is the copyright on the bitstream format or the words in the spec?
yoochan
2024-08-24 11:33:09
As long as it is not plagiarism
CrushedAsian255
2024-08-24 11:33:11
sorry i don't want to be sued
yoochan
2024-08-24 11:34:47
You can describe the format again in your own words as much as you want. The original text is only copyrighted : no word for word translation or copy paste...
CrushedAsian255
2024-08-24 11:35:17
that makes sense
2024-08-24 11:35:27
> You can describe the format again in your own words yeah, that clears it up for me
2024-08-24 11:35:27
thanks
yoochan
2024-08-24 11:36:11
The format is free, its original description is copyrighted and available with a fee
CrushedAsian255
yoochan The format is free, its original description is copyrighted and available with a fee
2024-08-24 11:37:23
yeah, the format is basically as free as it feasibly can, the reference implementation is FOSS, anyone can write their own encoder or decoder, you can rewrite the spec, it's just the original spec that costs a one-time administration fee
yoochan
2024-08-24 11:38:34
Yep, ISO is a big beast which need to be fed
CrushedAsian255
2024-08-24 11:38:47
not everyone can be an Xiph.org or an AOM
2024-08-24 11:39:00
devs need to be paid
Quackdoc
2024-08-24 11:39:39
isnt xiph practically dead these days?
yoochan
2024-08-24 11:42:17
The ISO fee don't pay devs, only the organization of meetings, deadlines and other administrative tasks
CrushedAsian255
yoochan The ISO fee don't pay devs, only the organization of meetings, deadlines and other administrative tasks
2024-08-24 11:43:03
but that's also important
Quackdoc isnt xiph practically dead these days?
2024-08-24 11:43:27
not sure, i personally thought they were part of AOM
2024-08-24 11:43:45
given they helped make a lot of open media codecs (Opus, FLAC, Ogg, Theora, etc)
_wb_
CrushedAsian255 is the copyright on the bitstream format or the words in the spec?
2024-08-24 01:28:05
Copyright is on words, not on ideas. So you can make a functionally equivalent spec and make it publicly available, just have to avoid copying phrases of text. Tables and code are OK to copy, just not the prose in between.
2024-08-24 01:31:38
As far as I understand, most of the xiph folks used to work for Mozilla, until the whole Mozilla codec team was cut in the big layoffs of August 2020.
A homosapien
Meow And which website did he mention?
2024-08-24 08:30:18
They were talking about this website: https://discord.com/channels/794206087879852103/1256302117379903498/1256305400102391898
Meow
2024-08-27 04:55:48
Why do some media use "JPEG-XL" instead? Is that a legit name?
_wb_
2024-08-27 06:26:17
The "official" name is JPEG XL, with a space.
Demiurge
2024-08-27 11:24:47
The comments saying jxl is nonfree are just nonsensical. It's like saying jpeg isn't free.
CrushedAsian255
Demiurge The comments saying jxl is nonfree are just nonsensical. It's like saying jpeg isn't free.
2024-08-27 11:31:44
the only part that isn't "free" is the official spec, and that's just talking about money
Demiurge
2024-08-27 11:33:45
Some people also saw an article about Microsoft supposedly patenting rANS or something, which isn't even what happened, and has nothing to do with jxl
2024-08-27 11:34:02
but that spread misinformation that the format is supposedly patented by microsoft
CrushedAsian255
2024-08-27 11:34:55
is rANS even used in JXL?
2024-08-27 11:35:01
haven't looked into JXL entropy coding
Demiurge
2024-08-27 11:35:27
Even though microsoft was granted a patent on something else entirely, that has nothing to do with jxl.
CrushedAsian255
2024-08-27 11:35:47
it feels like there's a lot of anti-jpegxl propaganda
2024-08-27 11:35:58
maybe google is doing some anti-jpegxl campaigning
2024-08-27 11:36:13
otherwise why are there so many people who don't just not care about it, but actively dislike/despise it
Demiurge
2024-08-27 11:36:29
doubtful. It's normal for people to be misinformed and bad at playing telephone.
CrushedAsian255
Demiurge doubtful. It's normal for people to be misinformed and bad at playing telephone.
2024-08-27 11:36:43
and i guess people don't want a repeat of WebP
Demiurge
2024-08-27 11:38:10
Everyone hates new formats being introduced without good reason too. Plus recent versions of libaom have made some strides, and preserve details and colors much better than recent versions of libjxl in my experience, so that doesn't help things.
username
2024-08-27 11:38:38
there's a crowd of anti-JXL people who are like "You won't take away my PNGs and JPEGs!", do they realize that if it's not JXL then it's going to be something worse like WebP or AVIF?