JPEG XL

Info

rules 57
github 35276
reddit 647

JPEG XL

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

General chat

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

Voice Channels

General 2147

Archived

bot-spam 4380

adoption

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

improver
2023-01-03 05:08:00
they organized contest that led to selection of Pik and FUIF teams and i think gave some input about codestream details
2023-01-03 05:08:13
but saying that they created it is disingenuous
2023-01-03 05:10:22
or well. it's not JPEG who's claiming it so i guess just incorrect, not disingenuous
joppuyo
2023-01-03 05:10:48
well I mean it in the loose sense of the word
improver
2023-01-03 05:11:22
in loose sense of the word google developed the most of it...
joppuyo
2023-01-03 05:11:34
while they did not develop it, they put their stamp on it. so it's officially part of the JPEG specifications
improver
2023-01-03 05:11:55
yeah i just think that that sentence could be improved
2023-01-03 05:11:57
somehow
joppuyo
2023-01-03 05:12:07
🤔
improver
2023-01-03 05:12:51
or replaced by something more useful than giving authority to JPEG because im not sure if that's actually something what people consider hip
joppuyo
improver yeah i just think that that sentence could be improved
2023-01-03 05:12:52
yeah I agree
improver
2023-01-03 05:14:18
kinda nitpicking here though, its not really too incorrect and is probably fine
_wb_
2023-01-03 05:21:00
Both Cloudinary and Google participated in JPEG to turn their fuif and pik proposals into what became jxl, between 2018 and now (bitstream finalized in 2020 but the spec work is still going on, as well as the work on libjxl).
2023-01-03 05:23:18
The original JPEG format was designed in the 1980s (based mostly on technology from the 1950s, 60s and 70s). I don't think any of the current JPEG members were already around back then.
zamfofex
joppuyo <@171381182640947200> looks like both chrome and firefox have an API which extensions can use to modify request headers https://developer.chrome.com/docs/extensions/reference/webRequest/ https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webRequest
2023-01-03 05:41:20
Yes, I was able to very easily use `declarativeNetRequest` to set the `Accept` header appropriately. Now I’m currently trying to decide what the best way is to *detect* JPEG XL images in pages to replace appropriately. I spent a lot of time considering various options, and I feel like the best approach might honestly be to intercept `error` events in `<img>` elements through a content script and reissue the request, then check the `Content-Type` header appropriately before trying to decode the body. This has the added benefit that if browsers start supporting JPEG XL, this will work entirely as a noop. The drawback is that requests are made twice (though only until the headers are received), and can also be made to images that are not JPEG XL. I’d also have to make sure to handle `<picture>` appropriately. Honestly, it might not be necessary to check the `Content-Type` since decoding would otherwise fail, but it might be a good idea to enforce it anyway. E.g. in case someone is using the extension to test their own website, it might be misleading if they are able to get away with an improper `Content-Type` for their JPEG XL images, since that isn’t meant to work.
improver yeah i just think that that sentence could be improved
2023-01-03 05:43:56
I suppose I could elide it altogether. Or perhaps say it was “published by the same comittee” (talking about the specification), which (unlike saying “group”) doesn’t seem to imply the same people who worked on JPEG also worked on JPEG XL. I suppose I just wanted to clarify why it’s called “JPEG XL”, and that it’s only related to JPEG (the format) by legacy (i.e. that it is a different format).
_wb_
2023-01-03 06:06:42
It's historically confusing that the committee and the file format use the same acronym
joppuyo
2023-01-03 06:46:30
like MPEG? 😛
BlueSwordM
2023-01-03 06:51:10
<@171381182640947200> How fast is the decoder in the extension? Is it as fast as libjxl?
joppuyo
Yes, I was able to very easily use `declarativeNetRequest` to set the `Accept` header appropriately. Now I’m currently trying to decide what the best way is to *detect* JPEG XL images in pages to replace appropriately. I spent a lot of time considering various options, and I feel like the best approach might honestly be to intercept `error` events in `<img>` elements through a content script and reissue the request, then check the `Content-Type` header appropriately before trying to decode the body. This has the added benefit that if browsers start supporting JPEG XL, this will work entirely as a noop. The drawback is that requests are made twice (though only until the headers are received), and can also be made to images that are not JPEG XL. I’d also have to make sure to handle `<picture>` appropriately. Honestly, it might not be necessary to check the `Content-Type` since decoding would otherwise fail, but it might be a good idea to enforce it anyway. E.g. in case someone is using the extension to test their own website, it might be misleading if they are able to get away with an improper `Content-Type` for their JPEG XL images, since that isn’t meant to work.
2023-01-03 06:53:08
nice! I'm guessing it could be possible to use the same API to block the initial request for the <picture> use case to prevent double requests (kinda like an adblocker does)
afed
BlueSwordM <@171381182640947200> How fast is the decoder in the extension? Is it as fast as libjxl?
2023-01-03 06:54:54
no, it's like a portable wasm version <https://github.com/niutech/jxl.js> so it's not like native support also on the test page something strange <https://jpegxl.info/test-page/>
2023-01-03 06:56:05
_wb_
joppuyo like MPEG? 😛
2023-01-03 07:03:27
MPEG is a little different, people know mp3 and mp4 but maybe not so much the original mpeg video codec, since it was mostly used in broadcast and other use cases where you don't really get to see the files as an end-user...
Fraetor
2023-01-03 07:04:35
MPEG2 is the first one you start seeing files for.
_wb_
afed
2023-01-03 07:05:58
That looks like it renders at dpr1 (so 2x upsampled on a dpr2 screen) even though the html says it should render at 1:1...
BlueSwordM
afed no, it's like a portable wasm version <https://github.com/niutech/jxl.js> so it's not like native support also on the test page something strange <https://jpegxl.info/test-page/>
2023-01-03 07:21:49
Oh, I thought it was literally libjxl in an extension.
joppuyo
2023-01-03 07:26:08
No native code in chrome extensions since 2014 😔
2023-01-03 07:31:04
Well actually NPAPI was superseded by PPAPI but that was removed in 2020
VcSaJen
2023-01-03 07:31:19
I thought native code was in addons. Flash, JavaApplets, etc
zamfofex
2023-01-04 04:10:37
Well, it *kinda is* “literally libjxl in an extension”, since jxl.js uses Squoosh’s build of libjxl. Now, I have been working on updating the extension to suit its own use cases better instead of using jxl.js, so I decided to build libjxl to Wasm myself, and I have been writing the necessary glue code in JavaScript. Some thoughts: - Using error events seems to work fine! - I still need to implement conversion to sRGB from other color profiles. (I’d love if someone offered to help with this.) - I still need to make it run on a worker rather than on the main thread. (Should be fairly straightforward.) - It seems some JPEG XL images are being served as `application/octet-stream` on jpegxl.info, even though I’m sending the correct `Accept` header, so I disabled MIME type checking for now. - It seems some images are failing to load! At least all the images in jpegxl.info/art seem to be fine, but others might not, not fully sure why (and libjxl’s error reporting is a bit sparse). - I still need to make it handle `<picture>` correctly again, as well as CSS backgrounds and borders, etc., and perhaps SVG `<image>`. - I still need to upload what I have somewhere! 😅 - Once I can solve the regressions, I can submit version 0.2 to the Chrome WebStore and Mozilla’s addon listings. - It might be nice to eventually support animations, though I’m unsure about how trivial that would be.
BlueSwordM
Well, it *kinda is* “literally libjxl in an extension”, since jxl.js uses Squoosh’s build of libjxl. Now, I have been working on updating the extension to suit its own use cases better instead of using jxl.js, so I decided to build libjxl to Wasm myself, and I have been writing the necessary glue code in JavaScript. Some thoughts: - Using error events seems to work fine! - I still need to implement conversion to sRGB from other color profiles. (I’d love if someone offered to help with this.) - I still need to make it run on a worker rather than on the main thread. (Should be fairly straightforward.) - It seems some JPEG XL images are being served as `application/octet-stream` on jpegxl.info, even though I’m sending the correct `Accept` header, so I disabled MIME type checking for now. - It seems some images are failing to load! At least all the images in jpegxl.info/art seem to be fine, but others might not, not fully sure why (and libjxl’s error reporting is a bit sparse). - I still need to make it handle `<picture>` correctly again, as well as CSS backgrounds and borders, etc., and perhaps SVG `<image>`. - I still need to upload what I have somewhere! 😅 - Once I can solve the regressions, I can submit version 0.2 to the Chrome WebStore and Mozilla’s addon listings. - It might be nice to eventually support animations, though I’m unsure about how trivial that would be.
2023-01-04 05:46:01
Also, an interesting way to make the extension even better would be to somehow have a way for the extension to view JXL images that you drag into the browser.
diskorduser
2023-01-04 05:55:58
Also to open local jxl files in browser
Demiurge
It makes jxl.js generate PNGs from the JPEG XL images rather than JPEGs, which allows for transparency to work.
2023-01-04 06:59:50
wouldn't lossless webp be better or would it be slower?
2023-01-04 10:56:24
lossless webp still only supports 8 bit huh? (Hmm, I wonder, maybe with some dithering and an appropriate color profile, could 10-bit be dithered down to 8-bit without anyone noticing the difference on a good monitor? Visually lossless?)
w
2023-01-04 10:57:01
nobody can notice 10 bit
2023-01-04 10:58:04
it's only hdr but that's a different problem
_wb_
2023-01-04 11:39:24
8-bit sdr without dithering can have some noticeable banding on displays that go bright enough...
improver
w nobody can notice 10 bit
2023-01-04 12:27:07
uhhh no. with dithering u can get close enough but still not exactly the same
2023-01-04 12:27:27
if u look for it u can notice
2023-01-04 12:27:39
not that many look for it
2023-01-04 12:28:07
unless its made obvious w no dithering and sky gradients
w
2023-01-04 01:14:06
8 bit yuv is obvious
2023-01-04 01:14:32
8 bit rgb is arguable even up to 600 nits
_wb_
2023-01-04 01:36:07
<@456226577798135808> had some example images where 8 bit rgb has visible banding on my 400 nit or so screen
w
2023-01-04 01:53:56
i guess we have to use avif <:trollface:834012731710505011>
zamfofex
Well, it *kinda is* “literally libjxl in an extension”, since jxl.js uses Squoosh’s build of libjxl. Now, I have been working on updating the extension to suit its own use cases better instead of using jxl.js, so I decided to build libjxl to Wasm myself, and I have been writing the necessary glue code in JavaScript. Some thoughts: - Using error events seems to work fine! - I still need to implement conversion to sRGB from other color profiles. (I’d love if someone offered to help with this.) - I still need to make it run on a worker rather than on the main thread. (Should be fairly straightforward.) - It seems some JPEG XL images are being served as `application/octet-stream` on jpegxl.info, even though I’m sending the correct `Accept` header, so I disabled MIME type checking for now. - It seems some images are failing to load! At least all the images in jpegxl.info/art seem to be fine, but others might not, not fully sure why (and libjxl’s error reporting is a bit sparse). - I still need to make it handle `<picture>` correctly again, as well as CSS backgrounds and borders, etc., and perhaps SVG `<image>`. - I still need to upload what I have somewhere! 😅 - Once I can solve the regressions, I can submit version 0.2 to the Chrome WebStore and Mozilla’s addon listings. - It might be nice to eventually support animations, though I’m unsure about how trivial that would be.
2023-01-04 01:56:07
So, some more thoughts: - I spent way too long trying to figure out how to separate the processing into a worker. It turns out you can’t just create a worker with an extension URL at all! I tried some wacky things such as using `iframe` instead. But then I realized it was working on the existing extension, so I went to study how it managed to do that. And apparently, it just works completely normally if you instead use `importScripts` from a `data:` or `blob:` URL. The caveat is that then the worker will have that URL as its base URL (and also its origin), but other than that, it works completely fine! - I feel like the number of images that don’t seem to be working is actually worringly high. I need to figure out what I’m doing wrong, but I honestly just compiled libjxl with Emscripten and followed pretty much every example I could find to the dot, so I don’t know why it just doesn’t work for some images. - Maybe it’d be worthwhile to set up a proper repository for it, instead of uploading it to a GitHub Gist. - I made it work with `<picture>` through `MutationObserver`, but maybe I should make CSS out of scope for it. - I still need to figure out how to convert images to sRGB in case they aren’t.
2023-01-04 01:57:40
The extension currently converts images to 8‐bit per channel sRGB always. And by “currently”, I mean that WIP one I’m working on, and also the one uploaded to the Web Store / Mozilla Addons.
Demiurge wouldn't lossless webp be better or would it be slower?
2023-01-04 01:58:30
I don’t think it really matters that much, since the images are only kept in RAM.
BlueSwordM Also, an interesting way to make the extension even better would be to somehow have a way for the extension to view JXL images that you drag into the browser.
2023-01-04 01:59:49
I have used extensions that can affect the “image tabs” before, so at least I know it’s possible. I could definitely investigate it.
Demiurge
w it's only hdr but that's a different problem
2023-01-04 05:03:06
what ever is the point of 10-bit then?
w
2023-01-04 05:05:37
depends on the context and who you ask
2023-01-04 05:06:02
but for images on the web, 🤷‍♂️
Demiurge
2023-01-04 05:06:39
I mean for HDR images displayed on a good monitor
2023-01-04 05:07:00
also HDR on the web is practically non existent right now but eh
w
2023-01-04 05:07:11
Higher bit depth is necessary for hdr
2023-01-04 05:07:27
because of how it has been defined
2023-01-04 05:11:01
can't wait to scroll down a discord chat and get flashbanged
_wb_
w because of how it has been defined
2023-01-04 05:18:43
I don't think there is a way to define hdr without higher bit depth. Transfer curves can do a lot but ultimately if you want more dynamic range, then you also need more bits.
Demiurge
w can't wait to scroll down a discord chat and get flashbanged
2023-01-04 05:26:14
lol
Demez
2023-01-04 05:34:11
shouldn't it possible to detect if the jxl is 10 bit, along with resolution, and save it as a png if webp can't support the image?
VcSaJen
2023-01-04 06:27:13
Is sRGB (0, 0, 0) meant to be absolute blackness? Or it's meant to be slightly illuminated?
_wb_
2023-01-04 07:19:26
It's supposed to be absolute black
Traneptora
VcSaJen Is sRGB (0, 0, 0) meant to be absolute blackness? Or it's meant to be slightly illuminated?
2023-01-04 09:56:42
SDR content like SRGB has a black level and a white level
2023-01-04 09:56:51
and a constrast ratio (typically 1:1000)
2023-01-04 09:57:08
which is the absolute light level of black to the absolute light level of white
2023-01-04 09:57:14
true black is only for HDR, not for SDR
_wb_
2023-01-05 03:24:52
In the real world, true black cannot be produced - especially in a not perfectly dark room...
zamfofex
2023-01-05 07:23:57
Would it be possible for the JPEG XL images on jpegxl.info/art to be served as `image/jxl` rather than `application/octet-stream`?
_wb_
2023-01-05 07:52:39
I don't think so — it's hosted by github pages, which apparently does not know image/jxl yet
2023-01-05 07:53:06
Maybe we can open an issue about it somewhere? I don't know where though
zamfofex
2023-01-05 08:54:06
Well, I recently made a repository for my extension, and also made a new release candidate available! <https://github.com/zamfofex/jxl-crx/releases/tag/v0.2-rc1> Please do try it out and let me know whether it works well, as well as your thoughts. Note that I still haven’t warted out those issues I was running into, but it can be done in a later version if it’s not too disruptive. Also note that I uploaded the build results to the release page, but if anyone wouldn’t mind trying to build it, I’d love to know if anyone runs into build issues so I can resolve them. Note that I can’t test it on Firefox (because I don’t have it installed) and because `OffscreenCanvas` is not available in IceCat yet (since it is based on Firefox 102 ESR), so I’d love to know whether it seems to be working fine. (I could resolve this later too.)
yoochan
w Higher bit depth is necessary for hdr
2023-01-05 09:37:09
challenge accepted ! I'm sure we could have hdr on a floating point format defined on 8 bits 😄 higher dynamic but lower resolution at the same time 😅
zamfofex
2023-01-05 10:40:49
They should both work the same. The manifest v3 one doesn’t currently work in Firefox (as far as I know), whereas the manifest v2 one cannot be uploaded the the Chrome Web Store.
2023-01-05 10:44:36
It’s the same for v0.1, where it will be mv2 for Firefox, but mv3 for Chrome.
yoochan
It’s the same for v0.1, where it will be mv2 for Firefox, but mv3 for Chrome.
2023-01-05 12:11:21
seems on the way : Firefox is adding support for Manifest Version 3 (MV3) extensions in Firefox 109, which releases to general availability January 17, 2023 https://extensionworkshop.com/documentation/publish/distribute-manifest-versions/ even if I still don't understand what is a manifest...
Deleted User
2023-01-06 04:03:57
Accepted jpeg-xl 0.7.0-9 (source) into unstable: https://www.mail-archive.com/debian-devel-changes@lists.debian.org/msg785751.html
zamfofex
2023-01-06 01:22:19
Did you end up trying the extension out? Did it seem to be working well?
yoochan
2023-01-06 01:28:04
if I understand well, the mv2 should be usable with firefox ?
2023-01-06 01:28:30
I really don't know how 😅
zamfofex
2023-01-06 01:29:45
Yes! In `about:debugging`, in the “This Firefox” tab (on the left), you should see an option “Load Temporary Add‐On…” that you can use to choose the ZIP file.
yoochan
2023-01-06 01:30:14
noice, I try
2023-01-06 01:32:17
amazing ! would it be hard to add it to the store ?
zamfofex
2023-01-06 01:33:06
It would not! Does it seem to be working well enough? I found that it didn’t work for some JEPG XL images (more so than the v0.1).
yoochan
2023-01-06 01:34:08
Didn't test extensively yet, i guess it must be reloaded this way each time I restart firefox ?
zamfofex
2023-01-06 01:34:22
Yes.
2023-01-06 01:35:26
If you prefer to install it more permanently, in `about:addons`, you can select “Install Add‐on From File…” in the cog menu.
2023-01-06 01:35:49
But it might not work because I didn’t add an extension id to it yet. 🤔
yoochan
2023-01-06 01:36:16
nonetheless ! nice piece of code, I'll try to use it a bit (which version of libjxl run behind ?)
zamfofex
2023-01-06 01:37:01
Commit `b94f43527b36d9fc5bcb367164c7a9379f166daf`
2023-01-06 02:47:13
In case anyone feels like they wouldn’t mind taking a look (in case there is something immediately obvious), this is how I use libjxl from the extension: <https://github.com/zamfofex/jxl-crx/blob/v0.2-rc1/worker.js#L44-L76> A lot of images are failing under either the first or second call to `JxlDecoderProcessInput` for some reason. The return values seem to always be (very nondescriptively) just 1 (`JXL_DEC_ERROR`). I suppose I could try making those calls from C or C++, but I don’t think it should make a difference, right?
Traneptora
In case anyone feels like they wouldn’t mind taking a look (in case there is something immediately obvious), this is how I use libjxl from the extension: <https://github.com/zamfofex/jxl-crx/blob/v0.2-rc1/worker.js#L44-L76> A lot of images are failing under either the first or second call to `JxlDecoderProcessInput` for some reason. The return values seem to always be (very nondescriptively) just 1 (`JXL_DEC_ERROR`). I suppose I could try making those calls from C or C++, but I don’t think it should make a difference, right?
2023-01-06 03:06:33
if you use a debug build it prints the error to STDERR
2023-01-06 03:06:41
which is nice for debugging
zamfofex
2023-01-06 03:08:18
Ah, I see! Is it sufficient to elide `-DCMAKE_BUILD_TYPE=Release` from the call to `cmake`?
Traneptora
2023-01-06 03:08:29
change "Release" to "Debug"
2023-01-06 03:08:39
as release is the default
In case anyone feels like they wouldn’t mind taking a look (in case there is something immediately obvious), this is how I use libjxl from the extension: <https://github.com/zamfofex/jxl-crx/blob/v0.2-rc1/worker.js#L44-L76> A lot of images are failing under either the first or second call to `JxlDecoderProcessInput` for some reason. The return values seem to always be (very nondescriptively) just 1 (`JXL_DEC_ERROR`). I suppose I could try making those calls from C or C++, but I don’t think it should make a difference, right?
2023-01-06 03:09:03
upon further inspection you're not calling things in the right order
zamfofex
2023-01-06 03:09:44
Oh? 🤔 Which things, specifically?
Traneptora
2023-01-06 03:10:15
you call JxlDecoderSetInput first, then you call JxlDecoderProcessInput, and then you call JxlDecoderReleaseInput
2023-01-06 03:10:40
JxlDecoderSetInput passes a buffer, JxlDecoderProcessInput returns a status flag
2023-01-06 03:11:01
and JxlDecoderReleaseInput returns the number of bytes that it **didn't** consume from the buffer
2023-01-06 03:11:10
i.e. the number of bytes you passed it that must be fed again
2023-01-06 03:11:44
and you do this in a loop
zamfofex
2023-01-06 03:13:07
I see! 🤔 But I didn’t see anything that actually needed to do that at all. In fact, the source of the previous Wasm binary didn’t, for example. It was taken from Squoosh: <https://github.com/GoogleChromeLabs/squoosh/blob/dev/codecs/jxl/dec/jxl_dec.cpp>
Traneptora
2023-01-06 03:14:24
strictly speaking JxlDecoderReleaseInput is optional, but it is required if you want to call JxlDecoderSetInput again
zamfofex
2023-01-06 03:15:58
In my case, the whole input image is passed in at once, so I shouldn’t need to make multiple calls to `JxlDecoderSetInput`, right? (I even call `JxlDecoderCloseInput`.)
Traneptora
2023-01-06 03:16:10
that should be correct. however, you also do this: `Module._JxlDecoderSubscribeEvents(decoder, 0x1000)`
2023-01-06 03:16:17
`if (Module._JxlDecoderProcessInput(decoder) !== 5)`
2023-01-06 03:16:39
You aren't subscribed to events `0b101`
2023-01-06 03:17:19
in particular, it's probably *never* going to equal 5
2023-01-06 03:17:25
because 5 isn't a flag
zamfofex
2023-01-06 03:18:10
It says on the documentation that only events after `JXL_DEC_BASIC_INFO` in the enum need to be subscribed to, but `JXL_DEC_NEED_IMAGE_OUT_BUFFER` (5) comes before it. Note that this does work just fine for some JPEGL XL images, just not for some others (maybe most).
Traneptora
2023-01-06 03:19:25
it's very possible that BASIC_INFO event fires before NEED_IMAGE_OUT_BUFFER
2023-01-06 03:19:33
if the JXL image is small enough
2023-01-06 03:20:10
in fact it frequently *will* fire first, because the image out buffer size depends on the basic info, usually
2023-01-06 03:20:19
maybe always
zamfofex
2023-01-06 03:20:58
I actually found that the very small images in jpegxl.info/art (except for one of them) all work fine, but other larger images don’t seem to.
Traneptora
2023-01-06 03:21:50
either way if you use a debug build you'll be able to see exactly what libjxl doesn't like about what you're doing
zamfofex
2023-01-06 03:22:20
Thank you for your help, by the way! I really appreciate it.
2023-01-06 04:11:27
Well, it seems that (as a surprise to probably no‐one) I am actually stupid. Turns out everything was working as expected, it’s just that support for `<picture>` was broken, so it was actually trying to load the fallback images into libjxl. Since I did most of my tests with `<picture>`, it’s no wonder they’d all fail! However, the failure with the image in jpegxl.info/art was legitimate, but I’m assuming it’s some change in the defaults of limits of the library, because the error I get is “Too many pixels covered with splines”, which seems like an explicit limit set to avoid performance exploits rather than an actual problem with the image.
Demiurge
2023-01-06 05:46:33
So does <picture> work now?
zamfofex
2023-01-06 06:12:08
Yes! I was just updating Firefox on my other computer to test things out on it, and I should be able to push my changes soon, and eventually upload it to the Chrome and Firefox extension repositories! I think everything’s working as expected (and wanted) by now, except for CSS and SVG `<image>`.
veluca
Well, it seems that (as a surprise to probably no‐one) I am actually stupid. Turns out everything was working as expected, it’s just that support for `<picture>` was broken, so it was actually trying to load the fallback images into libjxl. Since I did most of my tests with `<picture>`, it’s no wonder they’d all fail! However, the failure with the image in jpegxl.info/art was legitimate, but I’m assuming it’s some change in the defaults of limits of the library, because the error I get is “Too many pixels covered with splines”, which seems like an explicit limit set to avoid performance exploits rather than an actual problem with the image.
2023-01-06 07:10:48
yeah that's correct for some of the jxlart images
FuriousFields
2023-01-07 01:51:50
<@171381182640947200> the extension is pulling APNG (breaking animation) & PNG and blobbing them to.
zamfofex
FuriousFields <@171381182640947200> the extension is pulling APNG (breaking animation) & PNG and blobbing them to.
2023-01-07 04:48:34
What do you mean by that? It shouldn’t even be able to do anything to PNGs at all, and specially not converting them to blobs.
2023-01-07 04:49:48
I can see how it might be able to affect PNG `<img>` elements, but not how it would be able to make them into `blob:` URLs.
FuriousFields
2023-01-07 06:05:01
Retested must of been a fluke.
2023-01-07 06:07:14
Sorry for the ping. <:NotLikeThis:805132742819053610>
uis
2023-01-07 12:56:36
https://github.com/SimpleMobileTools/Simple-Gallery/issues/2669
joppuyo
afed
2023-01-07 03:30:01
I think this could be fixed by looking at the currentSrc property (it's a read-only property) of the <img> -tag and then doing a search and replace in the srcset from the currentSrc URI to the blob uri. so that at 2 DPR ``` <img src="something.jxl" src="somethingelse.jxl 2x, thirdimage.jxl 2x" alt=""> ``` becomes ``` <img src="something.jxl" src="blob:https://jpegxl.info/0b38d852-354e-47e4-8322-935408afcdb8 2x, thirdimage.jxl 3x" alt=""> ```
Deleted User
2023-01-08 07:13:09
https://www.phoronix.com/news/OpenMandriva-ROME-23.01 "there is JPEG-XL image format support added,"
pandakekok9
2023-01-08 07:27:27
2023-01-08 07:27:45
Basilisk browser now has JPEG-XL support too
BlueSwordM
https://www.phoronix.com/news/OpenMandriva-ROME-23.01 "there is JPEG-XL image format support added,"
2023-01-08 07:46:45
*Updated.
2023-01-08 07:46:54
Openmandriva had JXL support ever since 4.3.
sklwmp
2023-01-09 01:24:24
Reading the PKGBUILD for the ffmpeg-jxl AUR package is a little disheartening... (https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=ffmpeg-jxl) > Maintainer: raine > > Q: Why does this package exist? > A: Unfortunately, current ffmpeg package maintainer Maxime Gauduin is refusing to enable JXL support that is available in ffmpeg, and all discussions are currently being shut down with replies disabled, without giving a chance to respond to his opinionated decisions. > A few examples of issues that got shut down: > - https://bugs.archlinux.org/task/75830 > - https://bugs.archlinux.org/task/75982 > - https://bugs.archlinux.org/task/76106 > - https://bugs.archlinux.org/task/76277 > in some cases with some cheerleading from another package maintainer: > - https://bugs.archlinux.org/task/76643 > > The given reasoning is > - libjxl is in [community], I'm not bringing and maintaining that package and all its dependencies in [extra] > - depending on libjxl brings 47.6MB of additional dependencies > - there's ffmpeg-full, aka ffmpeg-bloatfest in AUR
Traneptora
2023-01-09 05:01:20
it took arch linux several years for HTTP/2 support in cURL
2023-01-09 05:01:29
they just decided users didn't need it
yoochan
2023-01-11 10:46:52
I was wondering what was the current position of cloudinary ? will they use jpeg-xl internally, despite the rebutal from Chromium ? will they push for an optimized jxl.js or an extension as I saw here ? or on the fly conversion to jpeg ?
_wb_
2023-01-11 11:02:25
We use it internally. Externally, using polyfills is not really an option for most of our use cases, since we only control image delivery, not markup generation. Our customers pay us to handle their images so they don't have to worry about them, so asking them to implement stuff on their end is generally not something we do.
BlueSwordM
_wb_ We use it internally. Externally, using polyfills is not really an option for most of our use cases, since we only control image delivery, not markup generation. Our customers pay us to handle their images so they don't have to worry about them, so asking them to implement stuff on their end is generally not something we do.
2023-01-11 04:07:57
If a browser gets full default JXL support, will you activate browser JXL support?
Traneptora
2023-01-11 09:38:18
as far as I'm aware they send JXL provided that the browser sends image/jxl in the accept header
2023-01-11 09:38:32
which will happen sorta by default once browsers start supporting jxl images
Demiurge
Traneptora as far as I'm aware they send JXL provided that the browser sends image/jxl in the accept header
2023-01-12 05:12:41
That sounds like it would help advertisers with browser fingerprinting
daniilmaks
Demiurge That sounds like it would help advertisers with browser fingerprinting
2023-01-12 10:32:56
wym
2023-01-12 10:33:26
It very much sounds like the opposite
sklwmp
2023-01-12 10:39:34
It means that browsers that send the Accept: image/jxl header would probably be more unique because not many browsers send that header.
2023-01-12 10:40:06
At least, until something like Chrome supports JXL and a few update cycles later 70% of the web supports it.
2023-01-12 10:49:37
https://github.com/WaterfoxCo/Waterfox/pull/2936#issuecomment-1379087536 Waterfox has finally actually implemented JPEG XL by default. (PR for disabling Nightly check got merged)
2023-01-12 10:50:23
For animation, transparency, progressive decoding, and color profiles, there is still some discussion going on: https://github.com/WaterfoxCo/Waterfox/pull/2938
username
2023-01-12 10:52:38
it seems like MrAlex94 might not be aware that those changes are not actually in firefox
2023-01-12 10:53:00
daniilmaks
sklwmp It means that browsers that send the Accept: image/jxl header would probably be more unique because not many browsers send that header.
2023-01-12 10:55:17
*but if it's supported by default it's not really narrowing down anything other than users simply having up to date browsers?*
sklwmp
2023-01-12 10:56:27
Honestly, it's probably not much worse than just reading off the User-Agent, so while in *theory* it does "help fingerprinting", you're right, it just identifies the user as having an up-to-date browser, which you already know by the User Agent.
daniilmaks
2023-01-12 10:56:46
exactly
sklwmp
2023-01-12 10:56:49
Unless you're spoofing that for some reason, then it might affect things.
daniilmaks
2023-01-12 10:57:31
If you have jxl by default and you *disable* jxl, that's a huge fingerprint
Traneptora
2023-01-12 10:57:37
ye I don't see how it provides more info than user-agent
zamfofex
sklwmp https://github.com/WaterfoxCo/Waterfox/pull/2936#issuecomment-1379087536 Waterfox has finally actually implemented JPEG XL by default. (PR for disabling Nightly check got merged)
2023-01-12 11:15:25
Is this applicable to Waterfox Classic too?
username
Is this applicable to Waterfox Classic too?
2023-01-12 11:16:40
palemoon's support for jxl could be used as a base to add support to waterfox classic
_wb_
2023-01-12 12:15:33
At the moment it's opt-in, customers who want to already send jxls to (the small set of) user agents that can decode it, they can, but it's not enabled by default since with such small amount of browsers supporting it, customers likely don't want to pay for additional encodes and storage just for 0.something percent of viewers... Once a big browser enables by default, we will likely reconsider that — though atm even avif isn't enabled by default yet in f_auto iirc.
Demiurge
sklwmp At least, until something like Chrome supports JXL and a few update cycles later 70% of the web supports it.
2023-01-12 03:06:10
To be fair, pretty much EVERYTHING about "the web" helps advertisers with fingerprinting. Because "the web" was never designed to have... any kind of design at all. It's just an ugly, throbbing tumor at this point, with mysterious "leadership" team at Google that is unknown and unaccountable to anyone else, that decides what "the web" is or isn't these days.
2023-01-12 03:09:36
It didn't start off that way but that's what the tumor grew to become.
2023-01-12 03:12:07
The modern web is an atrocity and should have been replaced a long time ago with something that isn't designed to run scripts on your PC without user approval or interaction by default.
2023-01-12 03:15:09
But it's probably no coincidence that the modern web is designed to give advertisers and other malevolents everything that they want, and at the same time Google has near-total-control over the design of the modern web.
2023-01-12 03:15:31
I would imagine that's no coincidence at all.
_wb_
2023-01-13 06:17:33
rbyers@chromium.org updated this feature: JPEG XL decoding support (image/jxl) in blink Components: Blink>Image Implementation status: Proposed Estimated milestones: No milestones specified Changes: feature_notes: old: new: Had an experimental implementation in chromium behind a flag, but that was removed. https://groups.google.com/a/chromium.org/g/blink-dev/c/WjCKcBw219k/m/xX-NnWtTBQAJ impl_status_chrome: old: In developer trial (Behind a flag) new: Proposed
2023-01-13 06:20:50
So it went from "In developer trial (behind a flag)" back to "Proposed". Does that mean anything? Is this good news (it's still "proposed", not "deprecated" or something), bad news, or neutral/no news?
zamfofex
2023-01-13 06:53:38
I’d imagine it’s just reflecting the fact it’s not available behing a flag anymore.
_wb_
2023-01-13 06:58:53
Yes, clearly that status needed to be updated. Just not sure if what kind of choice they had in what to change it to, and if it means anything.
novomesk
2023-01-16 04:36:44
This is application from KDE Maui Project called INDEX. Running on Android. With patched Qt (to know new mimetypes) and Qt plugins for AVIF and JPEG XL it is my first APK for Android.
afed
2023-01-16 05:57:58
<:Hypers:808826266060193874> https://github.com/WaterfoxCo/Waterfox/pull/2938
Demez
2023-01-16 06:13:13
finally another browser with jxl
2023-01-16 06:22:57
I first saw this through an announcement on the av1 discord lol
2023-01-16 06:45:08
there is one place I out found out very recently that has waterfox jxl crash though https://kampidh.com/jxltests/
_wb_
2023-01-16 08:42:42
That's a nice test page, hadn't seen it before.
2023-01-16 08:44:31
So we now have Pale Moon, Basilisk and Waterfox supporting jxl by default. Feels like momentum is building, but in terms of market share that's still of course only 0.something percent atm...
novomesk This is application from KDE Maui Project called INDEX. Running on Android. With patched Qt (to know new mimetypes) and Qt plugins for AVIF and JPEG XL it is my first APK for Android.
2023-01-16 08:45:20
Cool! Where can we find it?
Kampidh
Demez there is one place I out found out very recently that has waterfox jxl crash though https://kampidh.com/jxltests/
2023-01-16 11:33:33
oh wait that's the old domain, only used as a backup and testing around (and often down, haha)~ the public one goes right here: https://saklistudio.com/jxltests/
Demez
2023-01-16 11:34:34
oh lol
2023-01-16 11:36:55
huh, has extra buttons on the backup one, and kampidh.com points to that one being a mirror site
username
2023-01-16 11:38:55
yeah I assumed that "kampidh.com" was the main site and that "saklistudio.com" was the backup site because of that
Kampidh
2023-01-16 11:39:16
yup
username
2023-01-16 11:40:10
"kampidh.com" is the one I have been sending around to people since I thought it was the main one
2023-01-16 11:41:25
Kampidh
2023-01-16 11:41:50
it was the main one, but since it's self hosted and the connection wasn't so great here, I moved it to a remote host~
username
2023-01-16 11:42:43
I haven't migrate all of them xD
username
Demez there is one place I out found out very recently that has waterfox jxl crash though https://kampidh.com/jxltests/
2023-01-16 11:49:37
I would like to note that the crash that happens on this page might be fixed with a one line code change however I have not had the abllity to get any custom compiled builds of waterfox to test with
2023-01-16 11:50:24
there may be a more proper fix however It is out of the realm of what I am able to do
Demiurge
2023-01-17 04:39:34
What about librewolf? does that support jxl?
username
2023-01-17 04:53:21
I might I think I remember seeing something related to that however if it does it's only the very basic support from default firefox
novomesk
2023-01-17 09:14:39
I found original APK here: https://download.kde.org/Attic/maui/index/2.1.2/ apkanalyzer indicated: <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="28" /> Binaries in the APK used armeabi-v7a and Qt 5.15.2 so I tried to build plug-ins using the same. It is not enough to add libplugins_imageformats_qavif_armeabi-v7a.so and libplugins_imageformats_qjpegxl_armeabi-v7a.so . Images will not show without proper mime type detection. It was necessary to add XML from shared-mime-info 2.2 and rebuild libQt5Core_armeabi-v7a.so I used apktool to extract and build the APK again and apksigner to sign APK at the end. I am new in Android development, but API level 28 indicate Android 9 (21 is Android 5.0). ARMv7-A is 32bit, so I believe it should work on old devices. I have Android 11. The The Pix image gallery from MauiKit can be extended in the same way, I believe.
_wb_
2023-01-17 01:48:36
novomesk
2023-01-17 04:52:13
The Index file manager http://188.121.162.14/jxl/index-2.1.2-avif-jxl.apk Pix image gallery http://188.121.162.14/jxl/pix-2.1.2-avif-jxl.apk
improver
2023-01-17 05:14:52
both working well for me, sony xperia 5 ii, android 12
_wb_
2023-01-17 10:02:19
> Hey Jon, Your email was indeed received, thank you for the feedback!
2023-01-17 10:04:24
so it's not going to /dev/null, that's good to know
veluca
2023-01-17 11:03:23
I saw that reply and basically facepalmed 😛
username
2023-01-18 02:21:00
Waterfox new supports JPEG-XL! (minus HDR images) https://www.waterfox.net/docs/releases/G5.1.2
2023-01-18 02:25:21
it hasn't been pushed to the update system yet but can be downloaded from here https://www.waterfox.net/download
Demez there is one place I out found out very recently that has waterfox jxl crash though https://kampidh.com/jxltests/
2023-01-18 05:25:29
I have found out the image crashing waterfox on that page is this https://saklistudio.com/jxltests/beach-cmyk.jxl
Demez
2023-01-18 05:33:34
yeah it insta crashes on load
username
2023-01-18 05:37:01
(wanna make it clear for anyone reading that the whole browser doesn't crash just the tab that tries loading the image)
Kampidh
2023-01-18 05:40:04
ah, should I remove that cmyk test?
Demez
2023-01-18 05:40:11
no
Kampidh
2023-01-18 05:41:36
hmm, maybe 5 channel triggers it? it's a CMYKA image (although I didn't use any transparencies)
Demez
2023-01-18 05:42:00
it just exposes a bug that should be fixed, i need to get waterfox building again and debug it
Kampidh
2023-01-18 05:43:27
gotcha
Demez
2023-01-18 05:46:28
though it really doesn't want to build anymore for some reason lol
username
2023-01-18 05:47:44
strangely the crash doesn't happen with this custom build of firefox which includes all the jxl patches https://dist.grass.moe/firefox-108.0.en-US.win64.installer.exe which leads me to believe that the fix for the crash is either a one line fix or newer versions of firefox fix something internally that was causing the crash
Kampidh
2023-01-18 05:52:37
or maybe something to do with the icc?
2023-01-18 05:57:43
eg. before I was worked with krita's cmyk jxl support, it often triggers segfault when the output is expecting RGB but being fed by CMYK icc instead. had to properly detect whether it's really a CMYK jxl file or not.
Demiurge
2023-01-18 06:03:31
What's the difference between waterfox and librewolf?
username
Demiurge What's the difference between waterfox and librewolf?
2023-01-18 06:19:13
librewolf seems like it is just firefox with increased privacy and changed default settings along with being bundled with ublock origin while waterfox is similar but has a little bit less of a focus on privacy compared to librewolf but has better privacy compared to firefox and waterfox is bundled by default with the lepton theme (previously called firefox ui fix) and also some extra features like an unload tab button, restart button and optional status bar along with options to change the tab bar and bookmark bar positions also librewolf is based on the current lastest version of firefox while waterfox is based on the current esr version
2023-01-18 06:19:41
basically waterfox is focused more on features while librewolf is more focused on privacy
2023-01-18 06:19:53
atleast that's what it looks like to me
Demiurge
2023-01-18 06:28:01
what's lepton/ui fix
username
2023-01-18 06:28:19
https://github.com/black7375/Firefox-UI-Fix/
Demiurge
2023-01-18 06:29:34
unload tab is increadibly useful... mozilla is so incredibly incompetent and full of fail for not doing basic things like that to make things better and simpler, for ignoring basic fix patches for JXL for over a year, and for shoving Pocket(TM) down our throats...
username
2023-01-18 06:30:36
oh another feature waterfox has is private tabs so you can have normal tabs and private tabs in the same window
Demiurge
2023-01-18 06:30:52
Also for ousting the founder and creator of Javascript, that was a pretty bad move too...
2023-01-18 06:34:59
And firing all of the developers working on the next gen browser engine... Mozilla is basically if Fail was a company
2023-01-18 06:35:49
They don't care about building a browser at all.
2023-01-18 06:37:04
It only exists to collect donations and privacy-invading sponsorships and liquidate their reputation.
username
2023-01-18 06:37:24
they keep doing random things that don't make sense like colorway for example
Demiurge
2023-01-18 06:37:39
Completely sell what remains of the reputation they have built over the years that they used to earn
2023-01-18 06:38:27
Whatever makes them money. And then the crazy corporate leadership either pockets it all or blows it all on whatever their latest pet project or political activism is.
2023-01-18 06:38:47
Instead of paying developers
2023-01-18 06:39:36
Embarrassing sellouts.
2023-01-18 06:41:36
I doubt any of the people in charge now even know how to code.
novomesk
2023-01-18 07:43:22
Can you make a similar log with original https://download.kde.org/Attic/maui/index/2.1.2/index-2.1.2-signed-stable.apk ? Then we can report it to the developer. One problem I see is: dlopen failed: cannot locate symbol "__register_atfork" referenced by "libpoppler_armeabi-v7a.so" Probably that library (which is in INDEX and not in PIX app) needs API level 23, Android 6.0
pandakekok9
username Waterfox new supports JPEG-XL! (minus HDR images) https://www.waterfox.net/docs/releases/G5.1.2
2023-01-18 04:05:25
Is it just me or is their release notes for G5.1.2 404'ing
BlueSwordM
pandakekok9 Is it just me or is their release notes for G5.1.2 404'ing
2023-01-18 04:25:06
No, worse: it's temporarily 404'ing <:monkas:853502640967909376>
joppuyo
2023-01-18 05:55:42
Hashtag just jamstack things
pshufb
Demiurge Also for ousting the founder and creator of Javascript, that was a pretty bad move too...
2023-01-19 12:07:47
creating javascript seems like fair grounds to fire someone
Demiurge
pshufb creating javascript seems like fair grounds to fire someone
2023-01-19 12:40:05
Haha, yes, but he originally was going to create a different language but the higher ups told him "Hurr durr make it object oriented, our shareholders want to ride the Java hype train!"
zamfofex
2023-01-19 02:58:47
We could have had a dialect of Lisp be a popular language. But instead we have JavaScript.
yurume
2023-01-19 03:09:41
at least it is a very good outcome for a week's work, its core design didn't change for 2+ decades
Demiurge
We could have had a dialect of Lisp be a popular language. But instead we have JavaScript.
2023-01-19 03:48:38
Yeah...
2023-01-19 03:59:56
That's why firing him made no sense at all. Just a really stupid stunt and the beginning of a trend of firing developers and driving mozilla into the ground by wasting all their money on whatever ego-driven pet projects the CEO feels like instead of paying developers to work on Firefox.
2023-01-19 04:00:43
mozilla used to hire a lot of software developers.
2023-01-19 04:01:16
All that is a waste of money now apparently, in the eyes of the current leadership
yurume at least it is a very good outcome for a week's work, its core design didn't change for 2+ decades
2023-01-19 04:01:50
That's why it made no sense to fire him, I mean.
2023-01-19 04:03:54
Actually I don't think he was actually fired, but some really loud and ambitious power-thirsty idiots in high places were demanding that he step down and he did I guess.
yurume
2023-01-19 04:08:20
that increasingly sounds like off-topic though
lonjil
2023-01-20 02:50:09
are we just gonna gloss over his homophobia and how he then went on to create a cryptocurrency scam? I'm not so sure he would've made a good CEO.
2023-01-20 02:51:19
> Whatever makes them money. And then the crazy corporate leadership either pockets it all or blows it all on whatever their latest pet project or political activism is. > Instead of paying developers the political activism is done by the foundation, which has wholly separate funding from the corporation that develops the browser.
Traneptora
We could have had a dialect of Lisp be a popular language. But instead we have JavaScript.
2023-01-20 02:51:44
why would you want lisp
2023-01-20 02:51:51
lisp is just `)))))))))))))))))`
2023-01-20 02:52:04
compare that to JS, which is just `}); }); }); }); }); }); }); }); `
2023-01-20 02:52:08
much better!
VcSaJen
2023-01-22 08:04:38
Always sad to see consequences of Chrome's decision out in the wild.
BlueSwordM Yes, that would be great. Also, could you make a similar image viewer for AVIF using the latest stable libyuv, libavif and libdav1d?
2023-01-23 01:07:54
Overall VLC-like image viewer/gallery for android that doesn't rely on OS decoders would be nice: with jpeg2000, tga, tiff, etc. support. There's this: https://play.google.com/store/apps/details?id=com.sharpened.androidfileviewer , but it doesn't support jpeg xl and is not freeware.
afed
2023-01-25 06:20:31
https://forum.palemoon.org/viewtopic.php?f=1&t=29363
Demiurge
2023-01-26 06:42:00
So Bankowski (on2, Google) seems to be speaking a lot for other people, when he announced the decision of dropping JPEG XL. "WE decided... WE heard from OUR PARTNERS..." But he seems to only be speaking for himself and is simply using this weasely language to avoid taking responsibility for the decision and make it sound like he's acting on behalf of nebulous "others" without specifying who any of them are. Later on other Google members say "until leadership decides..." and Bankowski is in a senior-leadership position on the Chrome codec team. So just judging by appearances, this looks like a unilateral decision by Mr. Bankowski.
2023-01-26 06:48:23
Everyone else seems beholden to his whim and apparently he is our God who through his almighty wisdom alone determines what media formats will be successful and when to delete a huge chunk of other peoples' hard work from the Chromium source tree. He also led the technical engineering teams that brought the world WebM and AVIF.
2023-01-26 06:49:24
Previously known as MKV and MOV
_wb_
2023-01-26 06:50:00
I doubt it was a unilateral decision by a single person, there are likely more high-ranking people in the Chrome codec team who also wanted jxl out in order to better promote avif/aom.
Demiurge
2023-01-26 06:50:42
(He also helped lead the VP8/9 and AV1 codec development teams as well.)
_wb_ I doubt it was a unilateral decision by a single person, there are likely more high-ranking people in the Chrome codec team who also wanted jxl out in order to better promote avif/aom.
2023-01-26 06:52:09
Maybe? But since all he says is weasel language like "We" and "Our Partners" and he's the only one with a Senior Leadership role saying anything, I have to assume he's only speaking for himself...
_wb_
2023-01-26 06:52:33
On2 was acquired by Google and many of the ex-On2 ended up in the Chrome codec team, working on vp8, vp9, av1.
2023-01-26 06:53:34
https://en.wikipedia.org/wiki/On2_Technologies
2023-01-26 06:54:27
2023-01-26 06:54:53
Matt Frost is also a high-ranking Googler now and chair of AOM
2023-01-26 06:55:24
Yaowu Xu also has a high rank in Chrome
Demiurge
2023-01-26 06:56:18
I never imagined that the On2 codec team would see JXL as a "threat" or as competition...
2023-01-26 06:57:51
Pretty sure Jim/James/whatever he goes by these days is still Yaowu's supervisor.
2023-01-26 06:58:44
And so he takes responsibility for whatever his team does.
2023-01-26 06:58:57
Or at least supposedly
_wb_
2023-01-26 06:59:09
I think they consider AOM to be a strategically very important alliance (and it is, and in principle a noble one too: getting hw and sw companies aligned to implement royalty-free codecs instead of the patent-encumbered stuff coming from MPEG is quite nice).
2023-01-26 06:59:50
JXL being successful would in their minds be a blow to the AOM.
2023-01-26 07:01:11
Nevermind that JXL is also royalty-free, it is coming from JPEG which in their minds is the same thing as MPEG: they're in the same subcommittee of ISO after all...
Demiurge
2023-01-26 07:03:39
Maybe he was hoping that AVIF will be in digital cameras and the default picture taking format on Android but if JXL became popular with its ability to losslessly crush existing JPEG those dreams would be squashed...
2023-01-26 07:04:07
I dunno, it's silly to speculate because it's such a ridiculous way of thinking...
2023-01-26 07:04:53
They were never competitors... Everybody wins either way with either format.
2023-01-26 07:07:24
You have to sign a contract with Google to contribute to libjxl, libjxl is a fork of the Google PIK codebase, it's basically a Google product more than it is a JPEG product...
_wb_
2023-01-26 07:13:31
I do think that if jxl gets traction, it will be harder for avif to get traction (except for the animation / gif replacement use case), and in a way that would reduce the power/influence of the AOM over web codec standards.
2023-01-26 07:15:59
I don't think this was ever about Google's bottom line or anything like that. I think it's more about the strategic goal of getting codec standards creation out of the hands of ISO and into the hands of AOM.
2023-01-26 07:18:43
Both have problems imo: ISO is an arcane bureaucracy, has a paywall policy, and stays neutral on patent policies (allowing trolls to put patent-encumbered stuff in standards). However ISO does imo have the benefit at least in theory that anyone can participate and the process is quite open and transparent (although also quite arcane and slow).
2023-01-26 07:21:32
AOM on the other hand is an industry alliance, i.e. only (big) companies are represented and the standardization process is not necessarily very open or transparent (it's basically a matter of negotiations between businesses when important scope/design decisions get made).
yurume
2023-01-26 07:24:35
I think a hybrid solution is doable: AOM steers the standard development, ISO verifies and approves the standard. a good example is Unicode which is an industry standard but also synchronized to ISO/IEC 10646.
_wb_
2023-01-26 07:25:44
Yeah but JPEG doesn't want to be just a rubberstamping committee. They did that with JPEG XR and they still regret that.
yurume
2023-01-26 07:31:15
what Unicode and ISO/IEC 10646 do is not just a rubberstamping AFAIK though
2023-01-26 07:33:17
national bodies are only in ISO and not in Unicode, and yet will give feedback and opinions to Unicode (to make the eventual approval smooth)
_wb_
2023-01-26 07:34:06
AVIF was submitted as a proposal for JXL, and I think they were looking for getting it rubberstamped. JPEG made it clear that they wouldn't do that, that they would open up the spec for discussion and likely change things, and then the AVIF proposal got retracted, likely because hw design was already underway and they didn't want to endanger that.
yurume
2023-01-26 07:34:32
sure, at this point Unicode can probably live by its own without an ISO approval, but there's no reason for Unicode to do that
_wb_ AVIF was submitted as a proposal for JXL, and I think they were looking for getting it rubberstamped. JPEG made it clear that they wouldn't do that, that they would open up the spec for discussion and likely change things, and then the AVIF proposal got retracted, likely because hw design was already underway and they didn't want to endanger that.
2023-01-26 07:34:57
yeah that sounds like an AVIF's fault to me
2023-01-26 07:35:28
maybe Unicode was successful at that because Unicode is an incremental, "ever-changing" standard
2023-01-26 07:35:59
even after the basic design and principles are set, national bodies can reasonably pitch their opinions
2023-01-26 07:38:06
yet another example coming to my mind is PNG, which is also an industry standard cum an ISO standard, to my knowledge with almost no change
Demiurge
2023-01-26 11:38:44
I don't want ISO or AOM to be in charge of anything.
2023-01-26 11:39:50
I don't want gatekeepers and rubberstampers. I just want whatever has merit to succeed without politics to interfere with that.
2023-01-26 11:40:47
So many people were literally just waiting for JXL support to be enabled by default. Why should everyone have to bow down to the whims of someone's ego?
2023-01-26 11:41:31
And throw away all of the hard work and man hours prepared in anticipation
2023-01-26 11:42:53
Deleting the implementation from the source tree was very senseless and spiteful. That code had undergone a lot of patches and polish to get to the state it was in before it was just deleted on an arbitrary whim.
Deleted User
2023-01-26 11:49:37
Doesn't JPEG have any power to help with adaptation, e.g. some media campaign? (e.g. in collaboration with Adobe) ... also for the Chrome discussion - enforcing own first WebP, now AVIF for the entire Internet ...
_wb_
Demiurge Deleting the implementation from the source tree was very senseless and spiteful. That code had undergone a lot of patches and polish to get to the state it was in before it was just deleted on an arbitrary whim.
2023-01-26 12:03:49
reverting the commit that deleted it all is easy enough 🙂
Doesn't JPEG have any power to help with adaptation, e.g. some media campaign? (e.g. in collaboration with Adobe) ... also for the Chrome discussion - enforcing own first WebP, now AVIF for the entire Internet ...
2023-01-26 01:04:39
JPEG itself is not going to do campaigning for adoption afaiu, they can put some info on jpeg.org but that's about all they can/want to do. But perhaps we should get some of the companies who did show interest in jxl (Adobe, Intel, Meta, etc) and people from foss projects like Gimp/Krita/Darktable/ImageMagick/ffmpeg together to brainstorm on a strategy to promote jxl adoption.
Deleted User
2023-01-26 01:36:17
Indeed many players could help with such campaign, however, JPEG seems the best as its main face. JPEG2000 was their last widely adapted codec from 2 decades ago, and JXL brings a real hope - but some organized action seems necessary. Somehow MPEG was more successful with HEIC adaptation ...
joppuyo
2023-01-26 01:41:45
I'm not sure how well an awareness campaign is going to work if the google decision is more of a political one than technical one. I think most consequential way to improve adoption would be to have jxl support in other browsers such as firefox and safari (especially on mobile)
2023-01-26 01:42:34
if adoption is high enough and chrome is the only browser without support it could be enough to force google's hand so they would have to revisit their decision
2023-01-26 01:45:58
fun fact, yesterday was the fist time I saw an avif image in the wild, it looks like bilibili is using the format in their video thumbnails. at least to my knowledge the avif uptake has been really slow because of the issues with the current encoding speed
Deleted User
2023-01-26 01:46:18
Political decisions are often changed with media pressure - such campaign should also stimulate discussion about that decision, revisiting it in more open, objective way
joppuyo
2023-01-26 01:46:41
I have seen at least two articles by CDN companies saying they are not supporting AVIF yet due issues related to slow encoding speed
sklwmp
2023-01-26 01:49:07
If only a large program like Photoshop or Firefox would officially add JPEG XL support. That would probably be enough for most mainstream media to at least mention the whole Chromium JXL debacle.
username
2023-01-26 01:52:39
was also wondering about that
sklwmp
2023-01-26 01:53:26
Or have they already done so?
_wb_
2023-01-26 01:58:19
I think we can hope for official jxl support in Adobe products before the end of 2023. I am hoping Windows and MacOS will follow once Adobe adds support.
sklwmp
2023-01-26 02:01:32
Hopefully Adobe and OS support will help JPEG XL not become the "WebP" of image formats: technically superior but annoys everyone who uses them because of a lack of software support.
VcSaJen
2023-01-26 02:03:08
I think Intel&Co are already negotiating with other companies behind the closed doors, because they want JXL's HDR capabilities.
sklwmp
2023-01-26 02:05:48
Well, JPEG XL's main use is also for web delivery, but it is good as a general-purpose image format nonetheless.
username
2023-01-26 02:07:28
<@794205442175402004> any update on this or can you still not share details? (I know <@456226577798135808> was asking the same above but i'm not sure if you noticed the message link as the message you responded with was in response to the prospect of adobe supporting jxl)
novomesk
joppuyo fun fact, yesterday was the fist time I saw an avif image in the wild, it looks like bilibili is using the format in their video thumbnails. at least to my knowledge the avif uptake has been really slow because of the issues with the current encoding speed
2023-01-26 02:19:47
People on Twitter complain quite often that they downloaded an AVIF picture from a website and it doesn't work for them like JPG and PNG. There are still some people who don't know to open WebP. When people start to complain about JXL, that will be a signal it is used on web. People wish the websites use old formats only when their software doesn't support it yet (instead of demanding support from application vendors).
_wb_
username <@794205442175402004> any update on this or can you still not share details? (I know <@456226577798135808> was asking the same above but i'm not sure if you noticed the message link as the message you responded with was in response to the prospect of adobe supporting jxl)
2023-01-26 02:31:56
No updates yet at this time.
Demiurge
sklwmp Hopefully Adobe and OS support will help JPEG XL not become the "WebP" of image formats: technically superior but annoys everyone who uses them because of a lack of software support.
2023-01-26 02:36:23
webp was not even technically superior...
Demez
2023-01-26 07:51:53
well it is with lossless at least
username
2023-01-26 07:54:35
thing is it lacks support for higher resolutions and higher bit depths
Demez
2023-01-26 10:50:32
yeah that is an issue with it
Demiurge
2023-01-27 10:11:58
A myopic format that was forced down everyone's throats
BillyL’Bob✨
2023-01-27 10:57:11
we should get blender to add jxl
2023-01-27 10:59:53
blender already adopted jpeg 2000 for output
username
2023-01-27 11:03:16
if someone put together a well made pull request it's likely it would be accepted
2023-01-27 11:03:27
or well hopefully it's likely to be accepted
2023-01-27 11:03:49
I haven't looked into blender's history with stuff like that
Demez
2023-01-27 11:12:23
🤔
190n
BillyL’Bob✨ blender already adopted jpeg 2000 for output
2023-01-27 11:12:33
not too surprised by that one, jpeg 2k is used extensively in digital cinema right?
Demez
2023-01-27 11:12:33
i've never looked into blender's source code before
Jim
2023-01-29 11:56:23
Has Firefox given the green light to JXL? 👀
sklwmp
2023-01-29 12:00:53
As far as I can tell, no change in their stance whatsoever.
Ktr4ks
2023-01-29 12:47:54
This fork of jpegview added jxl support some days ago
2023-01-29 12:47:55
https://github.com/sylikc/jpegview
Jim
sklwmp As far as I can tell, no change in their stance whatsoever.
2023-01-29 01:32:35
What does "worth prototyping" mean? https://github.com/mozilla/standards-positions/pull/523/files/a124bc20ac53dbfa60b5bef5ad5d6f7ac8b70904
_wb_
2023-01-29 01:42:40
Nothing since even that pull request is not getting merged. The recent approval means nothing, anyone can approve it (I just tried).
VcSaJen
2023-01-29 02:36:49
Seems like a permission issue, it's likely will be fixed
Demiurge
2023-01-29 11:08:59
When are they going to merge the damn patches that have been sitting ignored for years that fix basic bugs in the firefox JXL decoder?
username
2023-01-29 11:10:21
probably never I would assume they are just gonna remove jxl support altogether at some point
Demiurge
2023-01-29 11:11:28
Might as well if they "don't have enough manpower" to click the merge button on patches that are already written
2023-01-29 11:12:35
If they can't fix basic bugs
2023-01-29 11:13:15
This is shameful and embarrassing that it's been like this for years and the fix is already written and proposed and all they have to do is click "merge"
username
2023-01-29 11:18:27
mozilla seems like to me that they have pretty much barely any manpower especially in recent years so they have very little care for stuff like jxl since i'm pretty sure as far as they are concerned jxl doesn't matter unless chrome supports it
VcSaJen
2023-01-30 07:58:10
If it's indeed the issue of lacking staff and not some soft of management's decision. On some open-source projects there are a monetary bounty system, does firefox have anything like that?
w
2023-01-30 10:26:00
lacking staff in management
paperboyo
2023-01-31 12:04:29
Does this aesopian language basically mean “we will add support when Chrome does it, but go hate them we are nice and neutral”? https://github.com/mozilla/standards-positions/issues/522#issuecomment-1409539985
VcSaJen
2023-01-31 12:32:47
What does it mean for Nightly's image.jxl.enabled?
Pieter
2023-01-31 01:12:53
anyone posted the response here already? https://github.com/mozilla/standards-positions/issues/522
_wb_
2023-01-31 06:29:13
Sigh, basically they're saying: we'll support it when the others do, but avif is good enough.
yurume
2023-01-31 06:39:00
AFAIK there never was an entry for AVIF in that positions document, which seems like a real problem to me.
2023-01-31 06:39:38
in many senses AVIF was "fast-tracked" without a good enough justification
Demiurge
w lacking staff in management
2023-01-31 06:44:18
Yeah that's what their missing. They need to spend more money on management salaries for people who don't know how to code :)
2023-01-31 06:44:34
That's what Mozilla is missing
w
2023-01-31 06:46:14
the work's already done
2023-01-31 06:46:20
they just dont care
Deleted User
2023-01-31 06:47:12
AVIF was "fast-tracked" by AOM, HEIF by MPEG ... couln't JPEG try to do something for its "long-term" format once per few decades?
_wb_
2023-01-31 06:51:46
Organizations like MPEG or JPEG (or even AOM) don't have power by themselves — the only power they have is through the people and companies involved in them.
Demiurge
2023-01-31 06:53:31
> We acknowledge that JPEG-XL offers some potential advantages, both in terms of features and performance. Overall, we don't see JPEG-XL performing enough better than its closest competitors (like AVIF) to justify addition on that basis alone. Similarly, its feature advancements don't distinguish it above the collection of formats that are already included in the platform. ...Sounds like Chrome. "Yeah it's good, but fuck you. Oh and have you heard of this amazing format called AVIF? Let's all use that forever and never mind all the crippling limitations or the fact that it was fast tracked."
2023-01-31 06:54:15
Let's just use this inferior, fast tracked format with myopic design instead.
_wb_
2023-01-31 06:55:16
What's disappointing (but not unexpected) to me is that Mozilla is just repeating Chrome ('not sufficient incremental benefit over avif') instead of doing their own research or at least being open to research not presented by the avif team. I remember a time when Mozilla resisted webp based on their own research...
Demiurge
2023-01-31 06:56:33
So what changed since then? Mozilla instantly, reflexively greenlit AVIF right away, maybe because it actually does have very large and meaningful compression gain over webp?
2023-01-31 06:57:18
But it did seem totally automatic with hardly any deliberation at all compared to webp, so that is strange now that you mention it. I wonder what changed at mozilla since then.
2023-01-31 06:57:35
Maybe just firing all of their engineers and researchers.
2023-01-31 06:58:05
And shifting their focus to shameless e-begging instead
2023-01-31 06:58:31
without actually producing an actual product aside from what's left of their accrued popularity and clout
2023-01-31 06:59:41
I don't think they have anyone on their payroll right now that is a programmer or researcher or anyone capable of evaluating any technical decisions
2023-01-31 06:59:56
So maybe that's all that needed to change
Deleted User
2023-01-31 07:00:27
JPEG has lost power due to lack of success for the last two decades, JXL could revive it but it needs some action ... like just people contacting media, writing articles ... I haven't seen any action from JPEG
Demiurge
2023-01-31 07:01:51
It's not really their job to take action...
Deleted User
2023-01-31 07:02:38
this way MPEG and AOM are succesful ... and JPEG has nearly vanished
Demiurge
2023-01-31 07:03:11
JPEG is not like MPEG or AOM.
2023-01-31 07:03:34
Honestly I am surprised if AOM is not involved at all in JXL
Deleted User
2023-01-31 07:03:54
it has less power, but not using the only success for 20 years show they have zero power
2023-01-31 07:04:15
AOM has competing product
yurume
2023-01-31 07:04:21
so at the pinnacle of its career what did JPEG do anyway?
2023-01-31 07:04:33
other than publishing a very much influential standard
Deleted User
2023-01-31 07:05:18
if JPEG are mostly academics, still they can e.g. contact media, write articles ... I haven't seen any action
Demiurge
2023-01-31 07:05:26
It's not competing and it isn't a product
2023-01-31 07:05:50
I thought it's just an "alliance" to develop open formats.
2023-01-31 07:05:56
for the web
Deleted User
2023-01-31 07:06:21
the strength of such organizations is in suceess of their products
Demiurge
2023-01-31 07:06:33
Not to make money but to have open standards to communicate and preserve human culture
Deleted User
2023-01-31 07:07:40
I think AVIF would need a licence for hardware implementations - making JXL real competition costing them money
_wb_
2023-01-31 07:07:51
The whole point of standards is interoperability, which of course only matters if it actually gets used in the first place.
Demiurge
the strength of such organizations is in suceess of their products
2023-01-31 07:09:49
off the top of my head, I doubt AVIF needs a license for any use case. I don't even know if they offer hardware certification
Deleted User
2023-01-31 07:10:12
https://aomedia.org/license/
2023-01-31 07:10:26
https://aomedia.org/license/patent-license/
Demiurge
2023-01-31 07:10:54
I thought the only reason why AOM exists is so people aren't forced to pay Apple royalties forever
Deleted User
2023-01-31 07:11:10
"1.3. Defensive Termination. If any Licensee, its Affiliates, or its agents initiates patent litigation or files, maintains, or voluntarily participates in a lawsuit against another entity or any person asserting that any Implementation infringes Necessary Claims, any patent licenses granted under this License directly to the Licensee are immediately terminated as of the date of the initiation of action unless 1) that suit was in response to a corresponding suit regarding an Implementation first brought against an initiating entity, or 2) that suit was brought to enforce the terms of this License (including intervention in a third-party action by a Licensee)."
2023-01-31 07:11:56
it means they can sue your corporation, but if you sue them then you have to rip off all AVIF e.g. from your products
Demiurge
2023-01-31 07:14:00
https://aomedia.org/license/patent-license/
2023-01-31 07:14:33
It looks like you don't have to buy a license. They are giving it away for free, regardless if your implementation is hardware or software.
2023-01-31 07:14:58
Do they even sell hardware certification services?
2023-01-31 07:15:27
It doesn't look like they make money at all. They are giving it all away for free just to give the finger to Apple.
2023-01-31 07:17:09
JXL seems like it would line up with such a worthy goal. To give the finger to Apple's HEIF image format
2023-01-31 07:17:54
Of course AVIF was their response to HEIC but it didn't change anything about the format other than the codec
2023-01-31 07:18:24
Same format different frame codec
Deleted User
2023-01-31 07:20:01
JXL needs a real promotion to stimulate real discussion ... e.g. by people of JPEG, to give any power to this organization
Demiurge
2023-01-31 07:21:26
JPEG has the least amount of power out of everyone who was involved in JPEG-XL
Deleted User
2023-01-31 07:22:06
because of lack of success in the last decades - JXL could give it
afed
2023-01-31 07:22:08
as far as I know, many (or all) manufacturers pay sisvel for each device for av1, even if sisvel is just a patent troll, just to avoid litigation, because it will be more expensive and longer https://www.sisvel.com/licensing-programs/audio-and-video-coding-decoding/video-coding-platform/license-terms/av1-license-terms
Demiurge
2023-01-31 07:24:23
Just because they have a serious-sounding name like JPEG doesn't mean it amounts to any real power or influence over the ecosystem unless they were to rally a whole bunch of hardware vendors and other people with actual real influence together.
2023-01-31 07:25:33
Like if they were to help create some sort of industry lobby group of a bunch of commercial vendors that commit to integrating JXL in their products and services in order to lobby for broader adoption.
Demiurge > We acknowledge that JPEG-XL offers some potential advantages, both in terms of features and performance. Overall, we don't see JPEG-XL performing enough better than its closest competitors (like AVIF) to justify addition on that basis alone. Similarly, its feature advancements don't distinguish it above the collection of formats that are already included in the platform. ...Sounds like Chrome. "Yeah it's good, but fuck you. Oh and have you heard of this amazing format called AVIF? Let's all use that forever and never mind all the crippling limitations or the fact that it was fast tracked."
2023-01-31 07:29:44
You know, what makes this sound exactly like Chrome is how this guy is also using the word **"we"** a lot.
2023-01-31 07:29:56
Without ever defining who he's referring to.
Deleted User
2023-01-31 07:30:11
still JPEG could do something e.g. make some media campaign, ask members to contact media and write articles ... but seems it did nothing, even though JXL success would increase influence of this organization
VcSaJen
2023-01-31 07:30:19
Now it's up to Microsoft. If it implements default support (when libjxl is actually ready in ~2025) in the OS, browsers will be forced to support it.
Demiurge
2023-01-31 07:30:32
That's called weasel language
Deleted User
2023-01-31 07:32:44
also Adobe e.g. in PDF 2.0
sklwmp
2023-01-31 07:36:07
Well, that's because Microsoft was involved in the format...
2023-01-31 07:36:12
and basically created it
Demiurge
2023-01-31 07:36:24
The most effective thing anyone could do to promote JXL is, improve the tooling so its foolproof for noobs to start taking advantage of, improve the lossy performance so it's competitive with AVIF at low bitrates, and create some sort of industry lobby group with a website that has a list of commercial and non-commercial organizations that commit to integrating JPEG-XL into their products and services.
sklwmp
2023-01-31 07:36:43
So basically, make JPEG XL better?
2023-01-31 07:37:02
Or at least, the tooling around it I guess
Demiurge
2023-01-31 07:37:53
Better, easier to use, and unite the supporters into a loud lobbying/promotion effort
2023-01-31 07:40:34
If there was a website with a list of everyone using/planning to use JXL, with a blurb or statement from each one explaining how they use it, that would be nice and psychologically encouraging and might help with the appeal for getting browsers to support it
2023-01-31 07:43:44
Basically it would imply, "Hey, this format is already rolling out in all of these different places, when are you getting on board?"
2023-01-31 07:44:08
"you" being, Mozilla, Chrome...
2023-01-31 07:44:22
When are THEY smelling the coffee...
joppuyo
Demiurge But it did seem totally automatic with hardly any deliberation at all compared to webp, so that is strange now that you mention it. I wonder what changed at mozilla since then.
2023-01-31 07:55:24
firefox had three times the market share in 2014 compared to today so I guess they could actually take a stand on something like open standards
2023-01-31 07:55:36
these days it seems like they are just doing what chrome does
Demiurge
2023-01-31 07:57:17
Well back then they also paid people with degrees in the hard sciences who knew how to code and it was their codec engineers that objected to webp
2023-01-31 07:57:58
They don't pay anyone except purple haired managers with zero coding experience to work at mozilla these days
2023-01-31 07:58:17
At least that's who I am guessing they pay these days
2023-01-31 07:59:10
They fired everyone capable of actually creating the product they're supposed to sell
joppuyo
2023-01-31 08:02:31
that's a bit of a stretch, think it's more likely they see where the winds are blowing regards AVIF and are mainly just trying to cling to their diminishing market share rather than trying to promote open standards. that's probably more likely reason rather than that they hired someone with blue hair who did gender studies
Demiurge
2023-01-31 08:11:29
Back then when mozilla put up resistance to webp, it was from their codec development team. And they developed mozjpeg as a response to the webp proposal. Because they actually had people who knew how to code working at mozilla back then.
_wb_
2023-01-31 08:11:47
If they'd just say "we're too small to matter, we'll do it when the big browsers do it but we won't do it until they do", that would be a fair point. It just feels a bit weak that they pretend to take an independent position and thoroughly contemplate decisions based on technical merits and Long Term Thinking, but then they basically just regurgitate what chrome's codec team previously said...
Demiurge
2023-01-31 08:12:43
They literally couldn't do the same thing today because all of those people were fired. Anyone who had actual talent and actually did something useful for mozilla was fired
2023-01-31 08:13:47
Back then they could literally just develop a competing image encoder on a dime.
2023-01-31 08:14:18
just to prove a point that webp is stupid
2023-01-31 08:17:11
They don't work there anymore. They are all gone.
2023-01-31 08:18:14
The purple haired managers in charge now consider it a waste of money to develop a product. But at least they are enlightened enough to remove the derogatory and offensive term "master password"
_wb_
2023-01-31 08:18:52
I wonder if firefox will at some point just switch to Blink too and become a chromium-derived browser like the rest of them.
Demiurge
2023-01-31 08:19:54
That is an inevitability if there is no "manpower" driving development of their browser engine. You can't even get basic patches merged that fix years old bugs
VcSaJen
2023-01-31 08:19:54
Not likely
Demiurge
2023-01-31 08:20:39
Their incompetence is making it difficult for even the open-source community volunteers to maintain their browser engine for them
2023-01-31 08:21:31
They are literally so helpless that they can't even accept freely volunteered help.
2023-01-31 08:22:06
clicking the merge button is too much effort
2023-01-31 08:22:58
I remember when I was much younger I thought it would be really cool to get a job working at mozilla
2023-01-31 08:23:22
But I don't think I have enough hair dye
Deleted User
2023-01-31 09:12:55
Mozilla had data compression team e.g. mozjpeg, opus, daala - the latter collaborated on AV1
2023-01-31 09:15:03
mainly Terriberry ( https://dblp.org/pid/79/1862.html ) and Valin ( https://dblp.org/pid/87/6271.html )
_wb_
2023-01-31 09:20:18
yes, also Nathan Egge and some others. Mozilla fired them all in 2020, when they fired 25% of their staff
Demiurge
2023-01-31 09:53:28
It would be funny if it weren't so sad. And yet I'm still laughing my ass off for some reason.
2023-01-31 09:53:54
It's just one of those things that's so stupid that it's funny.
veluca
Demiurge It doesn't look like they make money at all. They are giving it all away for free just to give the finger to Apple.
2023-01-31 10:15:56
FWIW Apple *is* a member of AOM
2023-01-31 10:16:12
(founding member, even)
Demiurge
2023-01-31 10:17:05
And yet they are the only ones who don't have hardware-accelerated AV1
2023-01-31 10:17:14
Weird
2023-01-31 10:17:32
No public plans to either
veluca
2023-01-31 10:19:49
Apple doesn't ever make public plans
Demiurge
2023-01-31 10:20:44
True :)
2023-01-31 10:24:20
Apple supports AVIF it looks like.
2023-01-31 10:24:58
But they are the odd ones out when it comes to hardware AV1
2023-01-31 10:26:29
AV1 encoding is essentially impossible on a Mac, hardware or software.
2023-01-31 10:27:21
I heard rav1e might have some preliminary ARM support
2023-01-31 10:27:29
Not sure what the status is though
2023-01-31 10:28:22
or if it's capable of encoding 1 frame yet
joppuyo
2023-01-31 11:31:07
https://bugs.webkit.org/show_bug.cgi?id=208235
2023-01-31 11:31:46
Is the latest message from WebKit maintainers the one about handling color spaces in libjxl?
_wb_
2023-01-31 06:57:17
https://github.com/mozilla/standards-positions/pull/741#issuecomment-1410904980 this is me getting angry politely
Demiurge
2023-01-31 11:21:31
You know, the most bizarre thing to me is, why do these people think it's their job to be the gatekeepers deciding what formats are worth it and whether or not to allow something to be used
2023-01-31 11:21:55
Nobody appointed anyone to be in that position
2023-01-31 11:22:51
If people want to use something let them use it, why do these people get such a big head and think they're in charge of deciding what everyone else gets to use?
_wb_
2023-02-01 06:36:33
I guess people like to think they're important. In any case, the big browsers (today that's only really chrome and safari, but to some extent, mostly historically, firefox too) are the effective gatekeepers of the web, so it makes sense that they take their role in it seriously. What makes less sense is having a non-transparent decision process and refusing to take input from the community, as chrome seems to be doing, and we'll see if firefox is any better...
2023-02-01 06:44:27
https://gitlab.com/librewolf-community/browser/source/-/merge_requests/47 LibreWolf also has jxl support
Deleted User
2023-02-01 07:02:06
also pulse-browser: https://github.com/pulse-browser/browser/discussions/162
Demiurge
2023-02-01 03:49:55
https://libreddit.freedit.eu/r/jpegxl/comments/10pkm01/mozillas_position_on_jpegxl_neutral/j6pb8d3/?context=3
2023-02-01 03:50:02
This is my favorite comment
_wb_
2023-02-01 04:29:56
> "That salad has too much sodium! I have to watch what I eat!" *inhales four donuts*
2023-02-01 04:39:59
The argument is of course that webp and avif come for free since vp8 and av1 are available anyway — but even that is not really true: afaiu webp uses its own vp8 implementation so they can do incremental decode, and avif currently doesn't do that but if they want to make avif images load incrementally, they'll need to do that too. Also there's a bunch of stuff that the video codec does not handle (such as alpha or icc profiles) and that does need extra code just for the image format. See also https://twitter.com/jonsneyers/status/1596965036131426304?s=20
Demiurge
2023-02-01 04:58:43
Yeah, it's a myth and misconception. They do not get it for free. They have to link an additional library. libwebp and libavif.
2023-02-01 05:04:36
If these self-appointed web-lords had any intelligence or actual concern for ease of implementation, then you could put a "video" file in an <img> or <picture> tag and the HEIF container would just be a regular MP4 container, or better yet just use the superior matroska container if a container is necessary.
2023-02-01 05:05:07
since av1 and vp8/9 already use matroska
2023-02-01 05:05:45
which Google just shamelessly decided to slap their own branding on as if they invented matroska
Traneptora
2023-02-01 05:07:38
tbf WebM is a strict subset of matroska that only supports a small list of things
Demiurge
2023-02-01 05:07:46
And essentially renamed someone else's project from a cool sounding "matroshka" to a ridiculous "weppy"
2023-02-01 05:07:58
"webbem."
Traneptora
2023-02-01 05:08:09
so a WebM-compliant matroska file can be decoded without a generic matroska demuxer
Demiurge
2023-02-01 05:08:50
They could have defined a web subset without branding it with such a humiliatingly-stupid name.
2023-02-01 05:10:17
Like if they were honest they could just call it matroska web-subset or something along those lines
2023-02-01 05:10:49
instead of slapping their own ludicrous-sounding branding on someone else's work
Traneptora
2023-02-01 05:10:50
calling it a "humiliatingly-stupid name" is somewhat subjective
Demiurge
2023-02-01 05:11:15
yeah I know it is, but I dare you to argue that it doesn't sound incredibly awful
2023-02-01 05:11:24
webbem.
2023-02-01 05:11:29
weppy.
2023-02-01 05:11:37
I dare you to say that sounds cool.
2023-02-01 05:12:14
Try using those terms in front of friends and family members
2023-02-01 05:13:00
It's an unbelievably stupid-sounding thing to even verbalize
Traneptora
2023-02-01 05:13:13
WebM doesn't sound awful to me
2023-02-01 05:13:13
¯\_(ツ)_/¯
_wb_
2023-02-01 05:13:21
how it sounds doesn't matter much (jpeg xl also sounds kind of silly), but what is clear from the WebP / WebM naming is that these formats/codecs are designed for one particular use case (The Web) and this does kind of show: for other use cases, they are lacking in features
Traneptora
2023-02-01 05:13:23
I mean I can't provide an argument, since it's literally a subjective opinion
Demiurge Try using those terms in front of friends and family members
2023-02-01 05:14:05
they'll just go "what's that" or "oh he's talking about coding again lol"
Demiurge
2023-02-01 05:14:34
I don't know, I hear people say that JPEG XL sounds silly to them but it kinda makes sense. Bigger is better right? And JXL is EXTRA BIGGER
_wb_
2023-02-01 05:14:49
webp being limited to 16k x 16k and 8-bit are design decisions directly inspired by it being _only_ created for the web
Traneptora
2023-02-01 05:14:53
I mean I like to think of JPEG XL as "JPEG eXtended Life" but that's not actually what it stands for
Peter Samuels
Demiurge I don't know, I hear people say that JPEG XL sounds silly to them but it kinda makes sense. Bigger is better right? And JXL is EXTRA BIGGER
2023-02-01 05:15:07
First time I mentioned it, someone thought it meant JPEG but bigger file size
Traneptora
2023-02-01 05:15:09
X is just borrowed from other JPEG X? variants and L stands for Long-Term
Demiurge
2023-02-01 05:15:54
I think it's funny in a good way
_wb_
2023-02-01 05:16:05
after j2k, basically all new JPEG codecs except the Pleno ones have a name with an X
2023-02-01 05:16:15
XT, XR, XS, XL
2023-02-01 05:18:24
no idea why the X though — I think it was originally for "extended", i.e. XR brought "extended range" (since it can do HDR and that was the main thing Microsoft wanted to use it for iirc), and XT is literally "jpeg extended with all sorts of stuff"