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!

Petr
2021-05-13 07:39:59
Or if the lead was about "JPEG XL site" (without "official" and "unofficial"), would that itself be too risky?
_wb_
2021-05-13 07:46:08
Community is a nice word, actually. It avoids giving the impression that it is officially endorsed by anything, and that it is something by and for the community. Maybe would be good to also link to the github source of the page and encourage people to make pull requests with updates.
2021-05-13 07:48:22
Anyone want to make a pull request to do such an update? ๐Ÿ˜‰
Scope
2021-05-13 07:49:45
Yes, "community" is better, because "unofficial" more often means that the developers are not involved in any way
Petr
Scope Yes, "community" is better, because "unofficial" more often means that the developers are not involved in any way
2021-05-13 07:55:38
sounds reasonably
veluca
2021-05-13 08:01:57
no idea, I don't have anything against it but I don't really know...
_wb_
2021-05-13 08:04:54
I don't mind anonymous commits
2021-05-13 01:17:14
https://www.reddit.com/r/firefox/comments/nb770d/jpeg_xl_support_has_been_added_to_firefox_nightly/
veluca
_wb_ https://www.reddit.com/r/firefox/comments/nb770d/jpeg_xl_support_has_been_added_to_firefox_nightly/
2021-05-13 01:46:05
beaten by HEIF (and AVIF) at very low bit rates I'm okay with this. I welcome a format that improves quality at high bitrates instead of the popular (bitrate-)race to the bottom we see with video formats (e.g. in YT, AV1 looking much softer and less detailed than H.264). ๐Ÿฅณ
BlueSwordM
veluca beaten by HEIF (and AVIF) at very low bit rates I'm okay with this. I welcome a format that improves quality at high bitrates instead of the popular (bitrate-)race to the bottom we see with video formats (e.g. in YT, AV1 looking much softer and less detailed than H.264). ๐Ÿฅณ
2021-05-13 01:59:15
To be fair, it's not like YT actually cares about quality <:kekw:808717074305122316>
Scientia
veluca beaten by HEIF (and AVIF) at very low bit rates I'm okay with this. I welcome a format that improves quality at high bitrates instead of the popular (bitrate-)race to the bottom we see with video formats (e.g. in YT, AV1 looking much softer and less detailed than H.264). ๐Ÿฅณ
2021-05-13 07:21:48
Plus it seems like we have the best lossless performance out of all the general formats in most image types
2021-05-13 07:22:42
When I ssy general formats I just mean formats like avif, heic, webp, and not things that are specifically designed to get extremely good lossless compression
veluca
2021-05-13 10:31:36
yeah, one downside is that lossless decompression is fairly slow though
_wb_
2021-05-14 06:20:26
In most formats that do both, lossless is slower than lossy to decode (usually just because there's more to entropy-decode, and high-quality lossy also takes longer to decode than low-quality)
2021-05-14 05:58:43
Just did a 1h interview with CNET's Stephen Shankland, it'll take a while but there'll be another CNET article on jxl
2021-05-15 05:00:47
https://www.wykop.pl/link/6103331/jpeg-xl-na-ans-z-polski-juz-w-chrome-firefox-edge-3x-mniejsze-niz-jpg-hdr/
2021-05-15 05:05:27
https://www.lowendtalk.com/discussion/171413/jpeg-xl-better-than-webp
2021-05-15 05:12:42
got a bit of a spike of visitors to sneyers.info/jxl/art yesterday and I wondered where it comes from - I don't do the analytics thing but I can still see the referrers in the server logs
Deleted User
_wb_ https://www.wykop.pl/link/6103331/jpeg-xl-na-ans-z-polski-juz-w-chrome-firefox-edge-3x-mniejsze-niz-jpg-hdr/
2021-05-16 12:57:29
Oh, Wykop.pl! It's a Polish counterpart of Digg (it has buttons *wykop* โ€“ "dig" and *zakop* โ€“ "bury"), but somehow still quite popular. Did you get that result from Google Search? It's rare for foreigners to stumble upon this website.
_wb_
2021-05-16 06:26:58
2021-05-16 06:28:14
I guess most don't set the referrer, the majority of hits are "Direct Request"
Jim
2021-05-16 07:13:43
I believe search engines stopped using referrers many years ago. Most of it is probably from search results.
_wb_
2021-05-16 07:33:58
Yes, probably. Still somehow have a few referrers from www.google.com though
2021-05-16 07:38:21
Oh no, that will take a couple of weeks
2021-05-16 07:39:40
It's going to be an article about the subject, not just an interview specifically with me. The reporter still needs to do more research and write the article.
190n
2021-05-16 07:44:39
ooh hope it's a good article ๐Ÿ‘€
fab
2021-05-16 01:45:33
i hope webp is also mentioned
_wb_
2021-05-16 02:48:03
Yeah, I don't think describing codecs by saying what they are trying to replace is the best kind of description
2021-05-16 02:49:17
PNG was historically a GIF replacement but then GIF just became a synonym for animated GIF, which PNG didn't really do in the first 2 decades of its existence
2021-05-16 02:49:44
J2K was surely meant to be an upgrade to replace JPEG, but that didn't happen
Deleted User
2021-05-16 02:52:42
I changed the description a bit. https://en.wikipedia.org/w/index.php?title=Comparison_of_graphics_file_formats&type=revision&diff=1023462790&oldid=1022548788
Petr
_wb_ Yeah, I don't think describing codecs by saying what they are trying to replace is the best kind of description
2021-05-17 06:30:04
Better now? https://en.wikipedia.org/w/index.php?title=Comparison_of_graphics_file_formats&diff=1023589323&oldid=1023462790
_wb_
2021-05-17 06:50:51
Yes, better
2021-05-17 06:51:07
That page sure does have some exotic formats on it, lol
2021-05-17 06:54:09
maybe it would at some point make sense to split it up in "most important" formats and "exotic / historical" formats according to some criterion. "Has a media type" could be a criterion, for example.
2021-05-17 06:55:49
(it's mostly just that the table is so long that it doesn't really give an overview anymore)
zebefree
_wb_ maybe it would at some point make sense to split it up in "most important" formats and "exotic / historical" formats according to some criterion. "Has a media type" could be a criterion, for example.
2021-05-17 08:20:59
But JPEG XL does not currently have an official media type; it is still provisional. And WebP does not yet have an official media type either. So under that criteria both should be removed.
_wb_
2021-05-17 08:23:48
yes maybe that's not the best criterion. Supported in a browser and/or OS?
2021-05-17 08:24:40
basically just not things that are _only_ supported in, say, one application from a few decades ago plus ImageMagick
zebefree
2021-05-17 08:25:18
Well, JPEG XL is not yet officially supported in any browser either...
Petr
2021-05-17 08:30:50
Or maybe the decision could be made based on count of web search results?
zebefree
2021-05-17 08:32:51
Since you can sort on any column, it just needs to have a column for any criterion that people might want to use.
_wb_
2021-05-17 08:38:23
Add column for 'main article', leave empty for ones that don't have one and sort on it by default? (so notable formats go first, alphabetically, followed by the exotic ones?)
Petr
2021-05-17 09:02:26
Another German article: https://translate.google.com/translate?sl=auto&tl=en&u=https://www.soeren-hentzschel.at/firefox/firefox-unterstutzung-bildformat-jpeg-xl/
2021-05-17 10:08:39
It doesn't surprise me. The author just helps people. Useful.
_wb_
2021-05-17 10:36:45
"JPEG" can mean many things, from libjpeg-turbo default `cjpeg` (totally unoptimized) to mozjpeg or guetzli (very optimized)
2021-05-17 10:37:52
so "up to 2x better compression than JPEG" can also mean many things, especially since "up to" technically only gives an upper bound, not a lower bound
2021-05-17 10:39:54
Even if you specify what exactly "JPEG" means, you still have to define how to measure "better compression", which is where it gets really hard. Do you trust an objective metric? Which one? (they can have very different opinions). Do you do subjective experiments? With what methodology?
2021-05-17 10:42:59
In my experience, JXL is competitive with HEIC, and just like AVIF, it tends to be better at the medium to high fidelity bitrates while HEIC/AVIF tend to be better at the ultra-low to low bitrates.
2021-05-17 10:44:19
That is with the slow HM encoder for HEIC. With the actually deployed HEIC encoding Apple is doing (which is using small independently coded tiles), it is probably worse than HM.
2021-05-17 11:17:52
Image sequences: yes, jxl supports that. Image derivations: kind of. Orientation and cropping can be done in a reversible way.
2021-05-17 11:19:49
that's a philosophical discussion I guess
2021-05-17 11:22:03
jxl supports multi-frame images where frames can either have a zero duration (then we usually think of them as layers in a composite still image), a non-zero duration (then we usually think of them as frames in an animation), or a timecode (then we usually think of them as photo bursts / sequences)
Deleted User
2021-05-17 04:11:32
Can you add examples using timecodes to your coverage test? Or how would one generate them?
_wb_
2021-05-17 04:20:25
Right. We don't currently have any input format for that.
Deleted User
2021-05-17 04:23:38
But I would guess that it is more user friendly to allow multiple inputs and commands to set animation duration and timestamps instead of relying on obscure input formats (like ;PSD).
Pieter
_wb_ jxl supports multi-frame images where frames can either have a zero duration (then we usually think of them as layers in a composite still image), a non-zero duration (then we usually think of them as frames in an animation), or a timecode (then we usually think of them as photo bursts / sequences)
2021-05-17 04:24:39
Can the duration differ per frame?
Deleted User
2021-05-17 04:39:04
Yes, otherwise you couldn't convert GIF/PNG to JXL. Though I wonder what should happen if you combine zero and non-zero duration frames.
Pieter
2021-05-17 04:45:00
The obvious answer is that an image file in general represents a sequence of multi-page frames, where every nonzero delay represents a transition to the next step in the sequence, and every zero delay represents a transition to the next page within that multi-page frame.
_wb_
Yes, otherwise you couldn't convert GIF/PNG to JXL. Though I wonder what should happen if you combine zero and non-zero duration frames.
2021-05-17 04:45:38
That is specced. Zero duration frames have to be coalesced before showing them.
2021-05-17 04:46:08
Zero delay is not used for pages, but for overlays.
2021-05-17 04:46:40
For pages we will have to have some convention, like a duration over 1 hour, or whatever
Deleted User
2021-05-17 04:47:27
That's kinda sad that it wasn't covered by the spec, like in TIFF: https://discord.com/channels/794206087879852103/794206087879852106/843889410541355068
_wb_
2021-05-17 04:47:29
Pages is basically about when to show frame seeking buttons instead of just playing back
2021-05-17 04:48:05
The spec says how to decode the things, not really how to present the result
Deleted User
_wb_ For pages we will have to have some convention, like a duration over 1 hour, or whatever
2021-05-17 04:49:28
Last time we talked about that, you said I could decide between non-alpha zero duration and a long duration. ^^ Is this "1h duration" your final word? ๐Ÿ˜
_wb_
2021-05-17 04:50:29
Or maybe 1 year, to keep it safe in case someone wants to make a really slow animation
Deleted User
2021-05-17 04:50:33
Btw, maybe let's change channels?
Nova Aurora
2021-05-17 04:51:31
Channels are more like guidelines for conversation than actual rules
monad
2021-05-17 04:52:40
But this convo is kinda split between here and <#794206170445119489> ^^
veluca
2021-05-17 04:54:00
we can add a box...
improver
2021-05-17 04:54:56
what if i wanna collection of animated images each playing in loop :^)
monad
2021-05-17 04:56:10
or a collection of collections <:Thonk:805904896879493180>
improver
2021-05-17 04:56:31
lets make it recursive
2021-05-17 04:58:23
jokes aside: recursive animation could be actually fun for creative kind of stuff, like jxl art
2021-05-17 04:59:18
could do sort of mini movies with some animation looping around then other stuff continuing but yeah im going way offtopic here
Deleted User
2021-05-17 10:01:59
<@456226577798135808> <@792428046497611796> dude responded quite quickly and made some constructive criticism, the article with improvements based on that discussion and additional enwiki edits is waiting for review ๐Ÿ™‚
Jyrki Alakuijala
2021-05-19 12:17:32
JXL gives "up to 3x better compression" than JPG ๐Ÿ˜„
2021-05-19 12:19:30
being default on in major browsers is the current adoption blocker
2021-05-19 12:20:24
once that is resolved, there are 1000+ website and image optimization and SEO professionals on the planet who will start carrying the ball
2021-05-19 12:21:09
I think we may need to help to do a few examples, but we don't need to move the bulk of the field once a workable solution is there
fab
2021-05-19 12:21:28
for %i in (C:\Users\User\Documents\bn2*.jpg) do cjxl -j -s 6 -q 63.52 --epf=2 -p --gaborish=1 --patches=0 --dots=1 --use_new_heuristics %i %i.jx or q 81.9 av1enc are impressive or not?
2021-05-19 12:21:43
or we can get even some better results
Jyrki Alakuijala
2021-05-19 12:22:08
Pixel camera team decides about such things for Pixel phones, Samsung's camera people decided about it for Samsung phones etc.
fab
2021-05-19 12:22:22
also does the tv support jxl
Jyrki Alakuijala
2021-05-19 12:22:28
the advantage needs to be compelling and the interoperability needs to be there first
fab
2021-05-19 12:22:28
like a samsung qled tv
2021-05-19 12:22:35
with tizen
Jyrki Alakuijala
2021-05-19 12:22:45
I think viewing will come there first, some cameras will provide both options
2021-05-19 12:23:05
jpeg option as a default in cameras will likely disappear 5 years from when the viewing problems have been fully solved in new tech
2021-05-19 12:23:26
exactly
2021-05-19 12:24:12
there will be devices that have proprietary hardware that cannot even be upgraded because the open source solutions don't have the proprietary drivers
2021-05-19 12:24:38
you either use them with "Android 3.11" or don't use them at all
2021-05-19 12:25:05
time will fix these problems, and time goes surprisingly quickly
fab
2021-05-19 12:27:00
i think you should force samsung like aomedia did
2021-05-19 12:27:16
next year you try
_wb_
2021-05-19 12:33:50
I think after browsers, the next step is OS level support and authoring tools (in particular gimp and photoshop).
fab
2021-05-19 12:34:25
and samsung what will do if this goes right
2021-05-19 12:34:33
is yet that simple?
_wb_
2021-05-19 12:35:50
I think cameras will only start producing jxl once it's easy enough for end-users to open/view a jxl
diskorduser
fab i think you should force samsung like aomedia did
2021-05-19 12:35:56
No. AOSP jxl support is enough.
fab
2021-05-19 12:36:25
no also tizen should have jxl
2021-05-19 12:36:33
without buying a new tv
2021-05-19 12:36:40
is right for users
2021-05-19 12:36:47
i did not buy anything
2021-05-19 12:37:06
but i think they don't
2021-05-19 12:37:11
because of confusion
2021-05-19 12:37:25
they are new samsung tv that have a less ram or processor
2021-05-19 12:37:42
and also for virus security risking
2021-05-19 12:37:45
like jyrki said
2021-05-19 12:38:12
jpg and av1 support is authorized through a driver
2021-05-19 12:38:39
that usually is a small part of the chip (motherboard) that does hardware decoding
2021-05-19 12:38:51
but sure jon knows better than us
2021-05-19 12:39:29
i think it should be forced and not like av1
2021-05-19 12:39:35
but is wrong
_wb_
2021-05-19 12:39:44
Hardware decode is not really a thing for still images
fab
2021-05-19 12:40:05
but still jyrki has said that there is a driver
_wb_
2021-05-19 12:40:37
Browsers is first priority
fab
2021-05-19 12:41:04
So what you will do about tv
2021-05-19 12:41:11
will you differentiate about the ram
2021-05-19 12:41:15
and processor
2021-05-19 12:41:19
and serve jpg and jxl
2021-05-19 12:41:25
in base of what they have
_wb_
2021-05-19 12:41:32
Also moving to a public github, and then maybe do the plugins in a separate repo and get help from others to fix the issues with them
Petr
fab is right for users
2021-05-19 12:41:57
It's always good for users to get new features just by software upgrade. Unfortunately manufacturers and vendors get no money from that so they don't do it as often as they could. Luckily there's a growing movement towards repairability and longevity of electronics, e.g. in France, EU, USA.
fab
2021-05-19 12:42:02
usually tv hasn't a browser with images
2021-05-19 12:42:11
and they use webp for ads
_wb_
2021-05-19 12:42:21
Currently the only plugin that actually kind of works is the Qt one, which is one someone else made ๐Ÿ˜…
fab
2021-05-19 12:42:32
so what it depends
2021-05-19 12:42:45
on the ram, processor or what samsung what to do?
improver
2021-05-19 12:42:54
gdk works pretty okay too though
_wb_
2021-05-19 12:43:03
The gdk-pixbuf and gimp plugins are buggy and incomplete
fab
2021-05-19 12:43:06
jyrki has said the driver is not good
2021-05-19 12:43:17
they will make a new tv with jxl support
2021-05-19 12:43:22
and an allowed driver
_wb_
2021-05-19 12:43:23
gdk ignores icc and doesn't do animation
improver
2021-05-19 12:43:30
oooof
diskorduser
fab jyrki has said the driver is not good
2021-05-19 12:43:38
Jxl hardware support is not needed for TVs. Need not to worry.
fab
2021-05-19 12:43:51
yes but i do not want to convert to png
_wb_
2021-05-19 12:44:04
TV cpus can handle jxl decode just fine
fab
2021-05-19 12:44:24
but the software like of the usb
2021-05-19 12:45:35
smart tv don't read jxl
2021-05-19 12:45:42
no smart tv has jxl
2021-05-19 12:45:46
how you will add
2021-05-19 12:45:51
the permission
2021-05-19 12:45:53
the allowed
_wb_
2021-05-19 12:45:59
That's up to them to do
fab
2021-05-19 12:46:03
it needs a driver a good ram
_wb_
2021-05-19 12:46:06
They can use libjxl
fab
2021-05-19 12:46:08
a good os
2021-05-19 12:46:16
a good cpu
2021-05-19 12:46:20
a good version of tyzen
2021-05-19 12:46:30
what is needed
_wb_
2021-05-19 12:46:44
Anything with a cpu will do
diskorduser
2021-05-19 12:46:54
<:AngryCry:805396146322145301>
fab
2021-05-19 12:47:06
more generic than aomedia answer
2021-05-19 12:47:38
at least jyri has said it needs a software driver
_wb_
2021-05-19 12:47:59
Not sure what you mean with driver
fab
2021-05-19 12:48:15
ah
2021-05-19 12:48:16
realzied
diskorduser
fab more generic than aomedia answer
2021-05-19 12:48:27
Do you have jxl driver on your windows pc?
fab
2021-05-19 12:48:30
just an update of the gallery application on samsung stores
2021-05-19 12:48:38
that's difficult
2021-05-19 12:48:46
first you need login to samsung
2021-05-19 12:48:52
then samsung will not do
2021-05-19 12:49:04
because they don't want security problems
2021-05-19 12:49:14
or some devices low end with no support
_wb_
2021-05-19 12:49:39
Smart tvs will just need to update their image viewer thing to have jxl support, it shouldn't be harder than adding jxl support to a Windows image viewer
fab
2021-05-19 12:49:53
but how is feasible according to you
2021-05-19 12:50:05
to do a new samsung viewer
2021-05-19 12:50:13
or to do a new viewer not authorized
2021-05-19 12:50:21
for thirdy part
diskorduser
2021-05-19 12:50:26
If you need jxl support on TVs then wait for atleast two years and then shop for new TVs. Many users don't care if their tv support jxl or not
_wb_
2021-05-19 12:50:52
Well probably will take a while before they'll even bother with it, and probably they'll not backport it to older tvs because they need new features to sell new tvs
fab
_wb_ Well probably will take a while before they'll even bother with it, and probably they'll not backport it to older tvs because they need new features to sell new tvs
2021-05-19 12:51:05
honest
2021-05-19 12:51:19
so just buy a tv and convert to png
2021-05-19 12:51:25
and do not open samsung store
2021-05-19 12:51:27
or tizen store
2021-05-19 12:51:36
to search virus apps or the apps they recommend
2021-05-19 12:51:47
when there is a update it will say automatically
2021-05-19 12:51:55
also updates arent' necessary
Fox Wizard
2021-05-19 02:38:52
~~Totally didn't try to clean a part of my keyboard and spammed something random~~
spider-mario
2021-05-20 03:10:32
my LG TV from 2016 got an update a few days ago
2021-05-20 03:10:40
itโ€™s worse now
fab
2021-05-20 03:25:04
How
spider-mario
2021-05-20 03:35:29
now, it displays its menu when it wakes up and I have to dismiss it, and I have the vague impression that the handling of switching between different HDMI sources might be slightly buggier than it already was
Nova Aurora
2021-05-21 02:56:31
I wonder how much GPL enforcement could help the android update situation
BlueSwordM
Nova Aurora I wonder how much GPL enforcement could help the android update situation
2021-05-21 03:15:11
A lot actually.
diskorduser
2021-05-21 03:57:03
You can use banking apps with magisk.
2021-05-21 03:57:19
That's how I use ๐Ÿ˜‚
Petr
_wb_ Community is a nice word, actually. It avoids giving the impression that it is officially endorsed by anything, and that it is something by and for the community. Maybe would be good to also link to the github source of the page and encourage people to make pull requests with updates.
2021-05-21 12:10:01
I updated en, cs and eo Wikipedia articles. Whoever speaks other languages, it's your turn to update the respective articles. ๐Ÿ™‚
improver
2021-05-21 12:17:26
link to source code :^)
Deleted User
2021-05-21 12:25:37
2021-05-21 12:26:29
I've already noticed it some time ago, I can't link the messages directly bc I'm on mobile
improver link to source code :^)
2021-05-21 12:27:15
That's what I've been doing and that's how I found possible discrepancy between the code and the spec
improver
2021-05-21 12:28:13
interesting
Deleted User
2021-05-21 12:28:21
Indeed
2021-05-21 12:29:02
<@179701849576833024> maybe it's time to revisit it?
veluca
2021-05-21 01:08:42
Ohhh
Petr
2021-05-21 01:28:57
<@!416586441058025472> If you aren't sure how to edit the Spanish article, I'd suggest to edit it anyway. And if other editors later think that they can improve it, they can do itโ€ฆ
fab
2021-05-21 01:31:06
comunidad is a bad word
2021-05-21 01:31:11
a person in a comunidad
2021-05-21 01:31:18
at least in italian
2021-05-21 01:31:48
as i said before in the deleted message
2021-05-21 01:32:45
ok
Petr
2021-05-21 01:33:19
And if you don't feel like editing it yourself, simply leave it to someone else. No problem.
fab
2021-05-21 01:33:43
andare in comunitร .
2021-05-21 01:34:01
group home in english
Petr And if you don't feel like editing it yourself, simply leave it to someone else. No problem.
2021-05-21 01:34:12
right
2021-05-21 01:34:16
i won't edit
2021-05-21 01:34:36
i wait until spanish recognize the problem
2021-05-21 01:39:28
i can't translate sorry
_wb_
2021-05-21 01:39:41
That is actually an off-by-one bug. It's supposed to be 4.
2021-05-21 01:40:28
(or the place where it gets tested should have been > and not >=, whatever)
2021-05-21 01:40:56
reference frame indices are signalled with 2 bits and have the range 0..3
2021-05-21 01:41:14
so you can have 4 of them
veluca
2021-05-21 01:47:09
yup, sent a fix ๐Ÿ™‚
Crixis
2021-05-21 01:52:20
There is always a bug
_wb_
2021-05-21 01:53:12
well maybe at some point we will have a bug-free implementation
2021-05-21 01:53:17
but that point is not today
2021-05-21 01:53:19
๐Ÿ™‚
monad
2021-05-21 04:24:40
At some point all remaining bugs will be "features".
_wb_
2021-05-21 10:09:24
https://www.softzone.es/noticias/programas/trucos-activar-jpeg-xl-chrome-firefox-edge/amp/
2021-05-21 10:10:14
https://www.soeren-hentzschel.at/firefox/firefox-unterstutzung-bildformat-jpeg-xl/
2021-05-21 10:12:11
https://wpguynews.com/the-humble-img-element-and-core-web-vitals/
BlueSwordM
2021-05-22 01:13:48
Damn, I didn't know that I was Jon Sneyers as well <:kekw:808717074305122316>
2021-05-22 01:14:18
Some people are so short-sighted to be honest.
monad
2021-05-22 01:16:39
The dots in the chart are rather vague, and the lack of granularity can be misleading about the magnitude of differences.
improver
2021-05-22 01:20:05
its good for promotional material but shouldnt be quoted as source tbh
2021-05-22 01:21:03
and it could be even better as promotional material if it was more detailed and reproducable
2021-05-22 01:24:38
tbh idunno. links to benchmarks, links to relevant patents or someone discussing them, or even notes why some things are like they are
2021-05-22 01:25:21
it would no longer be single image but i think it'd be better
2021-05-22 01:26:53
so that readers aren't left with only claims without being able to see more into concepts what are being compared
2021-05-22 01:28:19
a lot of things were obvious and agreeable for me, but i totally see how they may not be for people with different backgrounds
_wb_
2021-05-22 05:53:11
Yes, that table has a lot of [needs reference] left
2021-05-22 05:55:16
Some of it is based on all kinds of benchmarks that were done in JPEG, but those are internal documents and I cannot just put those online somewhere publicly.
2021-05-22 05:55:59
We do need more public benchmarks and independent feature analyses
2021-05-22 08:02:08
Depends on the image
2021-05-22 08:02:57
Low fidelity is when everyone can easily see the image is not the same as the original when you put them side by side
2021-05-22 08:03:21
Medium fidelity is when that's hard to see in a side by side comparison
2021-05-22 08:03:35
High fidelity is when that's hard to see in a fliptest
2021-05-22 08:04:07
(but of course these are not strictly defined categories and this is just my interpretation)
2021-05-22 08:04:22
Squoosh has both slider and fliptest options
2021-05-22 08:04:34
Slider is a bit in between side by side and flip
2021-05-22 08:09:26
Yes, well you can go closer or zoom in more and then you're basically testing higher fidelity
2021-05-22 08:09:41
Or zoom out and test lower fidelity
2021-05-22 08:10:39
Ideally you test at 1:1 screen pixels from a typically viewing distance used for that device/screen, because that would be the most relevant fidelity target
2021-05-22 08:23:26
I consider the main task of lossy compression to be reducing the bytesize while maintaining a high fidelity, both for audio and images. It should not require manual comparison or quality selection to set it to a "safe" amount of compression.
2021-05-22 08:28:20
Performing well at lower fidelity in the sense of hiding the artifacts well so they are not annoying, is a "nice to have", but I think it's more important to have a "safe setting" with no surprises, that can be used without manual checking, and to get good compression densities at that "safe setting".
veluca
_wb_ Yes, well you can go closer or zoom in more and then you're basically testing higher fidelity
2021-05-22 08:29:53
that's not *quite* the same though, human vision is pretty scale dependent
2021-05-22 08:31:08
we have compare_images somewhere in the jxl source code
2021-05-22 08:31:16
can do slider and flip
2021-05-22 08:32:12
with three images at a time even ๐Ÿ˜„
2021-05-22 08:32:25
(usually it's compressed A / compressed B / original)
2021-05-22 08:33:36
IIRC yes
2021-05-22 08:33:58
I think we compile it with LCMS to support LUT monitor profiles
_wb_
veluca that's not *quite* the same though, human vision is pretty scale dependent
2021-05-22 08:36:30
True, and also things get a bit different when pixels are enlarged to big squares
diskorduser
2021-05-22 09:26:31
https://media.tenor.com/images/9cb579d693b640a0f11f74c5a3f0a530/tenor.gif
_wb_
2021-05-22 09:40:43
I have to accept defeat and learn to live with the fact that I will never understand what Fabian is talking about.
fab
2021-05-22 09:41:12
when new jpeg xl
2021-05-22 09:41:17
with more quality options
_wb_
2021-05-22 09:41:33
You want _more_ options?
fab
2021-05-22 09:41:36
no
2021-05-22 09:41:39
better quality
2021-05-22 09:41:55
i don't care if for jpg input it looks upscaled
2021-05-22 09:41:56
for %i in (C:\Users\User\Documents\bn2*.jpg) do cjxl -j -s 6 -q 63.52 --epf=2 -p --gaborish=1 --patches=0 --dots=1 --use_new_heuristics %i %i.jxl
2021-05-22 09:42:03
as long i can get more png quality
2021-05-22 09:42:11
like and higher or lower quantizer
2021-05-22 09:42:13
more range
2021-05-22 09:42:19
like big quantizer is better
_wb_
2021-05-22 09:42:23
Our goal is to get rid of experimental options and try to let the encoder Just Do Something Good
fab
2021-05-22 09:47:07
i need to sum more
2021-05-22 09:55:41
i miss demo video of quantizer in youtube
2021-05-22 09:56:10
just to see how jpeg xl looks with the terrible hw argos 2.0 superfast preset
2021-05-22 09:56:19
in youtube
_wb_
2021-05-22 09:56:51
Jpeg xl is not a video codec
fab
2021-05-22 09:57:11
will you upload selection of blocks
2021-05-22 09:57:17
with next version of jpeg xl
2021-05-22 09:57:35
at s 9 if possible
2021-05-22 09:57:46
and -q 63.52 at least and higher lower
2021-05-22 09:58:03
who commissioned that ant video
2021-05-22 09:58:16
ISO or you made by yourself for scientific purposes?
_wb_ Jpeg xl is not a video codec
2021-05-22 09:58:57
then upload in your site in an animated jxl
2021-05-22 09:59:15
we'll see if we can decode
2021-05-22 09:59:30
a 10 mb animated jxl
2021-05-22 10:00:25
but the mp4 version with argos 2.0 superfast will be beautiful to see
_wb_
2021-05-22 10:02:35
The blocktype selection video that shows what happens for various fidelity targets?
2021-05-22 10:02:57
Could do that as an animated jxl I guess
fab
2021-05-22 10:09:26
really
veluca
2021-05-22 10:10:02
I don't think it will work, my attempts at reverse engineering knowing that it might be badly translated Italian usually fail too ๐Ÿ˜›
_wb_
2021-05-22 10:15:33
Transcoding human language also creates generation loss
2021-05-22 10:15:46
So DeepL will likely not help
2021-05-22 10:16:15
Especially if you start with something that is already quite lossy
Scope
2021-05-22 10:22:59
Knowing Fabian for years through the AV1 server, it's not translation (except sometimes), it's just poor expression of his thoughts or poor understanding of things, but a big desire to communicate about something
lithium
Scope Knowing Fabian for years through the AV1 server, it's not translation (except sometimes), it's just poor expression of his thoughts or poor understanding of things, but a big desire to communicate about something
2021-05-22 10:36:26
Oh no... I think probably my poor english also mess up something... ๐Ÿ˜ข
_wb_
2021-05-22 10:42:08
I wonder why JPEG makes people think about patents
2021-05-22 10:43:03
JPEG had arithmetic coding which was patented at the time, but it was optional, nobody implemented it, and for all practical purposes it doesn't really exist
2021-05-22 10:43:58
I think the only other patent-encumbered stuff JPEG has done is JPEG XS, which has a very narrow/specific use case and the general public probably doesn't know about that codec at all
Scope
lithium Oh no... I think probably my poor english also mess up something... ๐Ÿ˜ข
2021-05-22 10:44:10
English is not the main problem, I also never learn or know English, I understand words and can read, but I can write and form sentences wrong, but at least I try to write understandably
2021-05-22 10:45:11
Yep, and I've posted this thread here before
_wb_
2021-05-22 10:45:47
4chan people are so impolite and ignorant, it kind of feels like a children's playground to me
2021-05-22 10:46:27
If you want to read very strong opinions based on very weak understanding, it's a good place
Scope
2021-05-22 10:48:43
But, sometimes there is a much better understanding on 4chan (except obvious trolling) than on some more intellectual platforms
improver
2021-05-22 10:49:32
you shouldn't be taking things said there directly tbh. shitposting is sometimes too fun
Scope
2021-05-22 10:51:30
Reddit, Twitter, Hacker News, personal blogs, other news sites and etc.
lithium
2021-05-22 11:11:21
And on mypornvid, you can watch Jon talk(not nsfw) ๐Ÿ™‚ https://discord.com/channels/794206087879852103/822105409312653333/837941378058813450 https://mypornvid.fun/videos/12/lqi5U6dxeZU/xl-jpg/next-gen-image-format-jpeg-xl
diskorduser
2021-05-22 11:13:11
I can't stop laughing. This is very funny.
fab
2021-05-22 11:21:12
when it was recorded
_wb_
2021-05-22 11:36:34
May 2019 iirc
diskorduser
2021-05-22 11:50:31
That website is very sus. I don't see any nsfw videos.
Deleted User
lithium And on mypornvid, you can watch Jon talk(not nsfw) ๐Ÿ™‚ https://discord.com/channels/794206087879852103/822105409312653333/837941378058813450 https://mypornvid.fun/videos/12/lqi5U6dxeZU/xl-jpg/next-gen-image-format-jpeg-xl
2021-05-22 01:02:13
Compress me harder daddy ๐Ÿฅบ ๐Ÿ˜ณ ๐Ÿ‘‰ ๐Ÿ‘ˆ `PIK FUIF` ๐Ÿ† ๐Ÿ’ฆ ๐Ÿฅณ
_wb_
2021-05-22 01:10:01
Squeeze those splines, yeah baby yeah! https://c.tenor.com/Yt2_Fb3TD3IAAAAM/austin-powers-mike-myers.gif
BlueSwordM
2021-05-22 02:45:52
Damn, I didn't know that JPEG XL was proprietary garbage.
2021-05-22 02:46:10
That's why I can just go into the code and make small modifications by myself, correct?
Pieter
2021-05-22 07:18:22
It's only JPEG-XL when it comes from the Jixรจlle region of France. Otherwise it's just sparkling awesome compression.
fab
2021-05-22 07:20:40
i don't find jixelle on google
Pieter
2021-05-22 07:22:49
<@!416586441058025472> It's a pun on the pronounciation of "jxl", written in a French-sounding way.
_wb_
2021-05-22 08:04:35
Appellation d'origine protรฉgรฉe
2021-05-22 08:06:11
Jixรจlle A.O.C. Vintage 2021
2021-05-24 06:35:28
https://github.com/GoogleChrome/lighthouse/pull/12535
Petr
_wb_ updates welcome via pull requests to https://github.com/libjxl/libjxl.github.io
2021-05-24 08:23:53
I'm trying to update the lead of index.html. I used GitHub Desktop and edited the file. What's next? Shall I create a new branch to be able to make a pull request? (I'm not very experienced with versioning. I find it quite complicated, compared e.g. to a wiki.)
Deleted User
Petr I'm trying to update the lead of index.html. I used GitHub Desktop and edited the file. What's next? Shall I create a new branch to be able to make a pull request? (I'm not very experienced with versioning. I find it quite complicated, compared e.g. to a wiki.)
2021-05-24 08:26:47
What I've been doing is: fork it, create branch from master just for that patch, clone my fork, edit the file, commit, push and then make a pull request to the original repo. And I'm using `git` CLI ๐Ÿ˜‰
2021-05-24 08:29:21
I've set up an SSH key (for GitHub and GitLab) and my PGP key (for signing commits with `git commit -S`).
Petr
2021-05-24 08:34:35
Why da hell is it so complicated? ๐Ÿ˜–
Deleted User
2021-05-24 08:35:06
Just use the web interface for simple edits.
2021-05-24 08:36:23
I haven't used it that much, but shouldn't it fully guide you from editing to the pull request and make the rest behind the scenes?
_wb_
2021-05-24 08:38:30
Web interface does the clone/branch/PR for you
Scope
2021-05-24 08:43:03
Everyone knows these parameters: for %i in (C:\Users\User\Documents\bn2*.jpg) do cjxl -j -s 6 -q 63.52 --epf=2 -p --gaborish=1 --patches=0 --dots=1 --use_new_heuristics %i %i.jxl
Petr
_wb_ Web interface does the clone/branch/PR for you
2021-05-24 08:43:03
It seems this will make a fork. How do these forks work? Are they public? Is it a good idea to keep the fork for editing next time? Or is it OK to delete it afterwards (and make another next time)?
_wb_
2021-05-24 08:53:08
A fork is just your personal version of the git, which you can keep in sync with upstream or you can diverge and make your own thing
2021-05-24 09:00:34
Basically in wikipedia editing you always have a single branch, so you have a linear history. In git, you can have multiple branches, and more complicated histories (though in many cases for a single project you also just have a linear history in the end, with branches only temporary for experimentation)
Petr
2021-05-24 09:09:00
Thanks for your help, <@456226577798135808>, <@456226577798135808>, <@!794205442175402004>. I made a pull requestโ€ฆ
veluca
2021-05-24 09:30:00
that's slightly surprising to me but I guess it follows from something happening at some point that resulted in someone being sued, and that's why now it's there... (pure speculation though)
_wb_
2021-05-24 09:33:11
I think the cla bot is just checking every repo hosted there
veluca
2021-05-24 09:33:14
I'll continue baseless speculation and assume yes
_wb_
2021-05-24 09:33:37
But doesn't hurt to have a cla signed for contributions
2021-05-24 09:33:44
Also to a website
veluca
2021-05-24 09:33:57
I also assume that I really really don't want to figure it out xD
2021-05-24 09:35:53
the main reason why CLAs exist for apache or bsd projects is that otherwise it's always a nightmare to change the license - even just for things like Apache2 to BSD
_wb_
2021-05-24 09:36:54
I guess we need to decide on a license for the website
veluca
2021-05-24 09:38:12
well, IANAL but suppose someone sends an image to the website that it turns out they didn't have copyright for...
_wb_
2021-05-24 09:38:30
Or just text
2021-05-24 09:39:24
Or if they contribute something and then we need to ask their permission whenever we want to do something else with it, like use it in a white paper or whatever
2021-05-24 09:40:31
CC BY-SA for the website probably makes most sense, right?
veluca
2021-05-24 09:41:58
I really really dislike copyright in most (possibly all) of its forms, and all the legal stuff that comes with it, but I guess CLAs are a necessary evil
_wb_
2021-05-24 09:42:43
Copyleft is a nice hack of the copyright system though
2021-05-24 09:43:44
I dunno what the google bot wants, I would assume github account ID is enough?
veluca
2021-05-24 09:44:25
don't ask me, don't need to sign those ๐Ÿ˜›
improver
2021-05-24 09:44:47
for golang stuff i needed google account iirc
2021-05-24 09:45:00
which is like.. not actually good requirement
_wb_
2021-05-24 09:47:28
I think you just need an email address that matches the one you do the commit with
improver
2021-05-24 09:47:49
just try it and see if it lets you without google account
_wb_
2021-05-24 09:47:57
It doesn't need to be a gmail address, any email address should work
improver
2021-05-24 09:49:02
it was over a year so i don't recall exact process
veluca
2021-05-24 09:49:54
it does ask me to log in to my google account if I try from a private window
2021-05-24 09:49:59
that's somewhat disappointing
Petr
2021-05-24 10:40:46
It's funny that the Name field isn't mandatory (unlike other fields) but if you leave it empty, the form wants you to fill it in. ๐Ÿ˜œ
improver
2021-05-24 11:00:17
it's all stupid and imo really shouldn't be required for docs fixes
_wb_
2021-05-24 11:15:40
For a small fix it is of course a bit silly, but what when someone has a substantial contribution, say a full extra page with benchmark results or something like that?
improver
2021-05-24 11:22:11
hard to justify when that requires google account and real name
2021-05-24 11:24:01
not quite. one can troll and spam without signing CLAs
2021-05-24 11:24:09
it's probably just some legal bullshit reasons
2021-05-24 11:26:18
it's not necessary at all considering a lot of open source projects don't have them
2021-05-24 11:26:58
how would patents even work with docs stuff
2021-05-24 11:27:17
patents purpose is to publicly document things on their own so to kill trade secret stuff
veluca
improver it's probably just some legal bullshit reasons
2021-05-24 11:27:45
I'm just speculating, but probably the reason why it requires a Google account is that whoever developed it just didn't consider the effort of making it work without a Google account worth the benefit ๐Ÿ˜›
improver
2021-05-24 11:30:53
i know the reasons too but that doesn't mean that i like it or that i don't want to oppose it :P
_wb_
2021-05-24 11:44:09
Copyright is an issue in case a relicensing is ever needed - tracking down all copyright holders to get their approval can be nearly impossible after a few years when some of them may have disappeared from github
2021-05-24 11:48:01
Like upgrading from CC BY-SA 4.0 to 5.0 if that ever becomes a thing
Jim
2021-05-24 04:20:02
Facebook now left a comment on Firefox's JXL bug in support of JPEG XL: https://bugzilla.mozilla.org/show_bug.cgi?id=1539075#c18
veluca
2021-05-24 04:21:48
nice ๐Ÿ˜„
_wb_
2021-05-24 04:49:57
Wow, that's quite good praise right there
veluca
2021-05-24 04:57:52
this also got mentioned in the request for position: https://github.com/mozilla/standards-positions/issues/522
_wb_
2021-05-24 07:28:06
https://www.drwindows.de/news/newssplitter-einige-wichtige-firefox-news-der-vergangenen-tage-im-ueberblick
2021-05-24 07:29:43
https://www.openmandriva.org/en/news/article/openmandriva-lx-4-3-rc-available-for-testing
Jim
2021-05-24 08:35:25
<:JXL:805850130203934781>
veluca
2021-05-25 08:20:12
I honestly don't mind either way ๐Ÿ˜›
_wb_
2021-05-25 08:26:17
JPEG_XL
Jim
2021-05-25 11:22:10
JPEG XL JPEG-XL JPEG_XL JPEG*XL JPEG^XL JPEG#XL JPEG@XL JPEG~XL JPEG`XL JPEG+XL JPEG=XL JPEG:XL JPEG;XL JPEG'XL JPEG,XL JPEG/XL JPEG\XL
2021-05-25 11:25:06
Nobody wants an extra large JPEG ๐Ÿ‘€
2021-05-25 11:26:04
Only their JPEG extra large
Pieter
2021-05-25 12:51:37
J'ai peg excelle.
fab
2021-05-25 02:20:48
G X L
Ringo
2021-05-25 02:24:48
~~PikFUIF+~~
_wb_
2021-05-25 02:31:18
ร€ mon avif, j'ai pรจgre excelle.
2021-05-25 02:33:32
(said the somewhat confused frenchman with a lisp)
Deleted User
_wb_ (said the somewhat confused frenchman with a lisp)
2021-05-25 02:38:04
> with a lisp ((((ร€ mon) avif), ((j'ai pรจgre) excelle)).)
Scope
2021-05-25 02:51:19
https://twitter.com/kornelski/status/1302200119731855360
2021-05-25 02:53:49
https://twitter.com/kornelski/status/1302201131909681157
Petr
2021-05-26 08:08:31
Finally something in Czech but not written by me ๐Ÿ˜œ https://www.root.cz/zpravicky/openmandriva-lx-4-3-se-blizi-vysla-rc-verze/
Deleted User
Petr Finally something in Czech but not written by me ๐Ÿ˜œ https://www.root.cz/zpravicky/openmandriva-lx-4-3-se-blizi-vysla-rc-verze/
2021-05-26 09:39:39
I'm still waiting for that moment in Polish, seems like almost nobody else from Poland is interested in JPEG XL (there are barely any articles in my language and most of them were outdated, from ca 2018).
Jim
2021-05-26 04:11:47
First look at JPEG XL progressive rendering! https://youtu.be/-7k3H2GxE5E?t=1248
Scope
2021-05-26 04:15:58
More likely DCT preview and incremental decoding
_wb_
2021-05-26 04:24:33
No time to watch it right now, curious though
Scope
2021-05-26 04:25:57
2021-05-26 04:30:44
With full progressive, the whole image would be rendered completely and smoother, but here I can clearly see only sequentially and fully loaded tiles But perhaps because it is not yet fully supported in browsers
Jim
2021-05-26 04:32:38
It renders each block progressively separately.
2021-05-26 04:33:01
Do you mean top-to-bottom or whole-image getting progressively better like progressive JPEG?
Scope
2021-05-26 04:35:01
Yes, it would be more like a progressive Jpeg, and what is shown is just a DCT preview + sequential tile rendering
Jim
2021-05-26 04:43:18
I figured that wouldn't be the final rendering style - especially since the browsers don't support it yet and all the image viewers just "pop in" the fully rendered image. Truthfully, not sure how they even got that video of rendering - maybe simulated using the image broken into smaller images?
Scope
2021-05-26 04:47:40
Perhaps in Chrome this kind of sequential rendering already works, but does not yet support full progressivity
_wb_
2021-05-26 04:49:03
This is how default (non-progressive) jxl can be rendered
Jim
2021-05-26 04:49:08
Perhaps, but in that video they stated that progressive was not yet implemented in any browsers. Could have been a mistake.
_wb_
2021-05-26 04:49:16
It is not yet implemented in browsers
2021-05-26 04:49:47
You can simulate it by truncating a file and decoding it with djxl --allow_partial_file
Jim
_wb_ This is how default (non-progressive) jxl can be rendered
2021-05-26 04:51:36
Oh, so maybe that is how Chrome is rendering non-progressive jxls to "simulate" progressive rendering when the file was not progressively encoded.
_wb_
2021-05-26 04:52:19
That is how Chrome will be rendering it once implemented. That still needs to happen though
veluca
2021-05-26 04:53:31
well, it's how it will render it *unless* you have a progressive JXL file ๐Ÿ˜„
_wb_
2021-05-26 04:55:18
I kind of like that way of loading: it combines the best aspects of progressive and incremental. You get a nice preview, but it is still clear what the loading progress is and when you have the final image. Plus it's limited decoder overhead (basically the only extra work is the dc upsampling).
Jim
2021-05-26 04:55:42
I suspect that is also why it took so long to start - granted it could be bugs not yet fixed as they are working on it. I suspect an actual progressive jxl rendered progressively would probably load faster if not just as fast as the jpeg would in that example. So technically they showed a non-progressive early render without stating it wasn't actually progressive. ๐Ÿ˜‰
_wb_
2021-05-26 04:57:20
Well with defaults, it's not only the DC but also the ACMetadata that gets encoded in the dc groups, which does give you full dc later than if you first do only dc
2021-05-26 04:57:43
For that you would need --progressive_dc=1
2021-05-26 04:57:53
(forcing a separate dc frame)
fab
2021-05-26 05:00:41
did i exaggerate with the issue i opened
Scope
2021-05-26 05:01:06
However, even this non-progressive rendering in JXL looks pretty good, given that it does not need to do anything extra and will not increase the image size or add complexity in decoding as it may be with progressive
fab
2021-05-26 05:01:08
also in this video
2021-05-26 05:01:11
jaffathecake
2021-05-26 05:01:17
said similar things
2021-05-26 05:01:27
say wp2 is hype
2021-05-26 05:01:59
jxl is when you want a photo to view on screen size at high quality fidelity
Jim
Scope However, even this non-progressive rendering in JXL looks pretty good, given that it does not need to do anything extra and will not increase the image size or add complexity in decoding as it may be with progressive
2021-05-26 05:02:08
I agree, except in the beginning I think there were some missing blocks which was a bit odd. Maybe wait till all the blocks can be rendered so there are not missing blocks showing.
fab
2021-05-26 05:02:09
and not at least possible file size and not based on avif to him it's a bad thing but it ounds a bit bad promising on web
2021-05-26 05:02:23
that how i understood
2021-05-26 05:02:37
he said on 24:00 if i remember right
2021-05-26 05:04:07
obviously in the video he uses English
Jim
2021-05-26 05:06:30
They don't really talk much about WebP2 - just that they are working on similar features that JXL has rather than being a video format.
Scope
Jim I agree, except in the beginning I think there were some missing blocks which was a bit odd. Maybe wait till all the blocks can be rendered so there are not missing blocks showing.
2021-05-26 05:07:51
Probably some bug, but in practice at typical internet speeds and image sizes all this rendering will happen in less than a second, so it does not change something much, in the video it is intentionally very slowed down
_wb_
2021-05-26 05:10:15
In chrome we'll not show anything before we have a preview of everything
Jim
2021-05-26 05:10:20
While true, I have been in areas where mobile internet is rather slow and could see that. In developing nations internet can also be at 2G/3G speeds. Just saying I feel it would look a better visually if they just wait for the entire row to be rendered before doing the render.
fab
2021-05-26 05:10:34
jpeg xl at lower quality has too loss
_wb_
2021-05-26 05:10:58
In the bitstream, you get DC in groups too, which correspond to 2048x2048 regions in the image
fab
2021-05-26 05:11:25
do you advice to encode something with that version?
2021-05-26 05:11:26
https://ci.appveyor.com/project/EwoutH/libjxl/builds/39328673/job/0perh7t4aiii724h/artifacts
2021-05-26 05:12:08
i don't find it on github
Scope
Jim While true, I have been in areas where mobile internet is rather slow and could see that. In developing nations internet can also be at 2G/3G speeds. Just saying I feel it would look a better visually if they just wait for the entire row to be rendered before doing the render.
2021-05-26 05:13:32
Yes, sometimes it happens even on a good internet with some sites or routes https://discord.com/channels/794206087879852103/803663417881395200/844293123672768572
_wb_
2021-05-26 05:13:32
Fabian I have no clue what you are asking
fab
2021-05-26 05:15:44
that version of ewout
2021-05-26 05:15:46
is good
2021-05-26 05:16:08
patch-1 02b76c43
2021-05-26 05:16:12
0.3.7
Jim
Scope Yes, sometimes it happens even on a good internet with some sites or routes https://discord.com/channels/794206087879852103/803663417881395200/844293123672768572
2021-05-26 05:16:45
I assume that is more an issue where a large image was used where a thumbnail should have been. That happens periodically, mistakes get made once in a while.
Jake Archibald
2021-05-27 01:30:58
I'm calling wp2 "hype" right now because it seems so far from being ready. Maybe I'm wrong. I don't want folks to start saying "wp2 is the future!!" until we have something more concrete. It's kinda difficult to talk about something like that without getting people over excited, or sound like you're dismissing the thing
2021-05-27 01:31:14
The settings I used for the JXL in that video came from <@!794205442175402004> btw
improver
2021-05-27 01:51:50
too early to say anything about wp2 atm tbh. I don't think that saying it this way is dismissing the thing
_wb_
2021-05-27 01:59:50
It's too early to draw any conclusions about it when the bitstream is not finalized yet and the code is still mostly unoptimized.
2021-05-27 02:01:42
I can comment on it based just on the project goals stated on https://chromium.googlesource.com/codecs/libwebp2/ though. If those are the goals, then I wonder "why not just use avif"...
Jim
2021-05-27 05:41:58
I do agree, even early testing comparing an equivalent AVIF to WebP2 there seems to be little difference in output on a number of images I tested. I feel if the development takes too long and doesn't deliver enough features, everyone might just decide: "well, we already have AVIF & JXL... do we need another?" On the other hand, if they end up doing a lot more optimization/performance and add in some JXL-competing features like progressive decoding & better high & lossless compression, and it could have the possibility of replacing AVIF and being a larger competitor to JXL in the future. *Too early to tell yet, will have to wait & see.* โ„ข๏ธ
_wb_
2021-05-27 05:43:51
Progressive and being faster than avif don't seem to be things that are on the roadmap/desirables list though.
Jim
Jake Archibald I'm calling wp2 "hype" right now because it seems so far from being ready. Maybe I'm wrong. I don't want folks to start saying "wp2 is the future!!" until we have something more concrete. It's kinda difficult to talk about something like that without getting people over excited, or sound like you're dismissing the thing
2021-05-27 05:43:58
Was the JXL progressive rendering actually done in a browser or image program or was it simulated?
_wb_ Progressive and being faster than avif don't seem to be things that are on the roadmap/desirables list though.
2021-05-27 05:47:14
https://chromium.googlesource.com/codecs/libwebp2/ > As of Nov. 2020, WebP 2 is only partially optimized and, roughly speaking 5x slower than WebP for lossy compression. It still compresses 2x faster than AVIF, but takes 3x more time to decompress. The goal is to reach decompression speed parity. Seems like performance may end up becoming a big thing at some point. As for progressive rendering they clearly have that on their feature list but I doubt it will be as robust as JXL.
veluca
Jim Was the JXL progressive rendering actually done in a browser or image program or was it simulated?
2021-05-27 05:51:46
simulated ๐Ÿ˜„
_wb_
2021-05-27 05:59:22
They have "incremental decoding" on the feature list, which is basically just what sequential jpeg does, or webp1.
Jim
2021-05-27 06:05:03
Having it start rendering while downloading is still better than just an empty space.
_wb_
2021-05-27 06:09:38
Yes, of course. That could probably also be done for avif though, it's a matter of decoder api, no need to invent a new bitstream for that...
2021-05-27 06:10:02
Progressive is something else, that you need to have in mind when designing the bitstream.
Jim
2021-05-27 06:15:07
Jake said in the video they don't even know if it is possible to do any kind of sequential or progressive rendering with AVIF. Currently they are looking at putting a small few kb thumbnail image in the container ahead of the full image that will probably be displayed with a blur while the full image downloads.
diskorduser
2021-05-27 06:23:43
blurha.sh
Jim
2021-05-27 06:28:14
a) Never good to rely on a third party library for things that should exist in a modern web image format b) Those seem to be **too** blurred. At least including a small thumbnail can have enough detail that you can make out the subject of most images
190n
2021-05-27 06:29:54
i see the advantage of blurhash (or something similar) as that it's just a string so you could include it in something like an api response, so the browser has something to render before it's even opened a connection to retrieve the full image or thumbnail
Deleted User
190n i see the advantage of blurhash (or something similar) as that it's just a string so you could include it in something like an api response, so the browser has something to render before it's even opened a connection to retrieve the full image or thumbnail
2021-05-27 06:43:26
You could also use twim by <@!811568887577444363> ๐Ÿ™‚
190n
2021-05-28 03:25:58
link? can't seem to find it
Jake Archibald
2021-05-28 03:28:58
Blurhash is cute, but it isn't really a useful preview. You can't really tell anything about the image. Whereas a 1-2k blurred AVIF gives you a ton of structure.
2021-05-28 03:29:26
https://avif-blur-preview.glitch.me/
diskorduser
2021-05-28 05:04:44
Not working on Firefox
190n
2021-05-28 05:06:09
yeah it only shows the blurry one
Jake Archibald
2021-05-28 05:19:52
Yeah, Firefox doesn't support the blur method
190n
2021-05-28 05:28:22
oh no firefox supports blurring with `filter: blur()`
2021-05-28 05:28:35
but you seem to be using a backdrop filter with a div on top of the image for some reason
2021-05-28 05:29:31
firefox doesn't have backdrop filters on by default, i actually have them enabled in about:config but it seems to apply backdrop filters even when the element with backdrop-filter set also has `visibility: hidden`. chrome doesn't apply filters in this case
2021-05-28 05:29:45
idk which behavior is correct but can't you just put a blur filter on the image itself?
2021-05-28 05:30:33
anyway that's a cool technique but not really a fair comparison between 20-30 byte blurhash and 1-2kb avif
2021-05-28 05:34:51
the idea with blurhash is you could have in your api response e.g. (for a hypothetical movie api): ```json { "title": "Interstellar", "poster": "https://www.themoviedb.org/t/p/w600_and_h900_bestv2/gEU2QniE6E77NI6lCU6MxlNBvIx.jpg", "posterBlurhash": "mHK_n8-;_3IU~qoftRof00%MIBofIoxaIAWBD%t8xtoff,IUofRj" } ``` which gives you something to display immediately while it downloads the full poster or thumbnail. it doesn't have to wait to make another request to get the thumbnail.
_wb_
2021-05-28 05:37:00
We could do something like that but just put the first 200 bytes or whatever of a progressive jxl there
2021-05-28 05:39:17
That could also give a blurhash-like preview
190n
2021-05-28 05:39:48
yeah i wonder how that would look
_wb_
2021-05-28 05:40:12
That would mostly depend on how you upsample/blur it
190n
2021-05-28 05:45:21
any trick to doing a progressive decode manually? i can't get djxl to work on truncated progressive files even with `--allow_partial_files --allow_more_progressive_steps`
_wb_
2021-05-28 05:49:43
It doesn't work?
2021-05-28 05:50:16
Maybe it's currently broken with some of the recent optimizations
190n
2021-05-28 05:50:25
``` Read 200 compressed bytes [v0.3.7 | SIMD supported: AVX2,SSE4,Scalar] /home/190n/Downloads/libjpeg-xl/src/jpeg-xl/lib/jxl/dec_modular.cc:436: JXL_FAILURE: Undoing transforms failed /home/190n/Downloads/libjpeg-xl/src/jpeg-xl/lib/jxl/dec_frame.cc:804: JXL_RETURN_IF_ERROR code=1: modular_frame_decoder_.FinalizeDecoding(dec_state_, pool_, decoded_) /home/190n/Downloads/libjpeg-xl/src/jpeg-xl/lib/jxl/dec_frame.cc:838: JXL_RETURN_IF_ERROR code=1: Flush() /home/190n/Downloads/libjpeg-xl/src/jpeg-xl/lib/jxl/dec_frame.cc:244: JXL_RETURN_IF_ERROR code=1: frame_decoder.FinalizeFrame() /home/190n/Downloads/libjpeg-xl/src/jpeg-xl/lib/jxl/dec_file.cc:171: JXL_FAILURE: Not enough data. /home/190n/Downloads/libjpeg-xl/src/jpeg-xl/lib/jxl/dec_bit_reader.h:256: JXL_FAILURE: Read more bits than available in the bit_reader Failed to decompress to pixels. ```
2021-05-28 05:50:40
i get some different errors truncating it at different points
2021-05-28 05:51:50
actually it's usually that one
2021-05-28 05:52:08
except for 10000 bytes ``` Read 10000 compressed bytes [v0.3.7 | SIMD supported: AVX2,SSE4,Scalar] /home/190n/Downloads/libjpeg-xl/src/jpeg-xl/lib/jxl/image_ops.h:58: JXL_DASSERT: rect_to.IsInside(*to) Illegal instruction (core dumped) ```
_wb_
2021-05-28 06:08:43
How did you encode the image?
190n
2021-05-28 06:09:37
``` cjxl interstellar.png -s 9 -d 2 -p interstellar.jxl dd if=interstellar.jxl of=firstpart.jxl bs=1 count=NUMBER_OF_BYTES ```
Jake Archibald
190n but you seem to be using a backdrop filter with a div on top of the image for some reason
2021-05-28 07:07:33
A standard blur filter also blurs the edges of the image
190n anyway that's a cool technique but not really a fair comparison between 20-30 byte blurhash and 1-2kb avif
2021-05-28 07:08:54
Remember that the browser doesn't have the blurhash decoder built-in, so you have to factor the size of that in too. This is especially the case if it's the core image on a web page
190n the idea with blurhash is you could have in your api response e.g. (for a hypothetical movie api): ```json { "title": "Interstellar", "poster": "https://www.themoviedb.org/t/p/w600_and_h900_bestv2/gEU2QniE6E77NI6lCU6MxlNBvIx.jpg", "posterBlurhash": "mHK_n8-;_3IU~qoftRof00%MIBofIoxaIAWBD%t8xtoff,IUofRj" } ``` which gives you something to display immediately while it downloads the full poster or thumbnail. it doesn't have to wait to make another request to get the thumbnail.
2021-05-28 07:09:33
Sure, and it's a cute effect. But it isn't so great for an initial render of a web page (eg how every news article works)
_wb_
190n ``` cjxl interstellar.png -s 9 -d 2 -p interstellar.jxl dd if=interstellar.jxl of=firstpart.jxl bs=1 count=NUMBER_OF_BYTES ```
2021-05-28 07:16:00
is it better at default speed? there were some bugs with -s 8/9 -p
190n
2021-05-28 07:22:59
still doesn't work
veluca
2021-05-28 07:36:57
interesting... might be able to give it a look next week
eustas
190n link? can't seem to find it
2021-05-28 03:59:45
https://github.com/eustas/2im
190n
2021-05-28 04:09:33
ooh that looks cool!
2021-05-28 04:10:11
seems like the decoder may be smaller than blurhash's
_wb_
2021-05-28 04:15:18
Theoretically, a Squeezed dc frame should give you a tiny but accurate 8x8 (or 16x16, or whatever) thumbnail version of the image in the first few bytes after the header stuff
2021-05-28 04:16:27
So if you upscale that in a nice and blurry way, it should be quite comparable to blurhash-like approaches
190n
2021-05-28 04:16:52
blurhash is based on DCT iirc
_wb_
2021-05-28 04:20:37
You can basically use any modular technique to encode that 8x8 info. Actually by default it would be 8x8 luma and 4x4 chroma, if I'm not mistaken. So about ~~100 bytes~~ 150 or so bytes (it's not 8-bit but a bit more in the usual XYB case) uncompressed, but compression should trim that down quite a bit (and with a different aspect ratio than square it will be fewer pixels).
2021-05-28 04:23:03
Question is if we want to make the effort of extracting that very low res preview and do fancy upsampling on it...
improver
2021-05-29 12:10:47
<https://github.com/libjxl/libjxl.github.io/pull/2> :P