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?

lonjil
_wb_ https://cloudinary.com/blog/time_for_next_gen_codecs_to_dethrone_jpeg
2021-02-22 05:19:03
> lossless encoding of 16-bit integer and 16-, 24-, or 32-bit floating-point images. are "integer" and "floating point" supposed to be the other way around?
_wb_
2021-02-22 05:34:16
We can actually do lossless 32-bit float but not lossless 32-bit integer
2021-02-22 05:34:23
Because we use signed ints
fab
2021-02-22 07:53:41
avif is on my browser
2021-02-22 07:54:16
but anyway progressive jpg is important still ?
2021-02-22 07:54:46
all stock images in that article are avif with the encoded sample are png
_wb_
2021-02-22 08:43:47
Depends on what browser you are using if you get avif or webp or jpegs...
2021-02-22 08:44:44
I think progressive is great, but probably not great enough to be worth sending a jpeg that is twice as big as an equivalent avif
2021-02-22 08:45:01
It's a tough call though
Deleted User
2021-02-24 04:36:50
I'd definitely prefer progressive JPEG over even the best compressed AVIF, if I was on a modem connection.
2021-02-24 04:40:51
<@!794205442175402004> is it possible for `f_auto` to add client's internet connection speed check? If it falls below a threshold (to be determined in some simple testing), serve progressive JPEG *no matter what*, because no other format available in `f_auto` supports progressive rendering which is crucial e.g. on 128 kb/s connections. Of course when JPEG XL rolls out to Chrome, becomes tested successfully (no bugs) and you add it to `f_auto`, JPEG XL will be sent if the client has compatible browser even on faster connections ๐Ÿ˜ƒ
Scope
2021-02-24 04:57:07
LQIP + incremental decoding is also some alternative for progressive, but of course it is better when LQIP is not a separate but part of the main image and when 60% progressive image is enough to get close to full quality
_wb_
2021-02-24 05:06:32
we are looking into having more information about network conditions, it is tricky because that stuff has to be done at the CDN level, and we work with potentially multiple CDNs (akamai, fastly, cloudfront, etc)
2021-02-24 05:07:40
we can use the client hint `save-data` (e.g. Chrome "Lite mode"), which we currently use to select the default quality for q_auto (it's `good` by default, but `eco` if the client signals `save-data`)
2021-02-24 05:09:11
the importance of progressive depends on a lot of things though. Above the fold, progressive is very important. Below the fold, it probably matters less since the image is likely already there before you have scrolled down. Unless you do lazy-loading, then it becomes important again. Etc etc.
Deleted User
2021-02-24 05:15:10
On really slow, modem (or maybe even DSL, that's to be tested) connections progressive really matters. But on 300/20 Mbps (like me) I will happily get AVIF rather than JPEG, because on *that* fast connections progressive encoding... doesn't matter at all?
Scope
2021-02-24 05:27:15
Without at least LQIP, this can be noticeable at any speed (also not all servers can transfer at client speed and other delays also affect), even with this speed I notice images popping up on some sites
Dr. Taco
2021-02-24 07:16:09
Can we get an official node module with pre-built binaries? **Example:** https://github.com/develar/7zip-bin This would help to have an officially versioned place to point to as a dependency when building tooling to help adoption
2021-02-24 07:23:33
Would be useful for server-side, automation scripting, native apps, and tooling
2021-02-26 02:36:25
Who would be the person/people that should be in charge of maintaining this (capable of producing the standalone binary for each environment)?
2021-02-26 02:37:37
and by maintaining I mean, producing a new binary for each environment when there are version bumps to JXL
2021-02-26 02:39:32
If the bumps are rare, then doing it by hand may be quicker, otherwise, may want to dedicate time to setting up the environments in a CI to auto-produce and commit the binary to the repo in a branch named after the environment and the JXL version
_wb_
2021-02-26 02:39:42
For linux distros, there are automated processes for that
Scope
2021-02-27 05:09:33
<https://newsgroup.xnview.com/viewtopic.php?f=82&t=41595> > Changelog 0.98.2: > 1976: [New] libJPEGXL v0.3 - break compatilility with v0.1
_wb_
2021-02-27 05:25:16
Ah, nice
Deleted User
2021-02-27 07:17:30
But still no animation support. ^^
fab
2021-02-27 07:57:49
It don't display some images correctly
raysar
2021-02-27 09:06:39
on the lastest xnviews MP decoding jxl with lossless jpeg encoding did not works :/
2021-02-27 09:16:16
Is there encoding param in metadata jxl files? xnview mp seems to not read 16bits jxl files.
2021-02-27 09:20:18
Fidget
2021-02-28 04:53:51
Is there a javascript pollyfill for jxl to canvas or jpg?
190n
2021-02-28 04:55:04
ooh not that i know of but that would be cool
2021-02-28 04:59:07
although it would probably be a hefty download so only worth it for a site with tons of images
Fidget
2021-02-28 05:04:48
It solves the web adoption problem kinda. Being a js pollyfill, hopefully would help cdns and get cached effectively across website loads so only one big download. Probably a good use for a wasm target of the binary
190n
2021-02-28 05:06:56
most browsers now isolate caches between different sites
2021-02-28 05:07:03
even if it's from the same cdn
2021-02-28 05:07:11
so if site a downloads the jxl polyfill it won't be cached for site b
_wb_
2021-02-28 07:03:46
Squoosh.app is a kind of js polyfill (if you count wasm as js)
190n
2021-02-28 07:04:07
wasm is better than js so that counts
2021-02-28 07:04:24
also being able to use multithreading/simd in wasm isn't universal
2021-02-28 07:05:05
there is https://github.com/brion/ogv.js/ which lets safari play ogg/webm
veluca
2021-02-28 11:49:09
you can compile libjxl to wasm - but it's probably not going to be very fast...
Dr. Taco
2021-03-03 03:35:23
QT is a popular tool for desktop app GUI's, having a `qt-jxl-image-plugin` would enable a lot of image software to support JXL, example: https://github.com/novomesk/qt-avif-image-plugin
BlueSwordM
Dr. Taco QT is a popular tool for desktop app GUI's, having a `qt-jxl-image-plugin` would enable a lot of image software to support JXL, example: https://github.com/novomesk/qt-avif-image-plugin
2021-03-03 04:26:16
There already is one. That's how I've been viewing JXL images natively on Linux.
2021-03-03 04:26:21
Look in his repositories. ๐Ÿ˜›
2021-03-03 04:27:15
https://github.com/novomesk/qt-jpegxl-image-plugin/commits/main
il1kesonic
2021-03-03 06:32:30
abortion
Dr. Taco
2021-03-03 06:32:55
neat <:clippe3love:666059289143541791>
2021-03-03 06:37:33
<@!321486891079696385> https://github.com/easymodo/qimgv/pull/293
spider-mario
abortion
2021-03-03 08:14:45
surely, you are not advising us to abort the project?
il1kesonic
spider-mario surely, you are not advising us to abort the project?
2021-03-03 08:16:47
no
spider-mario
2021-03-03 08:17:08
great, thanks for confirming
Scope
2021-03-04 08:21:04
> - New JPEG XL (JXL) HDR capture fully compliant with final ISO/IEC 18181 JPEG XL standard https://steamcommunity.com/games/228180/announcements/detail/3053975488717921395
190n
2021-03-04 08:23:49
hope hdr stuff becomes more open
fab
2021-03-06 08:07:46
https://github.com/cocoon/jxl.Net
Troc
2021-03-07 12:27:51
Hello, I would like to have a quality picture viewer that can view JPGXL and do things like zoom in and move around without crashes or really high system resource use.
Dr. Taco
2021-03-07 12:29:19
what os
Troc
2021-03-07 12:29:45
Windows 10.
Dr. Taco
2021-03-07 12:30:14
https://github.com/easymodo/qimgv
Troc
2021-03-07 12:30:14
I also use Andoird.
Dr. Taco
2021-03-07 12:30:45
that is a nice clean/simple/light image viewer. The readme has a mention for JXL, but I have not tried it yet
2021-03-07 12:30:54
it's portable, so you can try it and see
Troc
2021-03-07 12:31:24
My current image viewer is HoneyView, but it's currently not being actively updated.
Dr. Taco
2021-03-07 12:33:23
<@!720988177648713819> you'd have to request the makers of HoneyView add JXL support.
2021-03-07 12:33:53
https://groups.google.com/g/honeyview-win/c/paBUaBSQFxY/m/A6hpk2IyAQAJ
Troc
2021-03-07 12:34:14
"Honeyview will not be updated except for minimum security patches due to internal reasons. Therefore, please understand that it will be difficult to implement new features in Honeyview for the time being. We apologize for the inconvenience."
2021-03-07 12:38:17
<@!139947707975467009> Why does this require Git? I don't know it .
Dr. Taco
2021-03-07 12:40:15
oh, I didn't realize that the qt plugin was not pre-build
Troc
2021-03-07 12:40:47
The jxl image I made is gray.
Dr. Taco oh, I didn't realize that the qt plugin was not pre-build
2021-03-07 12:00:39
Does there exist a full build? Otherwise this program is not usable to me.
Dr. Taco
2021-03-08 03:11:59
<@!720988177648713819> not that I'm aware of, sorry
Troc
2021-03-08 03:12:35
Okay, I'll just wait until I can actually benefit from jpgxl, then. Thanks for the help.
fab
2021-03-08 03:36:19
honestly i don't see the point of lossless jpeg xl. why don't use png and set a a quality?
Nova Aurora
fab honestly i don't see the point of lossless jpeg xl. why don't use png and set a a quality?
2021-03-08 03:37:37
smaller file sizes vs png without applying loss?
Dr. Taco
2021-03-08 03:37:43
Lossless JXL is based on ideas from FLIF, which outperformed PNG and other lossless formats
fab
2021-03-08 03:37:55
yes it's good
2021-03-08 03:38:12
but new heuristics is better
Dr. Taco
2021-03-08 03:38:14
you also get the progressive nature of JXL
fab
2021-03-08 03:39:27
for adoption xnview and jpeg xl wic don't support lossless jpg
Nova Aurora
fab for adoption xnview and jpeg xl wic don't support lossless jpg
2021-03-08 03:40:20
lossless jpg or lossless jxl?
fab
2021-03-08 03:40:30
lossless jpg transcode
Nova Aurora
2021-03-08 03:40:34
2 different standards
fab
2021-03-08 03:40:44
this is another aspect
Nova Aurora
2021-03-08 03:40:53
lossless jpeg transcode IS a jxl
fab
2021-03-08 03:41:04
it's like saying 2,6 mbps in mp4 is garbage
Nova Aurora
2021-03-08 03:41:17
just with extra metadata for recreating a jpeg
fab
2021-03-08 03:41:18
because you're used to perfect image
2021-03-08 03:41:37
if the image is good enough likely 2,6 mbps are enough
2021-03-08 03:42:14
new heuristics automatically choose speed, size
2021-03-08 03:42:22
because it has efficient patches in 0.3.3
2021-03-08 03:42:49
that there are security problems and q 90 could be better is another aspect
2021-03-08 03:44:52
another point is that dev are aiming at more than 50% space saving with a bit of visual sacrifice
2021-03-09 02:02:35
https://github.com/saschanaz/jxl-winthumb/releases/tag/v0.1.2
2021-03-09 02:03:00
it don't read the lossless jpg transcode
2021-03-09 02:03:07
first it did
2021-03-09 02:03:13
why?
veluca
fab why?
2021-03-09 03:48:56
can you send me one image that doesn't work?
2021-03-09 03:50:44
or open an issue yourself, https://github.com/saschanaz/jxl-winthumb/issues
fab
2021-03-09 06:49:11
xnview has same problem
2021-03-09 06:49:21
jon has answered to that
2021-03-09 06:49:34
but jxl winthumb before version used to work
Troc
fab it's like saying 2,6 mbps in mp4 is garbage
2021-03-11 12:34:22
Depends on the resolution. For 240x360 it can be too much, for 3840x2160 it will be garbage.
Pieter
2021-03-11 12:53:10
That's assuming that 240x360 video isn't inherently garbage ๐Ÿ˜‰
_wb_
2021-03-11 06:04:46
240x360 is OK for a talking head in a small box next to a shared screen ๐Ÿ˜…
Troc
2021-03-11 09:23:26
True. Videos star approaching good at 480p good settings.
Fox Wizard
2021-03-11 09:25:22
Nah, 64x64 ftw <:PepeOK:805388754545934396>
fab
2021-03-12 11:36:20
is it jpeg xl in chrome 90 beta?
Jim
2021-03-12 12:19:29
I believe they are working on it, but doubt it will be enabled in 90. At best maybe behind a flag if they get to that point? So far, it is not attached to any specific version of Chrome: https://www.chromestatus.com/feature/5188299478007808
_wb_
2021-03-12 07:58:15
Interesting to see how many people are involved in getting libjxl into chrome: https://chromium-review.googlesource.com/c/chromium/src/+/2749318
2021-03-12 07:59:48
I think enabled in chrome 91 is the most optimistic scenario. Maybe behind a flag in chrome 90 but I kind of doubt it...
Crixis
2021-03-12 08:00:17
When is chrome 91?
_wb_
2021-03-12 08:01:46
It's 6 weeks between each chrome version: https://chromiumdash.appspot.com/schedule
zebefree
2021-03-12 08:46:14
I am running Version 91.0.4444.0 (Official Build) canary, which is the canary channel (nightly build), not the final Chrome 91 yet; there is no JPEG XL support yet.
Orum
2021-03-13 07:16:20
It's sad that Mozilla still isn't interested in the slightest
Dr. Taco
2021-03-13 04:51:09
givem time
BlueSwordM
2021-03-13 04:54:01
Yeah, let them take time.
2021-03-13 04:54:08
They're currently fixing the AVIF stuff first. <:kekw:808717074305122316>
Jim
2021-03-13 04:55:22
FF has fewer resources and has fallen behind on features since they let go quite a few last year. I'm sure after Chrome ships (or at least gets close) they will start working on it as well. Safari support is always questionable. Given they have AVIF and HEIF it is possible they could just turn their back on JXL, or at least take over a year before starting work. Good thing is the WebAssembly implementation could be used in the meantime as a polyfill.
Scope
2021-03-13 06:01:33
Also <https://caniuse.com/avif>
2021-03-13 06:01:47
<https://caniuse.com/av1>
2021-03-13 06:10:35
AVIF is supported more than AV1 and usually uses dav1d (a fully featured AV1 decoder) and even Safari plans to support AVIF before AV1
Jim
2021-03-13 06:42:54
Also because mobile is starting to support AVIF but not AV1 yet.
_wb_
2021-03-13 06:53:21
Does mobile chrome support full AV1 "animated avif" in an img tag?
2021-03-13 06:53:47
We might be having some revival of silent movies :)
Jim
2021-03-13 07:14:34
Just tried it and it does, but looks like s**t. Also, neither desktop or Android Chrome understands what `.avifs` is. It has to be renamed to `.avif` to work.
Scope
2021-03-13 07:19:19
https://github.com/AOMediaCodec/av1-avif/pull/86
Jim
2021-03-13 07:20:46
None of the avif test sites got the memo.
_wb_
2021-03-13 07:27:08
That's what you get with a spec that can be updated at any time with just a pull request...
Deleted User
Jim Just tried it and it does, but looks like s**t. Also, neither desktop or Android Chrome understands what `.avifs` is. It has to be renamed to `.avif` to work.
2021-03-13 07:51:11
Can you say which example file you used on which version of Chrome? On https://caniuse.com/avif they write that no browser supports animated AVIFs.
Jim
2021-03-13 07:58:45
Chrome 89 on desktop and 81 on Android. Many of the test sites had broken images but here is one that worked for animated: https://github.com/link-u/avif-sample-images Need to download, rename to `.avif` and open locally but works.
2021-03-13 08:20:15
Hm... I tried a few others that don't work. I wonder why those do...
_wb_
2021-03-13 08:30:05
Maybe it works as long as it doesn't claim to be an animation, or something
Deleted User
2021-03-15 02:38:08
<@!172952901075992586> Hui, looks like it worked ๐Ÿ˜ƒ https://gore.cf/b.avif
2021-03-15 02:39:23
Though AVIF is 150 KiB, AV1 was around 100 and WebP or JXL were only 40!
Troc
2021-03-15 05:18:27
Imageglass doesn't work.
fab
2021-03-15 05:26:13
you need qjpegxl file
2021-03-15 05:29:41
maybe
2021-03-15 05:29:50
i don't remember how i used it
Troc
2021-03-15 05:30:17
2021-03-15 07:40:53
Also is there an Android viewer for JXL?
2021-03-16 01:05:09
I got Imageglass to work. In some aspects, it's better than Honeyview.
2021-03-16 01:05:21
However, it can't view CBRs efficiently.
diskorduser
Troc Also is there an Android viewer for JXL?
2021-03-16 04:47:25
I don't think so
improver
2021-03-16 04:32:34
fab
2021-03-16 04:35:41
what it means
2021-03-16 04:35:44
why no development
improver
2021-03-16 04:54:34
there is development afaik, but it's not reflected on this page for some reason. but hey, at least they documented motivation
2021-03-16 04:54:45
https://www.chromestatus.com/feature/5188299478007808
2021-03-16 04:55:49
and the thing about several google teams and facebook looking into it seems pretty promissing
_wb_
2021-03-16 05:11:27
you can follow development here: https://chromium-review.googlesource.com/c/chromium/src/+/2749318/3
Dr. Taco
2021-03-16 06:15:55
Requesting again that there be an official repo and npm module that contains the built binaries for all major OS's. This would help with the creation of tooling and libraries for adoption. The sooner the better, so libraries can start being built to wrap the current CLI options.
_wb_
2021-03-16 06:26:36
For linux distros there already are packages for some distros, I think, no?
BlueSwordM
2021-03-16 06:28:04
Yeah. IIRC OpenManDriva and Ubuntu 21.04 are thinking of including JXL stuff in their next releases.
_wb_
2021-03-16 06:28:30
https://aur.archlinux.org/packages/libjpeg-xl-git/
Nova Aurora
2021-03-16 06:29:31
the AUR has everything
veluca
BlueSwordM Yeah. IIRC OpenManDriva and Ubuntu 21.04 are thinking of including JXL stuff in their next releases.
2021-03-16 06:37:15
wait, where do you know this from?
Dr. Taco
2021-03-16 06:38:15
I mean a stand-alone CLI executable
BlueSwordM
veluca wait, where do you know this from?
2021-03-16 06:38:45
Well, I asked about it on the Openmandriva IRC a while back. I suggested it to them since it already works very well right now on my Openmandriva 4.2 machine. They are thinking of including the plugin and the JXL packages in the OM 4.3 Cooker branch so it gets native support without having to compile manually.
2021-03-16 06:38:57
For Ubuntu, I need to go look at where I saw the JXL stuff.
Dr. Taco
2021-03-16 06:39:07
for encoding/decoding/transcoding from one file to another
Pieter
2021-03-16 06:40:17
It's not in hirsute yet, at least.
_wb_
2021-03-16 06:41:53
I consider cjxl/djxl only something for experimenting/testing, in the long run they should become like cjpeg/djpeg: something nearly nobody uses.
2021-03-16 06:48:04
(instead everyone uses libjxl via applications like imagemagick, gimp, etc)
BlueSwordM
veluca wait, where do you know this from?
2021-03-16 06:52:38
Sadly, it looks like my info about Ubuntu 21.04 thinking of including JPEG-XL is innacurate. Sorry for getting your hopes up.
spider-mario
2021-03-16 07:00:20
I think it can make sense to use cjxl / avifenc / etc. directly when you want control over certain things
veluca
2021-03-16 07:15:20
Ah I wasn't especially hoping, I was just wondering how it would happen since we never asked Debian to include a package :P
Dr. Taco
2021-03-16 07:25:51
I do not expect image magick or gimp to give 100% acccess to all possible CLI features of JXL encoding/decoding/transcoding. An official CLI is needed for tooling
_wb_
spider-mario I think it can make sense to use cjxl / avifenc / etc. directly when you want control over certain things
2021-03-16 07:31:51
Sure, for expert users. But for most end-users, decode should Just Work, and encode should be just a simple 'Save as jxl' dialog box with a quality slider and maybe a few advanced options.
2021-03-16 07:34:41
And eventually cjxl/djxl should themselves use the libjxl api, and be very simple programs with not much logic of their own (except knowing about input/output formats and setting sensible defaults based on that), with all their settings/options also accessible through the api.
Petr
2021-03-17 07:47:17
Some thoughts on jxl adoption:
2021-03-17 07:47:22
We might attract new general users by multilingual articles on Wikipedia.
2021-03-17 07:47:26
There are already English, Czech and Japanese articles.
2021-03-17 07:47:32
I contribute to the first two and can also translate to Esperanto.
2021-03-17 07:47:38
I guess that people here speak many different languages (not only programming languages :)) so if you feel like it, you can start an article in your language.
2021-03-17 07:47:46
And if someone makes it to https://en.wikipedia.org/wiki/WP:GA or even https://en.wikipedia.org/wiki/WP:FA (to be able to appear on the main page) in their language, that could help even much more.
_wb_
2021-03-17 08:11:59
Maybe we can polish the English one a bit more
2021-03-17 08:12:30
I mean pollish
2021-03-17 08:12:49
I mean polish
Pieter
2021-03-17 08:13:23
or polish the Polish one
_wb_
2021-03-17 08:13:58
Both the shoe polishing and the Polish country are with one L
2021-03-17 08:14:34
It's not like the Finnish at the finish line
Pieter
2021-03-17 08:14:44
It's only when you do something vaguely similar to a poll that you get a pollish.
2021-03-17 08:15:53
So you have polish and Polish that are pronounced differently. Now there needs to be a word that sounds like one of thek, but is written differently.
2021-03-17 08:16:07
I think desert-dessert-desert still wins.
Scope
2021-03-17 08:16:57
https://blog.cloudflare.com/introducing-polish-automatic-image-optimizati/
Pieter
2021-03-17 08:17:20
(the desert is a dry place, the dessert is what you eat after a meal, and to desert is what soldiers sometimes do... sounds like the meal, but is written like the dry place)
_wb_
2021-03-17 08:20:28
Kornel who is the image optimization guy at cloudflare happens to be Polish, so I wonder if that's an intended pun ๐Ÿ™‚
Scope
2021-03-17 08:21:14
Yep
Petr
2021-03-17 08:32:48
JXL's ANS is Polish after all so the debate here is quite relevant although it doesn't seem like it at first sight. ๐Ÿ™‚
fab
2021-03-17 09:16:26
you should translate it in Italian
Petr
fab you should translate it in Italian
2021-03-17 09:24:57
Who? And what's your mother tongue? Which language can you do? ๐Ÿ™‚
fab
2021-03-17 09:26:04
i'm italian but i'm alone
2021-03-17 09:26:21
isolated so i don't know if i'm correct to translate well
2021-03-17 09:26:29
also i don't have wikipedia account
Petr
fab also i don't have wikipedia account
2021-03-17 09:27:23
Wikipedia is unique: You can contribute even without an account. And accounts are free, of course.
fab
2021-03-17 09:28:53
no i don't want the ip to get published
2021-03-17 09:29:04
especially that i'm on windows 7
2021-03-17 09:32:24
for example
2021-03-17 09:32:25
Formato esente da diritti d'autore con un'implementazione di riferimento open source.
2021-03-17 09:32:31
google translate translate all
Petr
2021-03-17 09:32:32
Sure. Nobody has to contribute. It's all voluntary.
fab
2021-03-17 09:32:40
copyright is diritti d'autore
2021-03-17 09:32:47
font becomes caratteri
2021-03-17 09:32:58
but is this text comprensible by italians
2021-03-17 09:33:06
for examplev
2021-03-17 09:33:08
Compressione di alta qualitร  di immagini sintetiche, come caratteri bitmap e gradienti;
2021-03-17 09:33:43
or compresssione di immagini sintetiche in alta qualitร , come caratteri bitmap e gradienti;
2021-03-17 09:33:56
i'm not that expert of my native language
Petr
2021-03-17 09:33:56
No need to discuss details of languages here. Let's just concentrate on the topic: jxl.
fab
2021-03-17 09:35:25
av1 if i remember when last visited was translated
2021-03-17 09:35:51
no
2021-03-17 09:35:52
royalty-free
2021-03-17 09:36:05
also you have to insert the link of royalt free page
2021-03-17 09:38:00
motore del browser is incorrect
2021-03-17 09:38:15
i heard motore di navigazione
2021-03-17 09:38:19
but i don't know
Petr No need to discuss details of languages here. Let's just concentrate on the topic: jxl.
2021-03-17 09:39:36
what language you did?
2021-03-17 09:39:53
or did you add some things apart from the standardization who was there
2021-03-17 09:55:32
petr if you want you can copy the text
2021-03-17 09:55:41
and make you the italian version
Crixis
2021-03-17 09:56:12
I can help with the italian translation
fab
2021-03-17 09:56:59
JPEG XL รจ un formato di file di grafica raster che supporta la compressione con e senza perdita di dati. รˆ progettato per superare i formati raster esistenti e quindi diventare il loro sostituto universale.
2021-03-17 09:57:35
Nome storia caratteristiche dettagli tecnici
veluca
2021-03-17 09:59:06
mhhh... not sure I like that translation ๐Ÿ˜„ I could help, but I'm generally better at writing C++ than at writing Italian xD
fab
2021-03-17 09:59:21
Software supporto esistente supporto proposto
Petr
fab and make you the italian version
2021-03-17 09:59:24
Hmm, thanks, but it will be better if it is done by someone who actually speaks Italian.
fab
2021-03-17 09:59:42
web browser you change to browser web
veluca
2021-03-17 09:59:43
me, Fabian and Crixis are all Italians from what I understand
fab
2021-03-17 10:00:08
motore di navigazione di Safari e altri
Petr
2021-03-17 10:01:06
Writing a wiki is not just about the text itself. There are also templates, references, categories etc. โ€“ nothing for someone who doesn't speak the target language.
fab
2021-03-17 10:03:09
supporto a JXL su Windows via WIC es. per visualizzare il formato su visualizzazione di foto windows, Esplora Risorse ecc.
2021-03-17 10:04:14
ImageMagick toolkit per l'elaborazione grafica raster
2021-03-17 10:05:39
convertitori basati sull' implementazione reference reference e compilati per Windows (la pagina contiene anche altri programmi)
2021-03-17 10:07:18
the technical details you should cop y paste from translate and you add links and formattation
2021-03-17 10:07:30
JPEG XL si basa su idee dal formato Pik di Google e dal formato FUIF di Cloudinary. Il formato ha una varietร  di modalitร  di codifica. Sul lato legacy, ha una modalitร  che transcodifica JPEG legacy in un modo piรน compatto per l'archiviazione. Sul lato piรน moderno, ha una modalitร  lossy basata su VarDCT (con modellazione separata di forme e ripetizione di "patch" come testo) e una modalitร  quasi senza perdita / reattiva che utilizza una trasformazione simile a Haar. Il DCT utilizza uno spazio colore XYB derivato da LMS. [9] La previsione viene eseguita utilizzando un decorrelatore pixel per pixel senza informazioni secondarie, incluso un insieme di predittori ponderato e auto-correttivo parametrizzato. La modellazione del contesto include modelli statici specializzati e potenti modelli meta-adattivi che tengono conto dell'errore locale, con una struttura ad albero segnalata e una selezione di predittori per contesto. La codifica entropica รจ abilitata per LZ77 e puรฒ utilizzare sia i sistemi numerici asimmetrici che la codifica Huffman (per encoder a bassa complessitร  o per ridurre il sovraccarico di flussi brevi). L'impostazione predefinita รจ un'impostazione visivamente quasi priva di perdite che fornisce comunque una buona compressione. [10] Le immagini animate (multi-frame) non eseguono la previsione inter-frame, a differenza dei formati basati su codec video
2021-03-17 10:08:16
i see only predittori that maybe is ponderati e auto-correttivi parametrizzati
2021-03-17 10:10:33
remember it
2021-03-17 10:10:34
https://discord.com/channels/794206087879852103/803574970180829194/821683679301599252
Crixis
2021-03-17 10:13:05
I'm writing on wikipedia
fab
2021-03-17 10:13:49
good
2021-03-17 10:14:22
do not add anything
2021-03-17 10:14:42
apart from what is written in english and copy the reference without changing
2021-03-17 10:14:53
italians do not edit reference
2021-03-17 10:14:59
if there are biblical
Deleted User
2021-03-17 10:18:01
Ahoj <@792428046497611796>! I can try making a Polish version of the Wikipedia article ๐Ÿ˜ƒ
fab
2021-03-17 10:30:49
instead of making translation would be instead jpeg xl person make an offiicial article and they translate it?
Petr
fab instead of making translation would be instead jpeg xl person make an offiicial article and they translate it?
2021-03-17 10:34:06
Articles from official people aren't very welcome on Wikipedia. See here (Italian): https://it.wikipedia.org/wiki/Wikipedia:Niente_ricerche_originali
veluca
2021-03-17 10:41:13
another reason why I shouldn't write it ๐Ÿ˜›
Petr
veluca another reason why I shouldn't write it ๐Ÿ˜›
2021-03-17 10:43:59
No problem. But if you see there some mistakes, confusing statements etc. at any time later, feel free to fix them. ๐Ÿ™‚
_wb_
2021-03-17 11:09:38
I did a quick run through the English article to polish it a bit, I hope they're not going to revert my changes because it's me who did that
Scope
2021-03-17 11:23:18
<https://en.wikipedia.org/wiki/JPEG_XL> > qt-jpegxl-image-plugin โ€“ JXL support for Qt on Linux and Windows (so I don't think it needs to be specified only on Linux) ImageGlass Moon also supports JXL <https://imageglass.org/moon> (but something was broken in the last build)
fab
2021-03-17 11:40:38
The software don't work
2021-03-17 11:41:08
no decoders work for jpeg xl in windows 7
2021-03-17 11:41:13
it breaks all
2021-03-17 11:41:29
for windows 10 someone should test that uses windows
2021-03-17 11:41:32
online media convertor
2021-03-17 11:41:42
is converter not not convertor
2021-03-17 11:42:13
also i don't understand why toolset
2021-03-17 11:42:18
and not toolkit
2021-03-17 11:42:21
what it change
2021-03-17 11:43:06
but i like the version of j.sn
Jim
2021-03-17 11:44:59
You mean ImageGlass? Just tested on W10 and works with non-lossless-transcoded jxls. It works with non-animated AVIF (though the previews work with animated AVIFs?)
2021-03-17 11:45:55
The QT plugin works with nomacs. Have not seen a jxl that didn't work yet.
fab
2021-03-17 11:48:20
try opening that image
2021-03-17 11:48:25
with nomacs
2021-03-17 11:48:30
4000x3000
2021-03-17 11:48:36
see if your computer crashes
2021-03-17 11:48:37
Petr
Scope <https://en.wikipedia.org/wiki/JPEG_XL> > qt-jpegxl-image-plugin โ€“ JXL support for Qt on Linux and Windows (so I don't think it needs to be specified only on Linux) ImageGlass Moon also supports JXL <https://imageglass.org/moon> (but something was broken in the last build)
2021-03-17 11:49:46
fixed
Jim
2021-03-17 11:51:32
That image crashes nomacs. ImageGlass and XnView can not open (appears as black bar in XnView) which is what happens with lossless transcodes, so likely lossless transcode.
fab
2021-03-17 11:52:04
not
Jim
2021-03-17 11:52:18
Squoosh also not able to open, so maybe something corrupt in the file?
fab
2021-03-17 11:52:35
for %i in (C:\Users\User\Documents\LD\*.jpg) do cjxl "%i" "%i.jxl" -q 91.4 -s 9 -m -I 9.3 --num_threads=2
2021-03-17 11:52:52
i used a iterations higher than older builds
Petr
_wb_ I did a quick run through the English article to polish it a bit, I hope they're not going to revert my changes because it's me who did that
2021-03-17 11:53:05
As long as several basic rules (e.g. neutral point of view, encyclopedic style) are followed, all edits are welcome. So yeah, well done, Jon. ๐Ÿ‘
Jim
2021-03-17 11:54:04
djxl was not able to lossless transcode but was able to re-encode back to jpg.
fab
2021-03-17 11:54:22
is a jxl not a jpg
2021-03-17 11:54:30
is already encoded with cjxl
2021-03-17 11:54:43
it doesn't require -j
2021-03-17 11:54:46
because it changed
Jim
2021-03-17 11:54:50
djxl reverses jxl back to jpg
fab
2021-03-17 11:55:03
with some loss
2021-03-17 11:55:41
is in reality a png for now that get's encoded
Jim
2021-03-17 11:55:50
I was just using it to see if it was corrupt or not. The decoder was able to open and convert so problem is likely with the image viewers.
fab
2021-03-17 11:55:53
or maybe diretly in jpg
2021-03-17 11:55:58
but still to pixels before
2021-03-17 11:56:54
older version didn't support that iterations it had limit on iterations
2021-03-17 11:57:18
other than having perfect modular q correlated to the output quality you specify
_wb_
Jim I was just using it to see if it was corrupt or not. The decoder was able to open and convert so problem is likely with the image viewers.
2021-03-17 11:58:29
Some image viewers may not know a jxl can start with other bytes than the 0xFF0A of a naked jxl codestream
2021-03-17 11:59:17
Try a jxl which is not a lossless jpg but a png with xmp or exif, the current cjxl will then also create a container to put the metadata in it
fab
2021-03-17 11:59:25
also why you can have higher iterations in 0.3.4
2021-03-17 11:59:44
in this way the image have truer quality to original at 85 kb
_wb_
2021-03-17 11:59:45
If that also doesn't work, then the application isn't aware of the container thing
fab
2021-03-17 12:00:15
but with palette i corrupted the file
2021-03-17 12:00:17
lossy palette
2021-03-17 12:00:43
less moire better defaults is good
Jim
_wb_ Some image viewers may not know a jxl can start with other bytes than the 0xFF0A of a naked jxl codestream
2021-03-17 12:00:49
Squoosh fixed that issue and I submitted the bug to XnView (no new version yet). nomacs was able to open those fine but the file <@!416586441058025472> sent causes it to crash.
fab
2021-03-17 12:01:13
https://discord.com/channels/794206087879852103/803574970180829194/821712621161938994
2021-03-17 12:01:24
but it has higher iterations that the supported of older encoders
_wb_
2021-03-17 12:02:18
-I with a value above 1 should do just the same thing as -I 1
2021-03-17 12:02:32
the scale is 0 to 1 for that option
fab
2021-03-17 12:06:15
interesting, it does indeed cause trouble
2021-03-17 12:06:22
and I bet it's because of orientation
fab
2021-03-17 12:07:19
maybe this is image toggleton send
2021-03-17 12:07:26
2021-03-17 12:08:24
i can try with -I 1
2021-03-17 12:08:46
but i don't want
2021-03-17 12:09:06
the issue is with nomacs, xnview is different black boxes
_wb_
2021-03-17 12:09:10
yeah, it decodes OK, but then when writing the output image, it has to orientate the image (it is stored as a landscape image which came from a jpg original with exif orientation to rotate it 90 degrees), something is going wrong and it segfaults
fab
2021-03-17 12:09:39
same with -I 1 and the same command i used
2021-03-17 12:10:21
?
_wb_
2021-03-17 12:10:33
I hadn't tested orientation by 90 degrees, only 180 degrees. Maybe the code for rotating 90 degrees is broken
2021-03-17 12:11:10
orientation has been in the bitstream for a long time, but it was never actually used until now, so it's likely that there are bugs
2021-03-17 12:12:25
One djxl bug in particular is that if you decode to (lossy) jpg, it ignores the orientation and gives you the landscape image
2021-03-17 12:14:05
Could someone open a gitlab issue about it? Segfault in djxl for images with 90-degree orientation...
Jim
2021-03-17 12:15:19
Mine didn't segfault, just said it couldn't do lossless transcode then successfully lossy-transcoded it.
_wb_
2021-03-17 12:18:33
yes, it does that if the output is .jpg
2021-03-17 12:18:46
but it's a landscape jpg, not a portrait one, right?
Jim
2021-03-17 12:19:04
Nope, portrait. Looks same as what was posted.
2021-03-17 12:22:52
Here is the file djxl made.
Petr
2021-03-17 12:24:11
Wow, the Italian article on Wikipedia looks good!
Crixis
2021-03-17 12:24:27
it is unfinished sorry
Petr
2021-03-17 12:26:18
WP is a living project โ€“ never finished. ๐Ÿ™‚ Additions can be made at any time.
_wb_
Jim Nope, portrait. Looks same as what was posted.
2021-03-17 12:33:43
interesting... what if you decode to png or ppm?
Jim
2021-03-17 12:36:53
It gets to "Decoded to pixels" then segfaults.
_wb_
2021-03-17 12:39:52
ah probably i'm using sjpeg and you're using libjpeg โ€” the exif orientation is not preserved in sjpeg
2021-03-17 12:40:06
(i mean when djxl is writing a jpg with sjpeg)
2021-03-17 12:44:02
i'm not sure what we should do with it though - probably we should preserve the exif exactly when doing jpeg reconstruction, but when writing a new jpeg from pixels, we should orient the image and encode the oriented one, and then it also works if the exif was stripped. But then if the exif was not stripped, we should restore the exif, but overwrite the orientation field in it to do a no-op, because otherwise viewers will orient the image _again_
Crixis
_wb_ i'm not sure what we should do with it though - probably we should preserve the exif exactly when doing jpeg reconstruction, but when writing a new jpeg from pixels, we should orient the image and encode the oriented one, and then it also works if the exif was stripped. But then if the exif was not stripped, we should restore the exif, but overwrite the orientation field in it to do a no-op, because otherwise viewers will orient the image _again_
2021-03-17 12:48:41
https://tenor.com/view/three-finger-salute-good-luck-jennifer-lawrence-katniss-everdeen-hunger-games-gif-14699764
_wb_
2021-03-17 12:49:23
first figure out why it is segfaulting when orienting
2021-03-17 01:09:22
ok, not swapping width and height when doing 90/270 degree rotations is not a good idea
_wb_ Could someone open a gitlab issue about it? Segfault in djxl for images with 90-degree orientation...
2021-03-17 01:34:03
ok fixed it, so don't bother opening a gitlab issue, at the next sync it should be ok
2021-03-17 01:34:38
<@!768090355546587137> please take a look at my merge request with the fix, if you have time ๐Ÿ™‚
zebefree
2021-03-17 03:13:39
Is intrinsic_size supposed to be after rotation or before? The spec is unclear.
_wb_
2021-03-17 03:16:02
good point
2021-03-17 03:16:12
what would make most sense?
2021-03-17 03:16:38
we have nothing that actually does something with intrinsic sizes yet afaik, so we better choose and make it clear in the spec
zebefree
2021-03-17 03:37:41
I would guess that scaling would normally be performed after rotation, so it would probably make the most sense for intrinsic_size to be the final size after any rotation (with the regular size being before rotation). But mostly it should be clear so that clients know if they need to swap width and height.
_wb_
2021-03-17 03:39:46
yes, intuitively it makes more sense to me to have them be the final size after rotation, though there's also some beauty in having it similar to the pixel dimensions (so also before rotation)
2021-03-17 03:41:12
in implementations you might want to scale before rotation if it's a downscale and scale after rotation if it's an upscale (or do scaling while rotating even ๐Ÿ˜‰ )
zebefree
2021-03-17 03:47:08
I think that in a web browser, the css or html may specify a width and height that would override the intrinsic size in the image file, but if it specifies a rotation then it is supposed to be on top of any rotation from the image file, so at least conceptually the scaling is the last step.
2021-03-17 03:53:54
I don't know the internals of any web rendering engines, but if you had the same image used multiple times, I would think that the cached image would at least conceptually already have the rotation applied, but not the scaling, since each instance of the image may have its own width and height.
_wb_
2021-03-17 04:04:11
yes, conceptually scaling is the last thing you do
Deleted User
2021-03-17 04:27:10
Aaaaand it's ready! https://pl.wikipedia.org/wiki/JPEG_XL
2021-03-17 04:27:26
<@!792428046497611796> seems like you understand a bit of Polish, so you can check if you're curious. Because it seems like ~~I'm the only one from Poland~~ **(EDIT: now I'm not)** on this Discord (~~and Kornel isn't there...~~ **EDIT: ok, now he is**)
2021-03-17 04:27:32
And Jarek Duda isn't there, too... or is he?
Petr
<@!792428046497611796> seems like you understand a bit of Polish, so you can check if you're curious. Because it seems like ~~I'm the only one from Poland~~ **(EDIT: now I'm not)** on this Discord (~~and Kornel isn't there...~~ **EDIT: ok, now he is**)
2021-03-17 04:29:08
ลšwietnie! ๐Ÿ‘๐Ÿป I've just added an inter-wiki link.
admpodg
Aaaaand it's ready! https://pl.wikipedia.org/wiki/JPEG_XL
2021-03-17 06:51:27
Jest elegancko;)
fab
2021-03-17 06:58:18
https://pl.wikipedia.org/wiki/JPEG_XL
2021-03-17 06:58:24
sundfvovfo
Troc
fab
2021-03-17 11:44:12
This is actually an image that I took.
_wb_
2021-03-18 07:43:53
<@!792428046497611796> the <:JXL:805850130203934781> logo is now CC0-licensed ('public domain') by its creator
Petr
_wb_ <@!792428046497611796> the <:JXL:805850130203934781> logo is now CC0-licensed ('public domain') by its creator
2021-03-18 08:27:11
Unfortunately, such statement isn't enough to meet the rules of Wikimedia Commons. Please see my messages in another thread.
fab
2021-03-18 09:48:59
scope petr which language i edited
Petr
fab scope petr which language i edited
2021-03-18 09:50:02
Sorry, what do you mean?
fab
2021-03-18 10:00:17
ok i'll tell you
2021-03-18 10:00:26
italians and english
2021-03-18 10:00:39
english i corrected converters and toolkit
2021-03-18 10:01:03
it was convertors and tool set
2021-03-18 10:01:09
maybe i over corrected
2021-03-18 10:01:23
italian the first three section are by crixis
2021-03-18 10:01:42
he said he made him, correct <@!424295816929345538> ?
2021-03-18 08:10:05
but it's predizione o previsione
2021-03-18 08:10:32
Le immagini animate (multi-frame) non eseguono la previsione inter-frame, a differenza dei formati basati su codec video.
2021-03-18 08:10:43
this part seems strange to me
veluca
fab Le immagini animate (multi-frame) non eseguono la previsione inter-frame, a differenza dei formati basati su codec video.
2021-03-18 09:29:50
that's actually false btw, we don't have an encoder that does it, but there *is* some rudimentary inter-frame prediction
_wb_
2021-03-20 02:17:10
There are three rudimentary kinds of inter-frame in jxl: - frames can only update part of the canvas, like in gif/apng/awebp - frames have other blend modes than just replace (e.g. kAdd might be useful) - patches can be used as rudimentary motion vectors: you can take part of a previous frame (one of 4 'remembered' previous frames) and copy it to a different region of the current frame (using any blend mode). For example you could make an animation that consists of sprites that move around, with backgrounds that move in parallax, and encode the sprites and background layers only once.
2021-03-20 02:17:46
The third one is probably more than just 'rudimentary' ๐Ÿ˜…
improver
2021-03-20 03:11:56
so it should be able to transcode optimized gifs with "not worse" ratio, if encoder tried, i guess
_wb_
2021-03-20 03:15:33
Yes, it's just a bit tricky, but our entropy coding should beat LZW, the only disadvantage we have is that we have no global palette that can be used in multiple frames
Deleted User
_wb_ There are three rudimentary kinds of inter-frame in jxl: - frames can only update part of the canvas, like in gif/apng/awebp - frames have other blend modes than just replace (e.g. kAdd might be useful) - patches can be used as rudimentary motion vectors: you can take part of a previous frame (one of 4 'remembered' previous frames) and copy it to a different region of the current frame (using any blend mode). For example you could make an animation that consists of sprites that move around, with backgrounds that move in parallax, and encode the sprites and background layers only once.
2021-03-20 03:31:13
So every frame can be used as a patch source? Or do you have to designate that one frame as patch source for every other frame?
_wb_
2021-03-20 03:32:31
You can use any frame, but you have to declare it in the frame header that the decoder should 'remember' this frame because it will be referenced in future frames
2021-03-20 03:32:49
There are 4 slots for reference frames
2021-03-20 03:33:37
So in the frame header you say something like 'after decoding this frame, make it reference frame 3'
2021-03-20 03:34:24
Patches then say from which reference frame they are taking pixels
2021-03-20 03:39:42
You can have a 'reference-only' frame which is not shown but can be used in subsequent frames
jjido
2021-03-21 09:44:24
French version: https://gist.github.com/jido/3ba153a435a9f55da2254448f820c3d3
2021-03-21 09:45:22
I should remove the part about "no inter-frame prediction" then
Petr
jjido French version: https://gist.github.com/jido/3ba153a435a9f55da2254448f820c3d3
2021-03-22 06:50:47
It looks good. But why is it on Github and not on Wikipedia? ๐Ÿ˜ฎ
jjido
Petr It looks good. But why is it on Github and not on Wikipedia? ๐Ÿ˜ฎ
2021-03-22 06:53:13
<@!416586441058025472> or someone with Wikipedia edit privileges will put it up
Petr
2021-03-22 06:54:51
Everyone has Wikipedia edit privileges. Even users that aren't logged in.
_wb_
2021-03-22 06:35:19
<@768090355546587137> <@795684063032901642> How is the chromium integration going? Is it still possible to get in Chrome 90 behind a flag? Or what's the current status and goal?
Crixis
2021-03-22 07:51:42
I'm a D&D master and I paid on kickstarted for a new dungeon creator, I send this on their discord
2021-03-22 07:52:32
I'm sorry for not apologizing even here for my bad English XD
Nova Aurora
2021-03-22 08:01:23
I'm nowhere near being able to talk without sounding incomprehensible in any non-English languages, so I can't complain about others not speaking English well.
jjido
Petr Everyone has Wikipedia edit privileges. Even users that aren't logged in.
2021-03-22 08:36:36
All right, done. For some reason there is no link to it on the English page though.
fab
2021-03-22 08:43:40
i found it
2021-03-22 08:43:59
jjido
2021-03-22 08:45:09
You are right, don't know what I was looking ๐Ÿ˜†
fab
2021-03-22 08:49:42
neat translation
jjido
2021-03-22 08:56:19
I couldn't figure out how to add the logo
2021-03-22 08:57:14
https://gitlab.com/wg1/jpeg-xl/-/raw/master/doc/jxl.svg
Petr
jjido I couldn't figure out how to add the logo
2021-03-23 06:23:50
We're waiting for the author of the logo to upload it to Wikimedia Commons. This seems the best option due to licensing reasons.
Moritz Firsching
_wb_ <@768090355546587137> <@795684063032901642> How is the chromium integration going? Is it still possible to get in Chrome 90 behind a flag? Or what's the current status and goal?
2021-03-24 07:19:54
The two pending commits are now here: https://chromium-review.googlesource.com/c/chromium/src/+/2745343 and https://chromium-review.googlesource.com/c/chromium/src/+/2749318. The second one has already all approval from owners, but the first one is still pending, (and the second one depends on the first one of course). It depends on how fast the eng review goes, Chrome 90 looks impossible currently, targeting Chrome 91 now. The plan is to have it behind a build flag, which is turned on by default on Desktop an turned off by default on Android and iOS. Then there will be a feature flag, which will be turned off by default. This can be controlled via chrome://flags (you can then find it by searching for the string "jxl" or "jpeg xl') or by passing the flag `--enable-features=JXL` when starting chrome from the command line. The reason the build flag is not turned on by default on mobile is more about binary size restrictions than about technicalities. Last week I compiled Chrome on Android and confirmed that it works.
2021-03-24 07:49:53
I made https://mo271.github.io/jxl/ : it serves either jpg.jpg or jxl.jxl and the jpg contains some text that reads "Your browser does not appear to support JPEG XL" while the jxl contains some text that reads "Your browser is ready for JPEG XL" and Jon's JXL logo.
2021-03-24 07:49:56
2021-03-24 07:50:32
Those are some screenshots from running Chrome on Android
_wb_
2021-03-24 07:58:52
๐Ÿ‘
2021-03-24 08:01:26
I think we're all eager to try it out. Who is doing the review for the first commit?
Troc
2021-03-24 08:03:47
2021-03-24 08:04:05
Nope, Chrome doesn't work.
_wb_
Troc Nope, Chrome doesn't work.
2021-03-24 08:06:37
Are you trying a Chrome that was compiled with jxl support? Even Chrome 91 is unlikely to have jxl support on Android by default.
Troc
2021-03-24 08:10:03
I don't know how to compile. I used Canary, since isn't it the latest features?
Deleted User
2021-03-24 08:13:19
I also have Canary, but on Windows and it also doesn't have any JPEG XL flag at all.
Lastrosade
2021-03-24 08:15:14
I have my test at the bottom of my main page https://jeremylee.sh/
Deleted User
Lastrosade I have my test at the bottom of my main page https://jeremylee.sh/
2021-03-24 09:02:45
By the way, I downloaded the PNG file and optimized it with OptiPNG -> Pingo -> ECT. I preserved all metadata chunks. Could you replace that file on you website with this optimized version, please?
Lastrosade
2021-03-24 09:03:15
how much did you save ?
2021-03-24 09:03:20
I only use ect -9
Deleted User
2021-03-24 09:04:36
55.5 KB -> 42.5 KB
Lastrosade
2021-03-24 09:04:47
Very nice
2021-03-24 09:05:03
Well I learned about pingo
Deleted User
2021-03-24 09:05:45
After stripping down alpha with `pngtopam` and quick inspection in GIMP it seems like Pingo is doing something in 100% invisible pixels.
2021-03-24 09:06:43
And I use `ect -9 --strict --allfilters-b`
Lastrosade
2021-03-24 09:07:04
where do I get pingo ? I only found this sketchy website https://www.css-ig.net/pingo
Deleted User
2021-03-24 09:07:21
I got it from there
2021-03-24 09:07:28
GUI should be enough
2021-03-24 09:08:32
Set it up this way for best compression:
Lastrosade
2021-03-24 09:08:51
I'm not too big on guis
Deleted User
2021-03-24 09:09:59
Me too, but after setting up *this* one you really only have to click "optimize" and then compress with ECT in command line
Lastrosade
2021-03-24 09:10:24
what about both from one script in command line
2021-03-24 09:10:38
I'd show you but
2021-03-24 09:10:39
Deleted User
Lastrosade what about both from one script in command line
2021-03-24 09:10:50
Ah, ok. Lemme check.
Lastrosade
2021-03-24 09:12:04
currently I use this script when I need to `Get-ChildItem * -Include "*.jpg","*.jpeg","*.png","*.zip","*.gzip" -Recurse | % -ThrottleLimit 3 -Parallel { echo $_.FullName; ect_avx2_pgo.exe -9 $_; }`
2021-03-24 09:13:34
yeah pingo seems to be lossy
Deleted User
2021-03-24 09:14:09
Not if like invisible pixel data matters on the Web anyway
2021-03-24 09:17:44
Ok, try this: `Get-ChildItem * -Include "*.jpg","*.jpeg","*.png","*.zip","*.gzip" -Recurse | % -ThrottleLimit 3 -Parallel { echo $_.FullName; pingo.exe -s9 -nostrip -nodate $_; ect_avx2_pgo.exe -9 --strict --allfilters-b -keep $_; }`
2021-03-24 09:19:16
Use original `tosin.png` from your website and let me know if you managed to squeeze it to 42.5 KB (CRC32 of my file: 00C4B887)
2021-03-24 09:23:12
Why doesn't it work in my PowerShell?
2021-03-24 09:23:14
```ForEach-Object : Parameter set cannot be resolved using the specified named parameters. At line:1 char:79 + ... -Recurse | % -ThrottleLimit 3 -Parallel { echo $_.FullName; ..\pingo ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : MetadataError: (:) [ForEach-Object], ParameterBindingException + FullyQualifiedErrorId : AmbiguousParameterSet,Microsoft.PowerShell.Commands.ForEachObjectCommand```
2021-03-24 09:24:28
I put `tosin.png` into a separate folder in Downloads and invoked that command from there in order not to mess with other files (of course I adjusted .exe paths accordingly)
Moritz Firsching
Lastrosade I have my test at the bottom of my main page https://jeremylee.sh/
2021-03-24 09:32:35
seems to work with a custom build of chrome (hopefully coming soon as canary)
Lastrosade
2021-03-24 09:33:00
omg can't wait for this on firefox
2021-03-24 09:33:10
see you in 6 months I guess
_wb_
2021-03-24 09:40:04
So this will be in Desktop Chrome Canary as soon as those pending commits are reviewed / have landed, but in mobile chrome canary it will likely not happen before Chrome 92, right?
fab
2021-03-24 09:40:28
yes but i'm blocked by my ISP in chrome
2021-03-24 09:40:34
i can't use web in chrome
2021-03-24 09:40:49
how i will transmit images?
Lastrosade
2021-03-24 09:41:22
Your ISP blocks the usage of chrome ?
fab
2021-03-24 09:41:23
Maybe is because i used firefox
Lastrosade
2021-03-24 09:41:26
that's kinda based
fab
2021-03-24 09:41:33
maybe the pc has virus
2021-03-24 09:43:32
is in blacklist
2021-03-24 09:43:57
my technician refused to fix it
2021-03-24 09:44:23
now how i will use jpeg xl?
_wb_
2021-03-24 10:15:35
poke firefox devs to implement jxl support ๐Ÿ™‚
Jim
2021-03-24 10:30:25
https://tenor.com/view/futurama-what-you-want-poke-gif-12060067
veluca
fab yes but i'm blocked by my ISP in chrome
2021-03-24 11:13:49
I don't know of any ISP in Italy that could/would do that, I suspect it's a different problem ๐Ÿ˜›
fab
2021-03-24 11:23:29
windows 7 user
2021-03-24 11:23:33
only firefox works
2021-03-24 11:23:50
when i use chrome i always get CAPTCHA or network not loading please you could reload or launch firewall
2021-03-24 11:24:00
but when i visit only one site not
diskorduser
fab maybe the pc has virus
2021-03-24 11:28:26
Reinstall windows then
fab
2021-03-24 11:32:01
even with a new installation isn't different
2021-03-24 11:32:16
it doesn't load anything and it asks for CAPTCHA
2021-03-24 11:32:34
all people with windows 7 have this problem with chrome
diskorduser
2021-03-24 11:33:14
okay. I too use firefox only so idk. ha ha
fab
2021-03-24 11:33:21
i use firefox
spider-mario
2021-03-24 11:33:23
fyi Windows 7 is not supported anymore
fab
2021-03-24 11:33:28
right
2021-03-24 11:34:08
but in windows 10 can you visit how many sites you want or it asks for CATPCHA
spider-mario
2021-03-24 11:34:16
supported by Microsoft, I mean
fab
2021-03-24 11:34:22
without installing any vpn or configuring opera vpn
2021-03-24 11:34:49
i'm a bit offtopic i'll stop here
veluca
2021-03-24 11:35:08
you could update to 10, I don't think there's a reason not to - especially since there are ebay sellers that give you licenses for like 4โ‚ฌ
fab
2021-03-24 11:35:21
i read about opengl
2021-03-24 11:35:29
not supported by older computers
2021-03-24 11:35:57
just waiting for firefox to add jpeg xl support in may june
2021-03-24 11:36:02
or after
2021-03-24 11:36:35
..JXL ADOPTION
2021-03-24 11:37:01
where is the page of firefox, is the one on announcements? i don't see the poke button
diskorduser
2021-03-24 11:37:42
bruh
fab
2021-03-24 11:38:12
ok i will wait them
2021-03-24 11:38:22
my computer will become obsolete by then
2021-03-24 11:38:36
so i change it in the time
_wb_
2021-03-24 11:43:15
Can also make a dual boot with ubuntu or whatever, compile your own chromium with the jxl patches, and have jxl support right now ๐Ÿ˜…
fab
2021-03-24 11:43:53
the thing is strange because the technician in the near country had fiber and connected and could watch av1 videos
2021-03-24 11:44:06
and me i can't do anything
lithium
2021-03-24 11:44:22
<@!416586441058025472> I think probably your chrome certificate(about https and TLS) is outdated? Blink Engine(chrome) force use https protocol.
fab
lithium <@!416586441058025472> I think probably your chrome certificate(about https and TLS) is outdated? Blink Engine(chrome) force use https protocol.
2021-03-24 11:44:56
how i can fix it?
lithium
2021-03-24 11:46:25
Try update chrome and make sure your computer time is correct.
fab
2021-03-24 11:46:52
i did
2021-03-24 11:47:43
should i go to the network windows settings?
2021-03-24 11:47:53
is there a need to configure?
2021-03-24 11:48:15
why chrome asks for CAPTCHA and firefox not?
lithium
2021-03-24 11:49:02
I think we need transfer this discuss to off topic ๐Ÿ™‚
Moritz Firsching
_wb_ So this will be in Desktop Chrome Canary as soon as those pending commits are reviewed / have landed, but in mobile chrome canary it will likely not happen before Chrome 92, right?
2021-03-24 01:37:52
yes, and it is conceivable that will can do another commit turning on the build flag on mobile before Chrome 92 comes out, but who knows
Troc
2021-03-24 06:09:19
Does Pingo&ECT have multi-threading?
Deleted User
2021-03-24 06:19:37
Oh, by the way: is there any way to disable palettization (for testing purposes) in either of them, as if palettes didn't exist in PNG?
BlueSwordM
Troc Does Pingo&ECT have multi-threading?
2021-03-24 06:20:32
No. However, ECT can do file threading.
2021-03-24 06:20:43
So, if you have lots of files, you can just do threading over these files.
Scope
Ok, try this: `Get-ChildItem * -Include "*.jpg","*.jpeg","*.png","*.zip","*.gzip" -Recurse | % -ThrottleLimit 3 -Parallel { echo $_.FullName; pingo.exe -s9 -nostrip -nodate $_; ect_avx2_pgo.exe -9 --strict --allfilters-b -keep $_; }`
2021-03-24 06:24:22
This will be very slow optimization (especially for large images) with very little improvement, more efficient in terms of speed/compression would be something like this: `pingo -sa -nocompression` + (-strip or -nostrip, etc) then `ect -9 --reuse` or `ect -30060 --reuse` + options Although I don't know why to use `-nostrip` and `-keep` for web images (they will be visually lossless), invisible alpha might be needed for example to use some tricks for textures in games, etc. Also pingo reduces all images to 8 bits per channel
Deleted User
Scope This will be very slow optimization (especially for large images) with very little improvement, more efficient in terms of speed/compression would be something like this: `pingo -sa -nocompression` + (-strip or -nostrip, etc) then `ect -9 --reuse` or `ect -30060 --reuse` + options Although I don't know why to use `-nostrip` and `-keep` for web images (they will be visually lossless), invisible alpha might be needed for example to use some tricks for textures in games, etc. Also pingo reduces all images to 8 bits per channel
2021-03-24 06:28:28
> I don't know why to use `-nostrip` and `-keep` for web images (they will be visually lossless) For web images? Sure, lack of `-nostrip` makes sense. But `-nodate` and `-keep` are for preventing mess in File Explorer. I've got shitload of files in my Downloads folder and I don't want my optimized files to suddenly pop at the top of the file list (I sort by Last Changed).
Troc
2021-03-24 06:30:08
Alright.
Scope
2021-03-24 06:31:57
Yes, saving the date makes sense, although these are modified files and it all depends on the use cases (e.g. sometimes it is useful to know which files have already been optimized and which are old)
Deleted User
Scope Yes, saving the date makes sense, although these are modified files and it all depends on the use cases (e.g. sometimes it is useful to know which files have already been optimized and which are old)
2021-03-24 06:32:55
> it all depends on the use cases Exactly. If you tell me **your** use case, I'll probably prepare a better command ๐Ÿ˜‰
Scope This will be very slow optimization (especially for large images) with very little improvement, more efficient in terms of speed/compression would be something like this: `pingo -sa -nocompression` + (-strip or -nostrip, etc) then `ect -9 --reuse` or `ect -30060 --reuse` + options Although I don't know why to use `-nostrip` and `-keep` for web images (they will be visually lossless), invisible alpha might be needed for example to use some tricks for textures in games, etc. Also pingo reduces all images to 8 bits per channel
2021-03-24 06:34:06
And yes, this *is* slow. But I'm trying to break some records ๐Ÿ˜„ Don't worry about metadata, I strip some of it manually with TweakPNG beforehand.
Scope
2021-03-24 06:35:13
Yes, I just mean that these commands can be used blindly by other people And get a very large increase in optimization time (for about 0.02% improvement) without stripping or alpha optimization (which sometimes significantly reduces the size and is not needed for example for web and ordinary images that are used only for viewing)
Deleted User
Scope Yes, I just mean that these commands can be used blindly by other people And get a very large increase in optimization time (for about 0.02% improvement) without stripping or alpha optimization (which sometimes significantly reduces the size and is not needed for example for web and ordinary images that are used only for viewing)
2021-03-24 06:37:33
Good point. I was mainly focusing on record-breaking and not messing up my filesystem. **For everyone that wants to use any command from this server:** read help files and learn what those switches actually do, and tweak some of them if they don't fit your usage.
Scope
2021-03-24 06:52:43
I have real examples of people who didn't use ECT because it's "slow" (because they used some options found on some site) and switched to Oxipng because it's fast and efficient (just by feeling, not making any comparison), but the point is that ECT and Pingo are faster than Oxipng in parallel image optimization and are much more efficient at all their speeds