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!

Deleted User
2021-05-29 12:48:00
<@!794205442175402004> hell yeah, built-in blurhash!
Scientia
2021-05-31 05:44:31
We're not talking about one image loading off of the fastest connection
2021-05-31 05:45:41
We're talking about multiple images on a website, like up to 20 onscreen at the same time, and we're talking about bandwidth varying from a garbage ISP in a developing country to the fastest fiber
_wb_
2021-05-31 06:05:33
Also while I think having an end-user-centric view is generally good for the web, you have to understand that bandwidth is a thing that does matter for servers. The reason clients don't have to worry about it, is that effectively servers are paying the bill.
2021-05-31 06:11:32
(though with mobile data plans, it is often also the client who pays the bill, and a 50% reduction in image sizes probably translates to a 30-40% overall bandwidth reduction and mobile data money saved for a typical web page)
2021-06-01 06:51:26
https://www.biorxiv.org/content/10.1101/2021.05.29.445828v1.full.pdf&ved=2ahUKEwjHsb-ii_fwAhXR_KQKHdXhB3Y4ChAWMAB6BAgGEAI&usg=AOvVaw0xiZnkoDDIHooqi61gBv_H
Nova Aurora
_wb_ https://www.biorxiv.org/content/10.1101/2021.05.29.445828v1.full.pdf&ved=2ahUKEwjHsb-ii_fwAhXR_KQKHdXhB3Y4ChAWMAB6BAgGEAI&usg=AOvVaw0xiZnkoDDIHooqi61gBv_H
2021-06-01 07:41:06
That link doesn't seem to work
_wb_
2021-06-01 07:41:53
ugh
2021-06-01 07:41:55
https://www.biorxiv.org/content/10.1101/2021.05.29.445828v1.full.pdf
Nova Aurora
2021-06-01 07:42:49
Will read
raysar
_wb_ https://www.biorxiv.org/content/10.1101/2021.05.29.445828v1.full.pdf
2021-06-01 09:18:46
What's going on at compression rate 8:1? it's strange no?
190n
2021-06-02 12:35:02
wouldn't you want medical imagery to be mathematically lossless?
_wb_
2021-06-02 05:21:54
Lossless j2k (inside a DICOM container) is the typical thing used in medical imagery atm, afaik
veluca
2021-06-02 06:47:59
well this is not *exactly* medical data though πŸ˜„
2021-06-02 06:48:32
and the thing is, it's so much data that they couldn't possibly store it all with lossless (especially once they switch to not-just-the-H1-part)
Jim
2021-06-02 10:29:11
Praise & support from the Cloudflare CDN & one of my predictions is coming true (looking into performance). https://github.com/mozilla/standards-positions/issues/522#issuecomment-852891626
_wb_
2021-06-09 06:28:19
This discord has all the experts of image compression πŸ˜…
Diamondragon
2021-06-10 01:11:31
https://boards.4channel.org/g/thread/82004109
2021-06-10 01:11:32
The folks on /g/ have taken note of the Adobe thing, and are talking amongst themselves.
190n
2021-06-10 01:21:11
> There is literally no reason to ever use a new image format for the rest of my life.
2021-06-10 01:21:16
nice discussion
Scientia
Diamondragon https://boards.4channel.org/g/thread/82004109
2021-06-10 01:56:50
Lol someone posted a bunch of random noise as an image to try to prove jxl was bad
2021-06-10 01:57:06
Of course jxl won't do well on random noise it's random noise
2021-06-10 01:57:17
2021-06-10 01:57:23
This is the image BTW ^
BlueSwordM
Scientia Of course jxl won't do well on random noise it's random noise
2021-06-10 01:58:01
Weak.
2021-06-10 01:58:05
Not even using noise synthesis smh
improver
2021-06-10 02:21:48
it's apparently to waste space on 4chan's servers as protest lmao
2021-06-10 02:22:08
kinda funny but i doubt it'll do much
2021-06-10 02:54:27
likewise
Scientia
2021-06-10 02:54:53
I think lossy modular worked kind of on that
2021-06-10 02:55:10
But I think it's too bad to be actually useful
2021-06-10 02:55:47
Plus not being worked on actively compared to vardct or modular (lossless)
_wb_
2021-06-10 05:19:34
Lossy modular is actually used for encoding of DC and alpha, but yes, vardct in general works better. For some images, lossy modular might work better though.
2021-06-10 05:19:55
There are quite a few ways to do lossy in modular btw
2021-06-10 05:20:18
There's Squeeze+quantizing the residuals
2021-06-10 05:20:28
There's lossy delta palette
2021-06-10 05:22:13
There's using a predictor (e.g. gradient or weighted) and quantizing the residuals
2021-06-10 05:23:52
Currently we do the first for alpha and for DC at low quality targets and the last for DC at high quality targets
2021-06-10 05:25:19
For non-photo images I think lossy delta palette can be good (and maybe in the future vardct with better use of splines and patches)
spider-mario
190n > There is literally no reason to ever use a new image format for the rest of my life.
2021-06-10 09:36:16
what is HDR \:S
Petr
2021-06-11 07:58:19
Another article from the same author on the same site as last time but this time more about jxl: https://www.root.cz/clanky/ani-heic-ani-avif-ale-jpeg-xl-bude-nastupcem-stareho-jpegu/
veluca
2021-06-11 07:59:01
a tldr for those of us that don't know Polish? πŸ˜›
Petr
2021-06-11 07:59:10
Translated from Czech to English: https://translate.google.com/translate?sl=cs&tl=en&u=https://www.root.cz/clanky/ani-heic-ani-avif-ale-jpeg-xl-bude-nastupcem-stareho-jpegu/
veluca
2021-06-11 07:59:11
er, Czeck πŸ˜›
2021-06-11 07:59:33
oh, so translate does a decent job there?
Petr
2021-06-11 08:00:39
Basically the author mentions the competitors and hopes for jxl to become the successor of legacy JPEG.
2021-06-11 08:02:08
I can't check the translation because Google Translate says something about weird behaviour of my computer or my network and doesn't translate… 😜
_wb_
2021-06-11 08:12:54
> For example, the combination of Rawtherapee counting everything internally with 32bit / channel accuracy and JPEG XL can save 32bit / channel, is a cannon on a sparrow, but at the same time a lot of space for possible future adjustments of images that you will simply never do with 8bit JPEG. give you a histogram.
2021-06-11 08:13:14
πŸ€”
2021-06-11 08:13:42
what is a cannon on a sparrow? sounds like a Czech proverb or something πŸ™‚
2021-06-11 08:16:56
so it's overkill basically
2021-06-11 08:18:41
yeah it probably is β€” likely 24-bit floats are enough in practice for all authoring workflows, it's just that 32-bit floats happen to be *significantly* easier to work with on any cpu πŸ™‚
2021-06-11 08:19:13
also: better safe than sorry
2021-06-11 08:19:35
anyway, nice article, thanks for the pointer, <@!792428046497611796> !
2021-06-12 06:50:17
https://blog.sesse.net/blog/tech/2021-06-09-00-15_encoding_avif_from_perl.html
2021-06-12 06:50:45
> Unfortunately, I am unable to find a setting where AVIF 4:4:4 consistently outperforms regular JPEG 4:4:4 (even with libjpeg); it's fantastic at lower bitrates, but I want visual lossless, and at those bitrates, it's either smoothing way too much structure or using way too may bits. So next out is probably trying JPEG XL, or maybe figuring out how to hook up mozjpeg…
Deleted User
2021-06-12 06:54:31
That's what I've been annoyed about since lossy WebP regarding any image format based on a video codec.
_wb_
2021-06-14 09:30:53
https://boards.4channel.org/g/thread/82004109/jpeg-xl-endorsedsupported-by-adobe
Scope
2021-06-15 01:09:31
https://dbohdan.com/wiki/jpeg-xl
2021-06-15 10:32:32
https://www.smashingmagazine.com/2021/06/smashing-podcast-episode-39/
2021-06-15 10:37:30
Also, very heavily compressed preview <:SadOrange:806131742636507177>
improver
2021-06-21 08:15:07
https://news.ycombinator.com/item?id=27559748
2021-06-21 09:35:25
https://news.ycombinator.com/item?id=27577328 also heh
Jyrki Alakuijala
2021-06-21 01:42:06
many people posted links to a 10 month? old comparison of jpeg xl vs webp
2021-06-21 01:42:19
that comparison is a lot more unfavorable to jpeg xl than a recent comparison
2021-06-21 01:42:48
please consider upvoting my link to a more recent comparison so that it would occur at earliest moment in the discussion
2021-06-21 01:43:26
the comment starts 'Please up-vote this.'
2021-06-21 01:46:30
haha, I'm not an expert on social media πŸ˜„
2021-06-21 01:46:47
I'll reformulate the request
2021-06-21 01:48:49
"Check it out with your own eyes with the most recent comparison site for WebP, AVIF and JPEG XL:"
_wb_
2021-06-21 01:54:43
true, also not for some other exotic kinds of JPEGs, but for your typical camera pictures it's not going to be an issue
paperboyo
2021-06-21 02:01:06
[Ouch](https://storage.googleapis.com/demos.webmproject.org/webp/cmp/2021_06_08/index.html#us-open-tennis-2010-1st-round-046&WEBP=s&JXL=s&subset1) – that’s gonna replace VΓ©zelay Basilique and Air Force Chapel as my personal test-improvements link…
2021-06-21 02:03:31
TBH, it never even occurred to me to test against anything else but AVIF…
fab
2021-06-21 02:48:51
jxl is super in this image
2021-06-21 02:49:00
other codecs are very bad
_wb_
2021-06-21 02:56:33
it's one of those images where "Big" is 0.5 bpp
2021-06-21 03:19:41
It's an image where smoothing the flat areas isn't very problematic and webp/avif win by doing edges without ringing at that low bpp
2021-06-21 03:19:55
Would be interesting to see how the current jxl does on it
raysar
2021-06-21 04:06:56
with new build, i need to do an animate ^^
2021-06-21 04:11:44
And with 75% of resolution is WAY better.
2021-06-21 04:12:47
Adding a resize option for avoiding very low quality is a very good solution. Here file size is 1% of png !
2021-06-21 04:16:48
An other smart optimisation is to encode the 50% center of picture with a better quality than edge, because center is WAY more important in picture than the edge. For example here -d7 in center and -d9 in edge.
Deleted User
2021-06-21 04:19:11
Another possible tweak: face detection. People pay LOTS of attention to faces, so the AQ should give a bit more bits to them than other areas.
raysar
Another possible tweak: face detection. People pay LOTS of attention to faces, so the AQ should give a bit more bits to them than other areas.
2021-06-21 04:22:35
Yes, for the future encoder, face detection is a HUGE performance gap for visual quality, with low detection complexity. eyes and mouth need visual lossless encoding everywhere, it's a very small pixel surface.
Jyrki Alakuijala
2021-06-21 06:07:17
our JPEG XL competition entry had face detection and boosted faces by 20 % in adaptive quantization
2021-06-21 06:07:33
but it had many other problems πŸ˜„
raysar
Jyrki Alakuijala our JPEG XL competition entry had face detection and boosted faces by 20 % in adaptive quantization
2021-06-21 07:15:10
competition entry?
monad
2021-06-21 07:17:07
Presumably for the JPEG XL call for proposals.
improver
2021-06-21 07:23:37
so PIK?
Jyrki Alakuijala
2021-06-21 10:36:50
PIK + several kludges
Scientia
paperboyo [Ouch](https://storage.googleapis.com/demos.webmproject.org/webp/cmp/2021_06_08/index.html#us-open-tennis-2010-1st-round-046&WEBP=s&JXL=s&subset1) – that’s gonna replace VΓ©zelay Basilique and Air Force Chapel as my personal test-improvements link…
2021-06-22 12:20:40
To be fair the jxl is more than 2kb smaller
raysar
Scientia To be fair the jxl is more than 2kb smaller
2021-06-22 12:49:24
look at my file, it's not good enough, even with last build.
Scope
2021-06-22 02:05:24
<https://www.reddit.com/r/programming/comments/o4u8fp/jpeg_xl_would_be_turingcomplete_via_rule_110/>
Deleted User
2021-06-22 11:22:14
I don't have a Hacker News account, could someone post there my Gist about enabling JPEG XL in Edge?
2021-06-22 11:22:17
https://news.ycombinator.com/item?id=27579742
2021-06-22 11:22:55
And here's my gist: https://gist.github.com/ziemek99/6295222469218427bb160cf849cdaa0c
_wb_
2021-06-22 11:48:59
done
Deleted User
2021-06-22 11:58:00
Edge on Linux is still in testing phase, those who have it installed will probably know how to adapt those instructions for Linux...
2021-06-22 11:58:43
And I don't have access to a "proper" Linux (with GUI), I've only got CLI in WSL2.
_wb_ done
2021-06-22 11:58:57
Thanks! πŸ˜ƒ
2021-06-22 12:00:01
By the way while you're here <@!794205442175402004>, I've browsed HN a bit and stumbled upon an article about Green Pass QR codes. I can't make this sucker smaller in JXL than Pingo-optimized PNG...
2021-06-22 12:00:05
https://gir.st/blog/img/greenpass-demo.png
2021-06-22 12:00:55
PNG (Pingo): 2,167 bytes JXL (first command): 2,249 bytes JXL (added `--patches=0`): 2,161 bytes JXL (added `-P 0`): 2,158 bytes
_wb_
2021-06-22 12:01:45
try --patches=0
Deleted User
2021-06-22 12:01:46
Command: `cjxl greenpass-demo.png greenpass-demo.jxl -m -s 9 -I 1 --override_bitdepth=1 -v` (`-g 3 -E 3` weren't any helpful)
_wb_
2021-06-22 12:02:07
patches detects some stuff here but it isn't helpful
Deleted User
2021-06-22 12:02:52
`--patches=1`: ```Read 350x350 image, 18.7 MP/s Encoding [Modular, lossless, tortoise], 2 threads. Compressed to 2249 bytes (0.147 bpp). 350 x 350, 0.22 MP/s [0.22, 0.22], 1 reps, 2 threads. Average butteraugli iters: 0.00 Total layer bits headers 0.538885% 95 Total layer bits TOC 0.096432% 17 Total layer bits quant tables 0.005672% 1 Total layer bits dictionary 1.968348% 347 [c/i: 2.00 | hst: 6 | ex: 6 | h+c+e: 40.532] Total layer bits modularGlobal 95.047932% 16756 [c/i: 8.00 | hst: 33 | ex: 0 | h+c+e: 2090.367] Total layer bits modularTree 2.342731% 413 [c/i: 3.00 | hst: 11 | ex: 14 | h+c+e: 52.716] Total image size 17629 [c/i: 13.00 | hst: 51 | ex: 20 | h+c+e: 2183.616] Allocations: 671 (max bytes in use: 6.380992E+06)```
2021-06-22 12:03:27
`--patches=0`: ```Read 350x350 image, 21.8 MP/s Encoding [Modular, lossless, tortoise], 2 threads. Compressed to 2161 bytes (0.141 bpp). 350 x 350, 0.25 MP/s [0.25, 0.25], 1 reps, 2 threads. Average butteraugli iters: 0.00 Total layer bits headers 0.526559% 91 Total layer bits TOC 0.121514% 21 Total layer bits quant tables 0.005786% 1 Total layer bits modularGlobal 96.956371% 16756 [c/i: 8.00 | hst: 33 | ex: 0 | h+c+e: 2090.367] Total layer bits modularTree 2.389770% 413 [c/i: 3.00 | hst: 11 | ex: 14 | h+c+e: 52.716] Total image size 17282 [c/i: 11.00 | hst: 45 | ex: 14 | h+c+e: 2143.083] Allocations: 378 (max bytes in use: 4.465085E+06)```
_wb_ patches detects some stuff here but it isn't helpful
2021-06-22 12:03:42
Disabling patches helped indeed, thanks!
_wb_
2021-06-22 12:04:02
-P 0 trims off 3 more bytes
2021-06-22 12:05:40
yes
2021-06-22 12:05:48
same happens with PNG vs JPEG on an image like that
2021-06-22 12:06:35
at some point I hope we can have heuristics to detect this kind of thing, and use lossless by default when it is better than lossy
2021-06-22 12:08:07
I mean you can of course just always try both, but that would slow down encoding a huge amount
2021-06-22 12:08:35
also there can be cases when part of the image is best done with lossy and another part is best done with lossless
2021-06-22 12:09:05
and we can do that - this is exactly what multi-frame still images are designed for
2021-06-22 12:09:42
this is where jxl can really shine imo, because no other codec can do that atm
2021-06-22 12:09:56
webp also has two modes but they cannot be mixed in a still image
2021-06-22 12:10:03
avif doesn't really have good lossless
2021-06-22 12:10:28
and of course jpeg / png are single-mode so they certainly can't mix things
2021-06-22 12:12:49
when I have time, I'm going to try to make a quick heuristic to detect/extract parts that are better done with lossless (doesn't even have to be fully lossless, could do what we do now for text patches: quantize colors a bit, nobody needs 256 shades of gray for nicely anti-aliased black on white text, just a few shades is fine)
Deleted User
2021-06-22 12:15:37
Back again to the QR code for a while: PNG 2,167 -> JXL 2,158. 9 bytes of a difference. Could JXL encode it even better?
2021-06-22 12:21:19
QR codes consist of lots of squares, maybe they could be paletted or patched?
_wb_
2021-06-22 12:27:42
might be worth signalling a custom upscaler that is just nearest neighbor, then encode the 1:4 image (if that can be made to produce exactly the same result)
2021-06-22 12:27:56
no way the encoder is going to try something like that though
Deleted User
2021-06-22 12:32:26
Those are an exception, not the rule
2021-06-22 12:32:47
You can encode the logo with VarDCT or lossy Modular
2021-06-22 12:36:23
By the way here's that QR code, encoded at `-d 15`. It switches between patches enabled and disabled.
2021-06-22 12:38:08
If we look at the QR code's structure...
2021-06-22 12:38:11
https://upload.wikimedia.org/wikipedia/commons/thumb/1/1d/QR_Code_Structure_Example_3.svg/2560px-QR_Code_Structure_Example_3.svg.png
2021-06-22 12:39:14
...it seems like the patch heuristics detected: - all 3 position blocks - only 2 alignment blocks - some lonely squares
2021-06-22 12:44:36
Here's the difference between patched and non-patched version, made in GIMP.
_wb_
2021-06-22 12:45:47
possibly you could also create a funky palette that has multiple indices that correspond to white and black, in such a way that you can basically encode only the topleft pixel of every little square, and the others are derived implicitly: e.g. have index 0-6 for black and 7-13 for white, where you use 0 and 7 for the topleft pixels, the other pixels check if NW has a "bottomright" index (6 or 13), if yes then you have a new topleft pixel to encode (using a histogram that contains values 0 and 7 only, costing about 1 bit), if no then they make a diagonal gradient, i.e. they get value {0,8}+i+j at subposition (i,j) from the topleft pixel, which can probably be expressed in a small MA tree so it can be done with zero entropy
2021-06-22 12:46:24
(the above is for 4x4 squares, the approach generalizes to other square sizes)
Here's the difference between patched and non-patched version, made in GIMP.
2021-06-22 12:50:35
The current patches heuristic is only going to find patches close to the clean white background
Deleted User
2021-06-22 12:55:24
I'm not surprised since I've seen your messages about it, I'm just making reference materials for the future when you finally decide to improve patches.
Scientia
2021-06-23 05:22:09
Is the QR code still working at d15?
Petr
Scientia Is the QR code still working at d15?
2021-06-23 05:38:39
Back in 2016, I was playing with QR codes a lot. If each module has 6Γ—6 pixels and the code is saved to JPEG with Q 10 (just for the purpose of testing), it's still perfectly readable.
2021-06-23 05:38:59
Scientia
2021-06-23 05:43:48
Why is there a face
Petr
Scientia Why is there a face
2021-06-23 05:48:44
Because I wanted to make something very special. And it worked – I became a Czech record holder: https://translate.google.com/translate?sl=cs&tl=en&u=https://www.mozaikar.cz/nejobsahlejsi-2d-kod-z-mozaiky-aneb-jak-se-stat-ceskym-rekordmanem/ 😜
_wb_
2021-06-23 05:49:45
Black/white is a pure luma signal with max contrast, so any codec/encoder will try to preserve that as much as possible
2021-06-23 05:50:43
If you make the blocks 8px so they're aligned with DC, you won't be able to destroy them with jpeg / jpeg xl no matter what you do
Petr
_wb_ If you make the blocks 8px so they're aligned with DC, you won't be able to destroy them with jpeg / jpeg xl no matter what you do
2021-06-23 05:51:22
I know. I used 6Γ—6 on purpose to test readability.
_wb_
2021-06-23 05:52:09
7x7 or 5x5 might be slightly more challenging
Petr
2021-06-23 05:55:21
I was concerned for readability because I was planning to make a physical mosaic of the QR code. So with low quality JPEG I was kinda simulating worse appearance.
2021-06-23 06:15:10
https://www.html.it/22/06/2021/jpeg-xl
2021-06-23 06:15:51
<@!416586441058025472>, maybe you can tell us what's going on there… πŸ™‚
fab
2021-06-23 06:38:54
is copied from wikipedia italy
Petr
2021-06-23 06:43:15
OK. The knowledge is spreading…
fab
2021-06-23 06:55:45
the site is pretty famous
2021-06-23 06:55:54
it talks about javascript
2021-06-23 06:55:56
those things
2021-06-23 07:30:09
https://tipsitaliani.altervista.org/how-is-the-codec-jxl/
2021-06-23 07:30:19
https://tipsitaliani.altervista.org/reason-to-use-jpeg-xl/
2021-06-23 07:31:14
small blogging i did, i fixed now, if you want to add sources you can
2021-06-23 07:33:01
i've read bluesword post, i was inspired by that
2021-06-25 03:00:53
new blog post:
2021-06-25 03:00:54
https://tipsitaliani.altervista.org/how-to-run-jxl-and-what-to-focus-and-which-encoder-at-what-q-prefer/
2021-06-25 03:01:23
_wb_
2021-06-26 06:19:12
https://youtu.be/lG1aPFvUKBY
2021-06-26 06:52:51
I left a comment to ask for English subtitles πŸ˜…
fab
2021-06-26 07:00:54
i enabled automatic captions from youtube settings and they don't appear
_wb_
2021-06-26 07:02:44
I assume a video needs enough views before they send it to the AI for transcription/translation
fab
2021-06-26 07:04:40
2021-06-26 07:04:48
your video translated
Cool Doggo
2021-06-26 07:12:30
his older videos have captions so you probably just need to wait πŸ‘
fab
2021-06-26 07:15:18
2021-06-26 07:16:40
_wb_
2021-06-26 07:17:20
It would be nice to have manual captions though, auto captions tend to be rather bad imo
fab
2021-06-26 07:17:24
the video is JPEG XL: The Next Generation "Alien Technology From The Future" by Jon Sneyers [ IMAGE READY ]
2021-06-26 07:18:36
2021-06-26 07:19:01
do you understand last captions
2021-06-26 07:19:40
2021-06-26 07:20:04
2021-06-26 07:20:08
LOL ASAJ
eddie.zato
_wb_ https://youtu.be/lG1aPFvUKBY
2021-06-26 07:27:57
This video covers basic information about graphical formats and features of the new JXL format. Nothing special.
2021-06-26 07:31:55
There is also a Russian-language article about "JPEG XL would be Turing-complete" https://habr.com/ru/company/itsumma/blog/564370/
fab
2021-06-26 07:43:14
Even i, i would 0,95 bpp but is not convenient for the space to in every image
2021-06-26 07:46:46
i guess 0.391 bpp - 1.024 bpp 0.808 bpp - 0.924 bpp is the bitrate range when jpeg xl can perfom good now
2021-06-26 07:52:17
0.174 - 0.313 bpp is where avif perform best
_wb_
2021-06-26 08:29:50
My impression on jxl vs avif (given current encoders) is roughly as follows: - avif can do what q30 mozjpeg can do in 50% fewer bytes. It brings maybe 30% improvement compared to the previous generarion (webp) at this operating point (low fidelity, high appeal). - jxl can do what q70 mozjpeg can do in 50% fewer bytes. It is 30% smaller than avif and twice as fast to encode at this point (comparing encode speed at practical settings for both - of course they can all be slower or faster). So it does bring 30% improvement over the previous generation (avif) at this operating point (medium fidelity 'web image quality') - jxl can do what q90 jpeg can do in 60% fewer bytes. It is 50% smaller than avif and 3x as fast to encode. It brings a 50% improvement over the previous generation (avif) at this operating point (high fidelity web, consumer-grade photo storage) - jxl can do what q97 jpeg can do in 66% fewer bytes (3x smaller). It is 70% smaller than avif and 3x as fast to encode. It brings a 66% improvement over the previous generation (jpeg) at this operating point (very high fidelity photo archival)
2021-06-26 08:31:31
At the q50 point, jxl and avif are roughly equivalent and are both 20% better than webp, 30% better than jpeg.
2021-06-26 08:32:51
In lossless, jxl is better than anything else though lossless webp is still quite attractive in the 8-bit case because it has a good encode speed vs density trade-off.
2021-06-26 08:35:50
The above are "my impressions". To make things more convincing, it would be good if we could back that up with benchmark results.
2021-06-26 08:37:30
Does anyone have time/cpu power to do a comparison? <@111445179587624960> you did great work for lossless, maybe you could also try a lossy comparison?
2021-06-26 08:38:32
One way would be to see what file size you need in various codecs to reach a certain Butteraugli score
2021-06-26 08:41:10
For the highest fidelity point (q97, visually completely lossless), Butteraugli max norm is maybe the most relevant - the first number `butteraugli_main` returns
2021-06-26 08:42:09
For the q70 or q90 point, the pnorm is more useful (the second number butteraugli_main returns)
fab
2021-06-26 08:44:10
wb what is your impression of this, only for autism people or something that people can use with libjxl v0.3.7-169-g1f7445a win_x64 2021.06.26 https://discord.com/channels/794206087879852103/840831132009365514/858261886499160074
2021-06-26 08:44:45
interesting your comment thanks for being so explanative
2021-06-26 08:45:48
Is still to choose qualities based on resolution, to make the encoder work different based on resolution a good thing or is better to consider artifact?
2021-06-26 08:47:05
.... lossless usually is 42% reduction even with -s 9 -E 3 not that impressive yesterday i posted this
2021-06-26 08:47:32
this being offtopic as is screenshots windows 11
2021-06-26 08:47:32
_wb_
2021-06-26 09:57:56
For the web, what mostly matters is images that are not huge - smaller than 2 megapixels or so
2021-06-26 09:58:28
you don't need a large amount of memory for those, unless you try to do a lot of encodes in parallel
2021-06-26 09:59:57
you can just do encode, record filesize, decode, compute butteraugli score, record those to a file, delete the encoded/decoded file
2021-06-26 10:00:31
or use benchmark_xl which does things in memory
fab
2021-06-26 10:10:17
i posted other settings much more complicated, i don't even know even if they work and if i can encode with that.
2021-06-26 10:10:18
https://discord.com/channels/794206087879852103/840831132009365514/858287668571013130
2021-06-26 10:12:17
jon probably don't agree
2021-06-26 10:12:33
he say all images should be 2 mpx and weight 2 gb each
2021-06-26 10:12:37
1000000 bpp
2021-06-26 10:12:58
and not shoot with a smartphone
2021-06-26 10:13:21
and not present any blurring
2021-06-26 10:14:41
also the quality should be higher than what you can see
_wb_
2021-06-26 10:47:38
if you do the benchmark, you choose :). I recommend taking large images and downscaling them like 4x so even if they were not very high quality to begin with, they are basically lossless.
Cool Doggo
_wb_ One way would be to see what file size you need in various codecs to reach a certain Butteraugli score
2021-06-26 02:54:41
I could maybe Will try to make a script to do it automatically so it is not much manual work :smile:
Scope
_wb_ Does anyone have time/cpu power to do a comparison? <@111445179587624960> you did great work for lossless, maybe you could also try a lossy comparison?
2021-06-26 02:55:53
I think the Eclipseo/WebP2 comparison is fine for that, although it would be nice to have a description and source code for how to do such comparisons for other people. Because encoders can update/improve quite often, it might also be a good idea to update/change the test dataset, my suggestion is to use different images from <https://unsplash.com>, although they are lossy but usually enough quality, especially if using 2x/4x downscaling, for art and anime sources I think it is possible to use some frames from CCA4 anime from Netflix - Sol Levante <https://netflixtechblog.com/bringing-4k-and-hdr-to-anime-at-netflix-with-sol-levante-fa68105067cd> <http://download.opencontent.netflix.com/?prefix=SolLevante/>
2021-06-26 03:03:24
For sizes based on Butteraugli in my opinion this is a better option than the one based on BPG Qx, but this could be interpreted as a bias towards Jpeg XL (because it uses and tuned for this metric)
Deleted User
_wb_ Does anyone have time/cpu power to do a comparison? <@111445179587624960> you did great work for lossless, maybe you could also try a lossy comparison?
2021-06-26 03:11:45
How many Cloudinary Credits do you offer as compensation? πŸ˜„
_wb_
Scope For sizes based on Butteraugli in my opinion this is a better option than the one based on BPG Qx, but this could be interpreted as a bias towards Jpeg XL (because it uses and tuned for this metric)
2021-06-26 03:14:09
Could compare against butteraugli-tuned avif?
How many Cloudinary Credits do you offer as compensation? πŸ˜„
2021-06-26 03:16:00
Heh, I don't have the power to hand those out, but I can ask
2021-06-26 03:17:32
Another approach would be to take an image, compress it using different codecs at the fidelity you would want to use on your own website, then compare sizes.
fab
2021-06-26 03:22:57
does cloudinary support altervista italia
2021-06-26 03:23:07
i don't pay altervista italia
2021-06-26 03:23:17
so i do not know
raysar
Cool Doggo I could maybe Will try to make a script to do it automatically so it is not much manual work :smile:
2021-06-26 05:05:25
Don't forget to share us your script πŸ˜‰ I have some difficulty to use correctly the scripts of eclipseo ^^
_wb_
2021-06-26 05:32:32
https://twitter.com/stshank/status/1408840409355194371?s=19
Scope
2021-06-26 05:41:20
FLIF has also already been replaced by Jpeg XL, as a format for storing rarely requested images? In addition, JXL can also be used for Jpeg <https://cloudinary.com/blog/flif_the_new_lossless_image_format_that_outperforms_png_webp_and_bpg>
_wb_
2021-06-26 05:43:23
We never used flif internally for storing rarely requested images
2021-06-26 05:44:37
Jxl could perhaps be used internally for jpeg recompression, not sure if it's really worth it since it's our customers who pay for their storage πŸ˜…
2021-06-26 05:46:37
Maybe an opt-in near-lossless jxl recompression when uploading big PSD/TIFF files would make more sense. With that you can save like 95% of storage and upload time.
BlueSwordM
2021-06-26 05:46:46
Ooh, how good is JPEG-XL as a JPEG encoder actually?
Scope
2021-06-26 05:46:53
Hmm, because without support in browsers I thought that's how FLIF was used (like Dropbox did for Jpeg)
BlueSwordM
2021-06-26 05:46:55
Is it better than mozjpg?
_wb_
Scope Hmm, because without support in browsers I thought that's how FLIF was used (like Dropbox did for Jpeg)
2021-06-26 05:50:36
Not by cloudinary. It's too slow to make that useful imo.
BlueSwordM Ooh, how good is JPEG-XL as a JPEG encoder actually?
2021-06-26 05:54:05
How do you mean? We don't currently have that in cjxl.
BlueSwordM
_wb_ How do you mean? We don't currently have that in cjxl.
2021-06-26 05:54:16
I see.
_wb_
2021-06-26 05:54:25
We didn't even implement forward ycbcr yet πŸ˜…
Deleted User
_wb_ Maybe an opt-in near-lossless jxl recompression when uploading big PSD/TIFF files would make more sense. With that you can save like 95% of storage and upload time.
2021-06-26 06:16:15
But I guess Cloudinary needs to support multilayer JXLs before this can happen. ;)
But I guess Cloudinary needs to support multilayer JXLs before this can happen. ;)
2021-06-26 07:05:38
Yup, something like this: https://discord.com/channels/794206087879852103/803645746661425173/858416509780623460 https://discord.com/channels/794206087879852103/803645746661425173/858419637506015242
diskorduser
fab does cloudinary support altervista italia
2021-06-26 08:18:47
What is altervista
fab
2021-06-26 08:19:24
basically how people can create a public site without paying
2021-06-26 08:19:35
is only for spanish and italian
2021-06-26 08:19:41
and is basically wordpress
2021-06-26 08:19:44
translated
2021-06-26 08:19:59
and with all localizations you can download
2021-06-26 08:20:09
and is of mondadori so books and berlusconi pizza mafia
2021-06-26 08:20:29
sorry i'm reading nonciclopedia
diskorduser
2021-06-26 08:21:04
Does Google search brings up your altervista site?
fab
2021-06-26 08:29:51
no
diskorduser
2021-06-26 08:33:25
So is it useless unless you share its link to your friends?
Eugene Vert
Cool Doggo I could maybe Will try to make a script to do it automatically so it is not much manual work :smile:
2021-06-27 12:26:58
I have written some scripts for benchmarking and something like "benchmark_xl" on rust to generate the data, but i can't get avif tune butteraugli to work. bash script runs the 'metric' tool for every png in folder, which encodes the image via cmd, decodes it to png, evaluates butteraugli score and writes everything to csv https://github.com/EugeneVert/image_bench/blob/main/plot.ipynb
fab
2021-06-28 07:18:01
2021-06-28 07:18:17
this type the post did not makeit like the av1 10 seconds
2021-06-28 08:06:50
no because i didn't have enough upvotes
2021-06-28 08:06:57
or at least one comments that isn't mine
diskorduser
fab
2021-06-28 08:20:55
It's because of your links. I too had same experience when posting kernel logs on arch Linux sub reddit when using del.dog domain.
fab
2021-06-28 08:26:31
i will not do more spam
2021-06-28 08:26:55
jon can choose content
2021-06-28 08:27:15
cloudinary, (mega)thread for tutorial
2021-06-28 08:27:31
and there is another admin called bitflag
2021-06-28 08:28:00
basically reddit does racism
2021-06-28 09:20:37
mai are you from Asia?
diskorduser
2021-06-28 09:22:14
You could use netlify and a static site blog. That's what I do.
2021-06-28 09:25:24
Also buy a domain
2021-06-28 09:27:01
Nice
Scope
2021-07-01 12:12:53
https://medium.com/codex/webp-avif-and-jpeg-xl-better-image-formats-for-websites-31df8e48c507
2021-07-01 12:14:31
> For the time being though, the lack of browser support and VERY early state of the specification means I would hold off on even trying to support it. All my current tests show around four times the size of AVIF despite claims that it matches it. I don’t know if the tools I have access to for conversion are at fault, or if it’s just the bleeding edge nature of it. I’m hopeful, but I’m also not holding my breath in antici…. PATION. πŸ€” > From this we can tell that for now, JXL is not worth even trying to deploy, but that’s because the converters and encoders are still in a very primitive state. In practice it is supposed to eventually match or surpass AVIF. Time will tell if this is true, but for now I’d say do NOT attempt to deploy JXL. Wait and see. Give it time to mature as a technology. It might be another dead end failed attempt by the JPEG akin to JPEG 2000, it might be the greatest format ever. We don’t know yet and the tools to give it a fair shake just don’t exist as of the time I’m writing this. 30 June 2021.
Cagelight
2021-07-01 12:15:01
was just about to point that out, something's messed up there
2021-07-01 12:16:53
> Lossless Source PNG: 6,664k > TinyPNG.COM : 645k > 5% Lossy JPEG: 2,000k > 15% Lossy JPEG : 1,174k > 5% Lossy WEBP : 1,127k > CloudConvert WEBP : 817k > β€œdefault” AVIF : 1,254k > β€œdefault” JXL : 4,561k > The β€œdefault” ones are that of various online converters, the size shown being the average of at least three different ones. I hope that's not his metric, cause that would be fairly ridiculous
Scope
2021-07-01 12:19:46
It seems so, as well as strange conclusions about the maturity of encoders by the size of encoded images with default settings
Cool Doggo
2021-07-01 12:40:05
what metric exactly are they using for the 5% lossy, and 15% lossy?
2021-07-01 12:41:13
also not very useful if it doesnt show all of the outputs...
Deleted User
2021-07-01 12:46:55
Yes, and let's not forget to add a death threat in the appendix. <:ugly:805106754668068868>
Cool Doggo
2021-07-01 12:47:35
<:pepegun:659513552033415188>
190n
Yes, and let's not forget to add a death threat in the appendix. <:ugly:805106754668068868>
2021-07-01 12:47:48
what?
Cool Doggo
2021-07-01 12:49:24
also isnt the default settings for avif very low quality
Deleted User
190n what?
2021-07-01 12:49:49
What I was saying is that we maybe shouldn't all go attack him on how wrong his testing methods are.
190n
2021-07-01 12:49:59
oh yeah of course
2021-07-01 12:50:17
i thought you meant that he put a death threat in the appendix of his article or something
Deleted User
2021-07-01 01:01:31
Yes, but I think one person to tell should be enough, no reason to mobilize the whole server. ;)
190n
2021-07-01 01:04:55
well i tweeted at him :P
Deleted User
2021-07-01 01:18:18
<@456226577798135808> I understood what you meant. No issue with your English, just a little warning that there might be some people on a large server who could misinterpret something like that. But I'm generally not a fan of *promotion* to defend a product or company some like and other don't (even if the latter are in the wrong).
_wb_
Scope It seems so, as well as strange conclusions about the maturity of encoders by the size of encoded images with default settings
2021-07-01 06:16:44
It seems very strange to me that you feel the urge to write an article about modern image codecs, yet at the same time you don't understand that lossy compression is about the fidelity vs bpp curve.
2021-07-01 06:17:24
I wonder if we would make -d 10 the default instead of -d 1, he would think it's a great and mature codec now.
Scope
2021-07-01 06:23:36
It can be even worse when such articles get more popularity and many people refer to them than other honest, detailed comparisons
lithium
2021-07-01 06:23:51
I guess this article use jxl d1.0 s 7 and avif q24-26 s6 for default setting.
Scope
2021-07-01 06:28:42
Also, the author mentions online converters, and there is no way to know what options were used, it could even be lossless, also jxl versions could be very old
2021-07-01 06:29:31
Like: <http://libwebpjs.appspot.com/jpegxl/>
2021-07-01 06:31:51
. Also: <https://kornel.ski/en/faircomparison>
2021-07-01 06:31:54
_wb_
2021-07-01 06:54:07
"5% lossy" is also something weird to say. Does that mean q95? Does he think that q85 means 15% of the image is "lost" and 85% is "kept"? It really doesn't work that way...
spider-mario
Scope . Also: <https://kornel.ski/en/faircomparison>
2021-07-01 09:34:59
> Compare images only at qualities you'd actually use. Codecs are optimized for real-world use cases and may perform very poorly outside sensible quality range. > > Choosing lowest quality may seem like a clever idea to make differences obvious, but actually it makes benchmarks irrelevant. It's like running a Formula 1 race in a muddy field: proves that tractors are faster than race cars.
2021-07-01 09:35:02
kornel, I love you
_wb_
2021-07-01 04:25:32
That second paragraph is very much true. Looking nice at 0.1 bpp is good for tractors, but being great at 0.5-1.5 bpp is what matters for race cars.
fab
2021-07-02 12:19:08
https://tipsitaliani.altervista.org/what-is-jpeg-xl-status/
_wb_
2021-07-02 05:52:03
https://www.newscientist.com/article/2282648-streamlined-jpeg-xl-images-could-cut-global-data-use-by-30-per-cent/amp/?__twitter_impression=true
190n
2021-07-02 05:58:21
i can't read the whole article but are images even 30% of global bandwidth?
_wb_
2021-07-02 06:03:18
Images are 60% of the median web page weight
2021-07-02 06:04:07
"Global bandwidth" is an exaggeration because of course netflix and youtube and games are a big chunk of that
Fox Wizard
2021-07-02 06:04:26
Yeah, think video uses about 60%+ of total bandwidth
2021-07-02 06:04:59
Guess "average website" would have been a better use
_wb_
2021-07-02 06:04:59
But for typical web browsing traffic, 60% for images is probably about right
2021-07-02 06:05:10
Median website
2021-07-02 06:05:34
The average website has 0.something videos
2021-07-02 06:05:40
The median website has 0 videos
Fox Wizard
2021-07-02 06:06:17
Hm, true I guess
2021-07-02 06:08:11
Sadly I can't really take articles like that serious when there's a mistake like that <:cheems:720670067091570719>
_wb_
2021-07-02 06:29:33
Meh, I haven't read it yet, but it's not exactly academic literature anyway, might as well have a not-quite-correct sensational headline instead of a boring nuanced and correct title
fab
2021-07-02 06:45:52
ah they thought i was a creator of jpeg xl
2021-07-02 06:45:53
haahah
2021-07-02 06:46:02
and they decided to make a sensational title like wb said
2021-07-02 06:46:07
sorry for causing this wb
2021-07-02 06:46:37
i twitted 4 tweet in a jon sneyers post do i have permissions to do
_wb_
2021-07-02 06:50:08
You don't need permission to tweet, it's hard to understand what you mean though, at least for me
fab
2021-07-02 06:54:14
ah it wasn't based off my tweet or not? mystery
_wb_
2021-07-02 06:55:18
Nah it was based on an interview I did last week
fab
2021-07-02 06:55:56
maybe i don't want my things to be spread
Diamondragon
2021-07-02 07:07:48
Another 4chan discussion. I don't know how many this makes now. Might stop linking them from now on, as it is the same points, going in a circle, again and again.
2021-07-02 07:07:49
https://boards.4channel.org/g/thread/82328540/the-web-is-saved-jpegxl
fab
2021-07-02 07:10:05
This was linked before
spider-mario
2021-07-02 07:21:37
can they discuss anything without insulting each other?
Deleted User
spider-mario can they discuss anything without insulting each other?
2021-07-02 07:22:53
It's 4chan, what else did you expect? <:kekw:808717074305122316>
fab This was linked before
2021-07-02 07:23:29
Nope, this one is actually new
fab
Nope, this one is actually new
2021-07-02 07:24:10
someone posted a screenshot
Deleted User
2021-07-02 07:24:21
Where?
fab
2021-07-02 07:24:32
in this server
Deleted User
2021-07-02 07:25:03
I mean exactly where, link to the message
fab
2021-07-02 07:25:09
there isn't
spider-mario
It's 4chan, what else did you expect? <:kekw:808717074305122316>
2021-07-02 08:30:05
I’m not surprised, I’m just disappointed. 😁
improver
Diamondragon Another 4chan discussion. I don't know how many this makes now. Might stop linking them from now on, as it is the same points, going in a circle, again and again.
2021-07-02 09:14:48
seems like more agreement and less naysayers than previously
2021-07-02 09:15:53
but kinda yes. I'd say posting these is still worth it, as usually coverage is just same jxl marketing material going in circles too
_wb_
2021-07-03 09:38:35
fab
2021-07-03 11:26:07
no webp2 would be integrated in google products, youtube etc
_wb_
2021-07-03 11:41:48
WebP2 is not going to happen anytime soon imo, and it will have to bring some real improvement if it wants to get adoption when avif and jxl are already out there.
Scope
2021-07-03 11:47:14
Also, libwebp2 recently had many changes to the AV1 encoder So maybe they are considering the option of using AV1 instead of the entirely new format
2021-07-03 11:56:04
For now yes (except that some parts are used as a basis for lossy WebP2), but if they achieve similar results by improving AV1 encoder, then maybe creating a completely separate lossy Webp2 variant will make even less sense
fab
2021-07-03 03:10:49
2021-07-03 03:10:52
https://morioh.com/p/28d552f53163
2021-07-03 03:10:58
coverage jpeg xl
improver
2021-07-03 03:43:40
yeah. pretty short and neat article
fab
2021-07-04 07:00:52
Scope
2021-07-05 06:29:42
<https://reddit.com/r/science/comments/odtsoa/improvements_to_the_ubiquitous_jpeg_image_format/>
2021-07-05 07:42:31
_wb_
2021-07-05 07:52:16
Wow, lots of comments too
raysar
2021-07-05 08:06:41
Wee need to add windows binary in release tab on github, nobody will compile it to test it.
fab
2021-07-05 08:29:24
2021-07-05 08:29:51
comments about jpeg xl download
Deleted User
Scope <https://reddit.com/r/science/comments/odtsoa/improvements_to_the_ubiquitous_jpeg_image_format/>
2021-07-05 08:38:25
DAMMIT
fab
2021-07-05 08:42:28
this font rendering a bit strange
2021-07-05 08:42:33
are you on linux?
Deleted User
2021-07-05 08:43:34
No, that's normal font rendering, I'm using Chrome in Windows
Scope
DAMMIT
2021-07-05 09:15:03
Looks like it's because this is a paywalled article, but it's still good that it has generated such a lot of discussion and popularity
improver
2021-07-05 11:04:55
works for me?
_wb_
2021-07-05 11:18:08
https://www.reddit.com/r/technology/comments/odtt1n/streamlined_jpeg_xl_images_could_cut_global_data/
Scope
2021-07-05 11:32:00
Yes, but this is a fairly short review article, it's interesting when less in-depth and detailed articles (also with paid access) or blogposts can get very popular, when others can be almost unnoticed
_wb_
2021-07-05 11:33:19
It all depends on the size of the audience that these articles have. NewScientist is pretty big.
Scope
2021-07-05 11:38:38
But, even with that kind of audience, any of the posts can be unpopular and unnoticed, like with just a couple of comments and low views
2021-07-05 11:42:54
2021-07-05 11:54:03
This is also one of the reasons why I would prefer to have someone else do the lossy comparison, because both comparisons from one person look more biased (besides I have been called a JXL fanatic several times already)
improver
2021-07-05 11:55:04
do you have something like scripts for comparisons you do
Scope
2021-07-05 12:01:41
No, but for lossy I think it's a very good start for other comparisons (probably with some improvements and changes) <https://storage.googleapis.com/demos.webmproject.org/webp/cmp/2021_07_01/index.html> But I haven't looked at the source code and don't know if all the necessary scripts are available
2021-07-05 12:03:08
And I think <@!493871605408071681> knows better about that
eclipseo
2021-07-05 03:17:33
There is a link to python scripts on that page https://github.com/eclipseo/image-comparison-sources
Scope
2021-07-06 08:06:49
<https://www.derstandard.at/story/2000127956467/nach-fast-30-jahren-neuer-bildstandard-jpeg-xl-soll-jpg>
fab
2021-07-06 08:54:25
https://translate.google.com/translate?sl=auto&tl=en&u=https://www.chip.pl/2021/07/jpeg-xl-format-zdjeci-kompresja/
2021-07-06 08:54:59
two parts article with Facebook and Instagram will be happy. They will be able to massacre our photos even more
2021-07-06 08:55:30
https://translate.google.com/translate?sl=auto&tl=en&u=https://www.focus.pl/artykul/nowy-lepszy-format-plikow-jpeg-moze-ograniczyc-transfer-danych-w-internecie-nawet-o-30-proc international in polish language focus
Scope <https://www.derstandard.at/story/2000127956467/nach-fast-30-jahren-neuer-bildstandard-jpeg-xl-soll-jpg>
2021-07-06 09:09:33
Deleted User
2021-07-06 02:43:14
<@!416586441058025472> finally some non-social-media coverage in Polish! Last articles exclusively about <:JXL:805850130203934781> in Polish were from 2018 and were really outdated... How did you find them?
fab
2021-07-06 02:43:43
google last 24 hours "jpeg xl"
2021-07-06 02:44:04
i'm reading another one i'll post another comments when i read all
Deleted User
fab google last 24 hours "jpeg xl"
2021-07-06 02:46:07
Thanks for the tip πŸ˜ƒ
fab
2021-07-06 02:46:25
i search it many times
2021-07-06 02:55:48
2021-07-06 02:56:32
don't show all, you should download
2021-07-06 02:57:14
the source is this https://www.wykop.pl/link/6177751/jpeg-xl-zmniejszy-ruch-w-swiatowym-internecie-az-o-25-30/
Deleted User
Scope <https://www.derstandard.at/story/2000127956467/nach-fast-30-jahren-neuer-bildstandard-jpeg-xl-soll-jpg>
2021-07-06 05:58:09
Who is Damien Carrier? Isn't that <@!794205442175402004>'s pic?
spider-mario
2021-07-06 05:59:09
I believe it is
2021-07-06 05:59:10
but cropped
raysar
Who is Damien Carrier? Isn't that <@!794205442175402004>'s pic?
2021-07-06 06:53:26
Haha maybe they copy the picture from my google sheet documentation πŸ˜† i'm not a developer.
Scope
2021-07-07 08:22:34
https://twitter.com/petapixel/status/1412827728051535879
Petr
2021-07-08 06:19:23
https://translate.google.com/translate?hl=&sl=de&tl=en&u=https%3A%2F%2Fwww.derstandard.at%2Fconsent%2Ftcf%2Fstory%2F2000127956467%2Fnach-fast-30-jahren-neuer-bildstandard-jpeg-xl-soll-jpg
fab
Petr https://translate.google.com/translate?hl=&sl=de&tl=en&u=https%3A%2F%2Fwww.derstandard.at%2Fconsent%2Ftcf%2Fstory%2F2000127956467%2Fnach-fast-30-jahren-neuer-bildstandard-jpeg-xl-soll-jpg
2021-07-08 07:18:17
this posted five times with even the translation in a .txt
Petr
fab this posted five times with even the translation in a .txt
2021-07-08 07:24:11
I was searching for it in this Discord server and didn't find it, so I posted it.
2021-07-08 07:26:18
It might be better to post only URLs and not .txt to be able to search and thus avoid repeated posts.
diskorduser
2021-07-08 07:28:12
I clicked the link. But translation doesn't work. I had to use Fabians txt
Scope <https://www.derstandard.at/story/2000127956467/nach-fast-30-jahren-neuer-bildstandard-jpeg-xl-soll-jpg>
2021-07-08 07:39:08
...
fab
2021-07-08 08:05:12
Translation.txt is der standard site giga.txt is the comment in a polish like reddit from another polish site
2021-07-08 08:06:36
There is another called ew.txt But i dont know the source
2021-07-08 08:06:40
Im sorry
Scope
2021-07-08 08:08:05
<https://www.reddit.com/r/explainlikeimfive/comments/odxmzg/eli5_what_is_jpegxl/>
fab
2021-07-08 08:23:28
i'm making my comment also
2021-07-08 08:23:34
how is so far?
2021-07-08 08:23:46
too complex, i want to add more about the quality.
2021-07-08 08:55:53
i'll remove filters don't use
Scope
2021-07-08 09:05:52
fab
2021-07-08 09:16:14
2021-07-08 09:16:25
BACKUP of all comments+mine
Scope
2021-07-08 09:16:57
i don't think the comment is too long.
2021-07-08 09:19:12
maybe the mod think is
lithium
Scope
2021-07-08 09:39:25
jpeg xl encoder can use some super complex magicπŸͺ„ squeeze your image, image quality still look great and file size less than old format.
fab
2021-07-08 11:41:35
thanks for feedback deleted the part filters
2021-07-08 11:42:16
improver
2021-07-08 11:48:30
fabian is p good entropy source ngl
fab
2021-07-08 11:50:31
Dont understand
diskorduser
fab
2021-07-08 12:25:17
For a subreddit like that, you should refrain from specifying any encoder options. No one is going to explain encoder options to a 5yr old.
Scientia
2021-07-09 02:20:33
People are focusing more on the lossless jpeg conversion
2021-07-09 02:21:09
Vardct lossy and modular lossless are really good
2021-07-09 02:21:22
Vardct I don't know but it's much better than jpeg
2021-07-09 02:21:42
Modular I've heard figures of 30 to 50% better than optimized PNG
190n
Scientia People are focusing more on the lossless jpeg conversion
2021-07-09 04:45:35
yeah, sometimes i wish they wouldn't as much, or at least explain it better. i've had to explain to a couple people already that not _every_ jxl file can be converted losslessly into a jpeg 😨
Scientia
2021-07-09 04:50:11
It's not the most impressive part of jxl IMO
2021-07-09 04:50:51
If you're looking for lossless jpeg compression only, lepton is ~1% better than jxl (tho I think it's slower)
diskorduser
Scientia If you're looking for lossless jpeg compression only, lepton is ~1% better than jxl (tho I think it's slower)
2021-07-09 04:52:49
Someone in $benchmarks claims lepton is faster than jxl
veluca
2021-07-09 04:53:26
maybe to compress
2021-07-09 04:53:37
(but that's likely just an artefact)
2021-07-09 04:53:48
to decompress (to bytes or to pixels) should be the opposite
190n
Scientia If you're looking for lossless jpeg compression only, lepton is ~1% better than jxl (tho I think it's slower)
2021-07-09 04:53:53
well lepton files can't be opened directly by anything. for a website i'd rather use lossless jpeg->jxl since for clients that support jxl i can serve them the jxl directly, saving cpu time (for me) and bandwidth. maybe lepton could work if it's like an app where you could ship a lepton decoder.
Scientia
2021-07-09 04:57:52
Lepton is worse than jxl for any typical uses for an average user
2021-07-09 04:58:19
It's purpose built for servers serving jpegs and storing smaller lepton files and or archival
2021-07-09 04:59:46
In the end IMO it's just an open sourced component of Dropbox, and it doesn't seem to be growing much beyond that
_wb_
2021-07-09 07:44:27
https://boards.4channel.org/g/thread/82380648
improver
2021-07-09 07:49:53
o ye i remember this one but it wasn't like fully jxl centered so i was like whatever
Scope
2021-07-09 07:52:32
<:Thonk:805904896879493180>
Diamondragon
_wb_ https://boards.4channel.org/g/thread/82380648
2021-07-10 09:07:30
If JPEG XL is adopted by web browsers without concurrent adoption in image viewers, comic/manga readers, operating systems, and editing suites, they will surely hate it too.
improver
2021-07-10 09:14:29
yep. universal adoption is important for good experience
_wb_
2021-07-10 09:25:34
Agreed. Feel free to do feature requests in all software that deals with images!
2021-07-11 03:49:10
http://personal-view.com/talks/discussion/25819/jpeg-xl-another-guys-want-free-income
2021-07-11 03:49:22
<:WhatThe:806133036059197491>
2021-07-11 03:51:45
https://ieeexplore.ieee.org/document/9467224?denied=
2021-07-11 03:53:58
Behind a paywall though, does anyone have access to the article?
Scope
2021-07-11 03:55:07
<:Thonk:805904896879493180>
_wb_
2021-07-11 03:55:26
https://www.fotopolis.pl/newsy-sprzetowe/programy-graficzne-i-upgrade-sprzetu/34961-jpeg-xl-czy-zdetronizuje-jpeg-a-to-najbardziej-obiecujacy-kandydat-na-nowy-standard
Scope <:Thonk:805904896879493180>
2021-07-11 03:56:44
I think he is confused and compares the 20% jpeg recompression gain with HEIC's claimed 50% gain
Scope
2021-07-11 03:57:50
But 11.
_wb_
2021-07-11 04:01:14
He read up to 10, put something in bold, and arrived at a conclusion
2021-07-11 04:01:43
https://m.habr.com/ru/company/itsumma/blog/564370/
BlueSwordM
2021-07-11 04:04:44
Have these peeps ever encoded an image using an HEVC encoder?
2021-07-11 04:04:57
Like, most of them are not properly tuned for intra...
Scope
2021-07-11 04:06:23
Not all people even know how to change quality in encoders
_wb_
2021-07-11 04:23:28
If you have an iPhone, you can get HEIC easily
raysar
2021-07-12 01:19:37
deepl.com is a VERY good translator.
fab
2021-07-12 03:19:48
to me it doesn't look about original
2021-07-12 03:20:03
he just doesn't like jpeg xl
2021-07-12 03:20:10
and think is only a derivate of jpeg
2021-07-12 03:20:15
and is fine as opinion
2021-07-12 03:20:35
even i, don't like jpeg xl images at 33,2 kb
2021-07-12 03:23:34
ah i were using 24/02/2021 encoder
2021-07-12 03:23:56
2021-07-12 03:24:01
and i weren't resizing
Diamondragon
2021-07-12 04:45:58
https://youtu.be/hPhWOSCFF_A?t=850
raysar
2021-07-12 06:16:05
I'm pretty sure green lantern hacker from custom firmware could add jxl to canon quickly πŸ˜„
_wb_
2021-07-13 04:34:34
https://www.libertyrpf.com/p/154-video-game-pricing-amazon-book
Jim
2021-07-14 06:23:46
https://www.dpreview.com/news/5829652105/jpeg-xl-image-format-promises-smaller-files-backwards-compatibility-and-more
190n
2021-07-14 07:03:43
lots of pro-HEIF comments 😨
spider-mario
2021-07-14 07:15:51
if I point to the bit of equivalence theory that I mentioned in the help for `--photon_noise`, I think it will possibly enrage a few
2021-07-14 07:16:10
some people on the site are not very keen on equivalence
2021-07-14 07:16:30
(https://doi.org/10.1117/1.OE.57.11.110801)
BlueSwordM
Jim https://www.dpreview.com/news/5829652105/jpeg-xl-image-format-promises-smaller-files-backwards-compatibility-and-more
2021-07-14 07:20:40
Bruh, do these people even understand how HW decoders work?
improver
2021-07-14 07:20:52
nope
BlueSwordM
2021-07-14 07:21:51
Like, good luck HW decoding tons of intra only 4:4:4 images <:kekw:808717074305122316>
veluca
2021-07-14 07:23:01
random related questions: any idea of the power usage benefits of using CPU vs GPU vs an ASIC for decoding images?
Jim
BlueSwordM Bruh, do these people even understand how HW decoders work?
2021-07-14 07:27:56
There's only one sentence about it not using hardware. Not sure what you mean.
spider-mario
2021-07-14 07:31:03
probably the comments
2021-07-14 07:31:12
for example https://www.dpreview.com/news/5829652105/jpeg-xl-image-format-promises-smaller-files-backwards-compatibility-and-more?comment=9711955227
BlueSwordM
veluca random related questions: any idea of the power usage benefits of using CPU vs GPU vs an ASIC for decoding images?
2021-07-14 07:34:41
It depends on the platform and how easy software decoding is and frame resolution. For example, in video, on a dekstop with a modern CPU and dedicated GPU, at lower resolutions(1080p-1440p), it is often more efficient to actually software decode rather than to HW decode since the ASIC on the GPU needs lots of bandwidth, and as such, the memory needs to be woken up and clocked up, which consumes a lot of power vs just the CPU. For images, it is likely the same thing: it is usually more efficient to use the CPU to load tons of little images at once than to try and use the HW decoder if there is even one. For very large images, that might change. For mobile devices, it is usually better to use an ASIC due to much lower base power requirements during encoding. As for decoding, it depends on the size of the image again, but on a phone with lots of large pictures, it might be quite useful to do the thumbnails on the CPU, but aid the main image rendering by doing it on the ASIC. As for CPU vs GPU, it depends on how demanding the processes are and if zero copy can be used: decoding a normal AV1 video for example is quite easy on a good CPU. Add in noise synthesis however and you become single-threaded bottlenecked. In that case, it is actually worth it to use the GPU over even a SIMDed implementation of grain synth. Stuff like CDEF and loop restoration incur a too high latency penalty/performance to be worth doing on GPU. On weaker CPUs, such as on the Xbox One, it would be worth it to just accelerate most of the most decoding processes onto the GPU if possible since the CPU is just anemic.
2021-07-14 07:35:13
This would likely be the same for images: if your CPU is weak or you have very large images with demanding features(such as noise synthesis), ask for help from the GPU.
veluca
2021-07-14 07:37:43
at least in theory, most codecs I am aware of should be very well suited for running on GPU
2021-07-14 07:37:53
(except perhaps some aspects of noise synthesis)
2021-07-14 07:38:36
most images end up on the GPU sooner or later anyway
2021-07-14 07:40:18
I'd expect (from random estimates I found around on the internet) that on mobile devices moving the post-entropy-decoding stages to GPU would reduce power consumption 5-10x and 10-100x improve latency (of that chunk)
2021-07-14 07:40:31
I'm not sure how an asic would compare
2021-07-14 07:40:54
(I'm talking about decoding only)
BlueSwordM
veluca at least in theory, most codecs I am aware of should be very well suited for running on GPU
2021-07-14 07:41:12
The main problem is if the latency penalty is worth the extra throughput. For example, on my 3700X, using libplacebo for GPU accelerated rendering of AV1 was actually no faster or slower while consuming more power because the GPU was being spun up. Well, unless grain synthesis was thrown into the mix.
fab
2021-07-14 07:41:53
readed all
veluca
2021-07-14 07:42:20
mhhh that sounds to me like subpar gpu implementation (although IDK much about AV1 details)
BlueSwordM
2021-07-14 07:42:20
On mobile devices where CPUs aren't as overpowered and dedicated GPUs are not a thing, it would be worth it indeed.
veluca mhhh that sounds to me like subpar gpu implementation (although IDK much about AV1 details)
2021-07-14 07:44:33
From what I know about dav1dplay and libplacebo(using VK), it is actually very efficient. The main reason that the tradeoff was not worth it IIRC is that the less demanding parts like CDEF and loop restoration that could be easily ported to GPU compute were already so fast in SIMD that adding an extra step actually made the decoding less efficient.
veluca
2021-07-14 07:45:44
so I don't know how the GPU implementation you are talking about works, but ideally, I'd want a GPU impl to just never communicate with the CPU once it gets the initial data...
2021-07-14 07:46:08
(well, except to say "I'm done!")
2021-07-14 07:46:42
if you need to do CPU -> GPU -> CPU (for CDEF/...) -> GPU (for display) then it's not going to be fast, yes πŸ˜›
Scope
2021-07-14 07:47:29
I think video is a bit different than images in terms of the advantages of decoding on the GPU, unless it is a set of many identical images in terms of parameters and resolution
veluca
2021-07-14 07:49:58
why would that matter?
Scope
2021-07-14 07:50:12
And this could be the same problem as for example for WebP https://youtu.be/MBVBfLdh984?t=705
veluca
2021-07-14 07:50:41
hardware != GPU
BlueSwordM
veluca (well, except to say "I'm done!")
2021-07-14 07:52:14
I see. That might be why then: the libplacebo renderer is not a full renderer replacement like the AV1 Xbox One GPU decoder. It does do zero-copy processing, but only at the end of the pipeline for CDEF/LR/grain synthesis.
2021-07-14 07:52:58
Now, if only I could actually build the Xbone implementation of that, we would go somewhere.
Scope
2021-07-14 07:53:38
And as far as I know, at the time there were already ASIC VP8 decoders and anyway WebP is still decoded only by software
veluca
2021-07-14 07:55:10
yeah I'm not that convinced about hw decoding for images either
2021-07-14 07:55:45
but there are different opinions... and also it's true that webp is a lot faster than avif/jxl in software, so there's that
Scope
2021-07-14 07:56:04
Also AV1 as a video format could be less power consuming on Xbox and such an implementation makes sense but I'm not sure it would be as beneficial for AVIF
2021-07-14 07:56:47
https://twitter.com/PascalMassimino/status/1286200838311022592
2021-07-14 07:57:34
https://twitter.com/PascalMassimino/status/1207822279826120704
BlueSwordM
2021-07-14 10:02:12
BTW Veluca, if you were to build a GPU assisted decoder, please make it using VK Compute πŸ˜…
Scientia
190n lots of pro-HEIF comments 😨
2021-07-15 02:30:44
Why do people like heif so much
2021-07-15 02:31:01
Are they ignorant entirely of it's license and technical shortcomings?
2021-07-15 02:32:10
The visible 512x512 boundaries on Apple's implementation should be enough to turn off anyone from heif
2021-07-15 02:59:18
It should be on retina
2021-07-15 02:59:27
If you zoom it should be on small screens
2021-07-15 02:59:39
Heif also isn't a lossless solution
190n
Scientia Are they ignorant entirely of it's license and technical shortcomings?
2021-07-15 02:59:41
many were saying it would be easy/free to implement using a hardware hevc decoder, never mind that firefox and chrome don't and probably never will play hevc
Scientia
2021-07-15 03:00:07
If you're talking about a camera format, then avif is better
2021-07-15 03:00:47
It can do lossless?
2021-07-15 03:01:00
I would wager it's not much better than png
190n
2021-07-15 03:01:38
ugh the comments have gone further downhill