|
Pieter
|
2021-06-07 11:01:21
|
So I don't see how this example disproves that `a[b]` is identical to `*(a + b)`.
|
|
|
|
veluca
|
2021-06-07 11:01:34
|
ah, you said "if a has a pointer or array type"
|
|
2021-06-07 11:01:42
|
1 usually has neither of those
|
|
|
Pieter
|
2021-06-07 11:01:51
|
Ah, you are right!
|
|
|
|
veluca
|
2021-06-07 11:02:37
|
`a[b]` in C is literally just sugar for `*(a+b)`
|
|
2021-06-07 11:02:43
|
in C++ it's more complex than that
|
|
|
Pieter
|
2021-06-07 11:02:48
|
Yeah, I was assuming C++ where classes complicate the matter.
|
|
|
|
veluca
|
2021-06-07 11:02:50
|
('cause `operator[]` is a thing)
|
|
|
_wb_
|
2021-06-12 11:47:33
|
Is this fair? https://twitter.com/jonsneyers/status/1403679160502034435?s=19
|
|
|
|
veluca
|
2021-06-12 12:26:52
|
I'm not sure what panorama views are but everything else likely relates more to the webpage/html than to the image format, no?
|
|
|
Scope
|
2021-06-12 12:27:24
|
> jxl is excellent for options 1 and 2, great for option 3, okay for option 4.
> okay for option 4.
On photos, yes, but on low fidelity art content current jxl encoder is still noticeably behind AVIF/WP2 and even sometimes WebP
|
|
|
_wb_
|
2021-06-12 12:30:24
|
I meant option 4 w.r.t. jpeg/png
|
|
2021-06-12 12:30:49
|
And yes, "okay" is noticeably behind "excellent" :)
|
|
|
sn99
|
2021-06-16 11:02:43
|
Okay, I made some bindings to butteraugli for Rust and they work but I for the love of God am lost in C++
|
|
|
|
veluca
|
2021-06-16 11:28:58
|
haha
|
|
2021-06-16 11:29:02
|
what's wrong with it?
|
|
2021-06-16 11:31:52
|
I mean, in this specific case, not in general 😛
|
|
|
sn99
|
2021-06-17 07:25:40
|
Never made any "projects" in cpp, will have to give it time
|
|
|
Jyrki Alakuijala
|
2021-06-17 01:52:44
|
if high pixel density means low quality and low bitrate per pixel, then possibly no with some reservations
|
|
|
190n
|
2021-06-17 08:35:41
|
that's more dependent on the application/browser/markup than the image format, no?
|
|
|
Jyrki Alakuijala
|
2021-06-17 08:51:03
|
I consider that JPEG XL is a good choise in the 1 to 300 dpi range, 1200 dpi would benefit from different design solutions
|
|
|
Scope
|
2021-06-17 09:13:16
|
🤔
https://github.com/libjxl/libjxl/issues/202
|
|
|
Crixis
|
|
Jyrki Alakuijala
I consider that JPEG XL is a good choise in the 1 to 300 dpi range, 1200 dpi would benefit from different design solutions
|
|
2021-06-18 05:12:51
|
Encoder or format?
|
|
|
Jyrki Alakuijala
|
2021-06-18 08:20:08
|
CLIC is a project that rates neural codecs
|
|
2021-06-18 08:20:23
|
as a side effect it rates psychovisual metrics
|
|
2021-06-18 08:20:48
|
they do the codec rating by human raters
|
|
2021-06-18 08:21:05
|
so it is possible to check how well the metrics correlate with human opinion
|
|
2021-06-18 08:21:38
|
JPEG XL has a possibility to plugin other psychovisual metrics for kitten and tortoise modes
|
|
2021-06-18 08:21:56
|
if we learn that some other metric works better in a specific bit rate range, we can switch to that for that range
|
|
2021-06-18 08:22:09
|
(all altogether)
|
|
2021-06-18 08:22:31
|
the metrics have progressed a lot during the last 2-3 years, particularly the neural metrics in the low bpp area
|
|
2021-06-18 08:46:57
|
(I had proposed George to file this issue for JPEG XL -- I had made a similar proposal for him to file issues against SSIMULACRA and DSSIM)
|
|
2021-06-18 08:48:08
|
(I don't like that engineering and science are far apart -- engineering here using Butteraugli, DSSIM, SSIMULACRA, and science being 17 other metrics, with no intersection of engineering metrics, so I hope that this would let science and engineering to meet)
|
|
|
_wb_
|
2021-06-18 08:49:13
|
I think appeal metrics and fidelity metrics are fundamentally different things.
|
|
2021-06-18 08:50:00
|
VMAF and many of the AI metrics are very much appeal metrics, designed to measure viewing comfort at low bpp
|
|
2021-06-18 08:50:59
|
Butteraugli and HDR-VDP are fidelity metrics, designed to measure if humans can see a difference at high bpp (at low bpp of course they can)
|
|
2021-06-18 08:51:30
|
Ssimulacra is a crude attempt at a compromise between the two
|
|
2021-06-18 08:52:54
|
Appeal metrics are worthless in the high fidelity range, fidelity metrics are worthless in the low fidelity range
|
|
2021-06-18 08:54:16
|
Lower pnorm butteraugli does extend its scope into medium fidelity but it's still fundamentally not the right approach if you want to measure appeal.
|
|
2021-06-18 09:00:12
|
Appeal has much more of a semantic component: things like gaze prediction and expectations/viewer bias come into play, where denoising a sky can make a compressed image more appealing than the original if done right, etc.
|
|
2021-06-18 09:01:33
|
Fidelity is more about the physical properties of the human visual system, appeal more about the mental processing that comes afterwards.
|
|
2021-06-18 09:03:48
|
No-reference metrics (and no-refer nce or weak-reference (side by side) evaluation methodologies) don't make any sense for fidelity, while they do make sense for appeal.
|
|
2021-06-18 09:06:18
|
Of course there is overlap between the notions, it's not a binary thing, and the appeal aspects (does the artifact annoy you?) are conditioned by the fidelity aspect (can you see the artifact?).
|
|
2021-06-18 09:08:32
|
But any correlation study that considers "image quality" as a single entity across the bitrate spectrum is problematic imo.
|
|
|
Jyrki Alakuijala
|
2021-06-18 11:03:05
|
I added a similar issue on SSIMULACRA and DSSIM, George was shy to add them himself 😄
|
|
|
Pieter
|
|
_wb_
I think appeal metrics and fidelity metrics are fundamentally different things.
|
|
2021-06-18 06:55:04
|
You should create an image codec that just hashes the input, and uses it as a seed to generate a random pretty artsy image, storing just the seed and resultion in the encoded file. Super compact, high appeal, terrible fidelity.
|
|
|
improver
|
2021-06-18 06:56:47
|
just hash pixels and expand hash into jxl art
|
|
|
Pieter
|
|
improver
just hash pixels and expand hash into jxl art
|
|
2021-06-18 06:59:22
|
Duh. Why didn't I think of that.
|
|
2021-06-18 06:59:32
|
This is obviously preferable.
|
|
|
Jyrki Alakuijala
|
|
Crixis
Encoder or format?
|
|
2021-06-19 12:31:15
|
Probably both format and encoder. I wasn't thinking much about the 1200 dpi range, and it's psychovisuals.
|
|
|
|
Anonymous9487
|
2021-06-19 05:18:29
|
I see a lot of devs clamoring for using muted looped videos instead of animated images. Sounds good in theory, but in practice... For example, fifty 250x250 thumbs works just fine as GIF images. But if instead you're using fifty 250x250 webm videos as thumbs, browsers even on modern PCs are struggling to keep up.
|
|
|
Scientia
|
2021-06-19 05:24:45
|
I think it comes down to placement as well in general
|
|
2021-06-19 05:25:08
|
You can't just have 50 animated anythings on the viewport at once
|
|
2021-06-19 05:25:47
|
Animate on focus (YouTube is an example) or animate on load/scroll is better
|
|
2021-06-19 05:26:18
|
Most ads nowadays too use video (usually h264 which is hwdec so it's pretty easy)
|
|
|
_wb_
|
2021-06-19 07:35:27
|
More than one animated thing on a website playing at the same time is typically bad web design imo
|
|
|
Scientia
|
2021-06-19 08:15:34
|
Unless you use a very old CPU/GPU most of those videos are handled in hardware
|
|
2021-06-19 08:16:04
|
Nowadays it's GPU that does it
|
|
|
Jyrki Alakuijala
|
|
Anonymous9487
I see a lot of devs clamoring for using muted looped videos instead of animated images. Sounds good in theory, but in practice... For example, fifty 250x250 thumbs works just fine as GIF images. But if instead you're using fifty 250x250 webm videos as thumbs, browsers even on modern PCs are struggling to keep up.
|
|
2021-06-20 07:09:02
|
Do we know what in video decoding cost is related to number of videos and not just pixel count? Perhaps some simple work in optimizing the constant overhead in video decoding would solve the issues.
|
|
2021-06-20 07:28:02
|
video coding is -- after all -- often far superior in bandwidth use in comparison to gifs and other animations, would be great to find how to make it workable
|
|
2021-06-20 07:52:16
|
https://storage.googleapis.com/demos.webmproject.org/webp/cmp/2021_06_08/index.html#89-vezelay-basilique-2*2:1&AVIF-AOM=m&JXL=m&subset1
|
|
2021-06-20 07:52:42
|
webp/webm team published a new comparison almost two weeks ago
|
|
2021-06-20 07:53:10
|
which images/qualities are currently the biggest loss for JPEG XL vs. AVIF
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 03:48:44
|
LMFAO
|
|
2021-06-21 03:49:10
|
<@!794205442175402004> <@!532010383041363969> <@!768090355546587137> <@!795684063032901642> <@!604964375924834314> <@!179701849576833024>
|
|
2021-06-21 03:49:22
|
what a complete and utter dipshit of a spec
|
|
2021-06-21 03:49:39
|
make sure you suck hard; google's teats are pretty dry these days
|
|
2021-06-21 03:50:20
|
lmfao, nice try <@!604964375924834314>
|
|
2021-06-21 03:50:28
|
enjoy making some fucks rich while you get breadcrumbs
|
|
2021-06-21 03:50:40
|
man, living in this constant heatwave is really making everyone stupid
|
|
2021-06-21 03:50:51
|
but let's update the jpeg spec so we can save some billionaires some hosting costs!
|
|
|
spider-mario
|
2021-06-21 03:51:45
|
you think the hosting costs are the main benefit?
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 03:53:42
|
lmao
|
|
2021-06-21 03:53:57
|
at least they put your daily microdose in the koolaid, am i right ladies?
|
|
|
fab
|
2021-06-21 03:57:01
|
this comment is spam
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 03:57:02
|
here come the oper simps
|
|
2021-06-21 03:57:05
|
yeah, called it
|
|
2021-06-21 03:57:11
|
what a complete shitshow of a marketing campaign
|
|
2021-06-21 03:57:16
|
here comes daddy moneymaker
|
|
2021-06-21 03:57:22
|
we're ready for your proclamation, pastor!
|
|
|
_wb_
|
2021-06-21 03:57:37
|
i'm good for some discussion, just keep it somewhat interesting please
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 03:57:51
|
tell me how we're all going to be fucked real good and long by daddy google, and how we're all gonna not choke on the CO2 their server farms are going to churn out for our benefit!
|
|
2021-06-21 03:58:15
|
they're gonna save SOOOO MANY SINGLE DIGIT PERCENTAGE POINTS ON COSTS FROM THIS YESSSSSSSSS
|
|
2021-06-21 03:58:23
|
*COUGH* FUUUUUCK YEAH IT'S SO GOOOOOD *HACK*
|
|
|
_wb_
|
2021-06-21 03:59:16
|
not sure what exactly your point is
|
|
|
Fox Wizard
|
2021-06-21 03:59:39
|
Probably just some low effort trolling <:feelsbanman:853990457453707285>
|
|
|
spider-mario
|
2021-06-21 03:59:39
|
are you okay? you seem a bit excited
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:00:31
|
yes, make sure to take your prescribed mood stabilizers. they're for your safety, <@!604964375924834314>
|
|
2021-06-21 04:00:50
|
wouldn't want you ever emotional about absolutely anything, because you might face the permanent dread of an impending death handed down to you by those occupying your time with trivial compression matters
|
|
2021-06-21 04:01:45
|
since all action is better done yesterday, make sure to take twice as many to catch up to all that missed time when you were too busy with those nasty feelings, right?
|
|
|
_wb_
|
2021-06-21 04:02:21
|
maybe you want to take that to <#806898911091753051> , <@!856560637986209862>
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:02:30
|
lmfao, he did it
|
|
2021-06-21 04:02:34
|
he did the funny
|
|
|
improver
|
2021-06-21 04:02:58
|
weak. are you even trying
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:03:04
|
maybe you want to take this entire specification and do something altogether more better with your time: necking the fucks who are planning on starving your oxygen rich environment
|
|
2021-06-21 04:03:30
|
after all, oxygen's such a nasty interactive chemical. you wouldn't want those harsh TOXINS in your breath, right?
|
|
|
improver
|
2021-06-21 04:04:21
|
should blackpill them about political issues around formats and AVIF and stuff but you're just pushing generic baits, idgi
|
|
|
|
Deleted User
|
2021-06-21 04:04:31
|
<:BanHammer:805396864639565834>
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:04:47
|
yes, your specific brand of outrage is the ONE TRUE CAUSE, very online(tm) discord user <@!260412131034267649>
|
|
|
improver
|
2021-06-21 04:05:02
|
thank you for kind words
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:05:05
|
keep up the good work generating all that sweet data meat while your diet is reduced to ascetism to keep shareholders fat
|
|
|
spider-mario
|
2021-06-21 04:05:13
|
honestly, don’t you have anything better to do with your time?
|
|
2021-06-21 04:05:17
|
that’s kind of sad
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:05:44
|
says the motherfucker supposedly working on a REVOLUTIONARY techonlogy that will UTTERLY CHANGE THE WEB FOREVER
|
|
|
_wb_
|
2021-06-21 04:05:49
|
I will wait for something that is actually on topic
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:05:51
|
you all responded instantly
|
|
|
spider-mario
|
2021-06-21 04:05:52
|
nah, I’m on vacation
|
|
2021-06-21 04:05:55
|
but thanks for your concern
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:05:59
|
yes, vacation
|
|
2021-06-21 04:06:01
|
IN YOUR WORK DISCORD
|
|
2021-06-21 04:06:05
|
you are so hopelessly deluded
|
|
|
improver
|
2021-06-21 04:06:10
|
imagine having so much free time to join image format discord server and just throw generic baits. i sorta envy you
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:06:25
|
KEEP LOGGING ON AND MAKE SURE THAT BLACK MIRROR DOESN'T REFLECT ON YOURSELF ANY LONGER, RIGHT
|
|
|
Fox Wizard
|
2021-06-21 04:06:27
|
<a:FrogPopcorn:821038588301017168>
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:06:34
|
imagine starting a fucking discord server for a fucking image format
|
|
|
|
Deleted User
|
|
improver
imagine having so much free time to join image format discord server and just throw generic baits. i sorta envy you
|
|
2021-06-21 04:06:53
|
Even I don't have that much time, damn
|
|
|
_wb_
|
2021-06-21 04:06:55
|
what exactly is your point? that Google is evil?
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:07:03
|
the average productivity skyrockets and this is the only thing left in the weakened mind of a completely subjugated class
|
|
2021-06-21 04:07:13
|
but let's all get REAL EXCITED FOR NEW SHINY THINGS
|
|
2021-06-21 04:07:19
|
NEW SHINY FOR THE NEXT HUNDRED YEARS MORTY
|
|
|
BlueSwordM
|
|
HAHAHAHAHAHAHA
but let's all get REAL EXCITED FOR NEW SHINY THINGS
|
|
2021-06-21 04:07:31
|
Yeah, shiny new tech is really exciting, with all the beautiful math and science 😛
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:07:32
|
HUNDRED YEARS NEW BARELY FEASIBLE DESTANDARDIZATION MORTY
|
|
|
_wb_
|
2021-06-21 04:07:42
|
If you want to do some marxist socio-economic analysis, I'm all for it, but let's maybe take it to <#806898911091753051> then
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:07:48
|
i turned myself into a bunch of adderall'd up devs morty
|
|
2021-06-21 04:07:52
|
i'm fickle riiiiiiick
|
|
|
BlueSwordM
|
2021-06-21 04:08:23
|
<@!794205442175402004> I think it would be right to ban him.
|
|
2021-06-21 04:08:32
|
He does not seem to wan to have productive discussions.
|
|
|
|
HAHAHAHAHAHAHA
|
|
BlueSwordM
<@!794205442175402004> I think it would be right to ban him.
|
|
2021-06-21 04:09:07
|
the most common moronic discord user stereotype
|
|
2021-06-21 04:09:17
|
prod your authority figures to restore your comfort
|
|
2021-06-21 04:09:20
|
never face any conversation
|
|
2021-06-21 04:09:30
|
LET'S TALK PAST EACH OTHER FOR TWENTY YEARS MORTY
|
|
|
BlueSwordM
|
2021-06-21 04:09:32
|
Well one question HAHA, what is your interest being in this Discord server?
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:09:36
|
IT'S ABOUT THE DIALOG AM I RIGHT
|
|
2021-06-21 04:09:50
|
if you paid a single fucking moment of attention and read what i said you'd have a clue
|
|
2021-06-21 04:10:07
|
and yet you'd rather do the hackernews skim on literally everything you ever do
|
|
2021-06-21 04:10:19
|
in the overwhelming anxiety of time robbed from you by those who profit from it
|
|
2021-06-21 04:10:27
|
and it's my fault, right?
|
|
|
_wb_
|
2021-06-21 04:10:37
|
do you know how to switch channels in discord?
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:10:46
|
blame the ones sitting here with you in the cancerous fumes of this orgy of attention
|
|
|
BlueSwordM
|
2021-06-21 04:10:47
|
It may not be your fault, but let's move to <#806898911091753051> please <@!856560637986209862> if you want to discuss more about this.
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:11:02
|
if you don't think this is on topic, you're not awake
|
|
2021-06-21 04:11:24
|
don't post memes in general! back to my discussion about how the age of consent should be reduced to pre-term. ~ discord opers
|
|
|
_wb_
|
2021-06-21 04:12:17
|
so what is the thing you want to say about jpeg xl?
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:12:33
|
man i wonder if the eight pages of scrollback might have some hints
|
|
|
_wb_
|
2021-06-21 04:12:41
|
not really
|
|
|
improver
|
2021-06-21 04:12:44
|
they do not
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:12:54
|
but there's no git commit message so i'll just piss my pants and demand a from-first-principles rewrite instead!!
|
|
|
_wb_
|
2021-06-21 04:13:15
|
I sense some frustration
|
|
|
BlueSwordM
|
2021-06-21 04:13:20
|
There is a git commit message history now however <:Thonk:805904896879493180>
https://github.com/libjxl/libjxl/commits/main
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:13:53
|
this kind of retardation can only be maintained through a progressive rate of exploitation implemented over generations
|
|
2021-06-21 04:14:03
|
your peers at your age were given resources beyond your wildest fucking dreams
|
|
2021-06-21 04:14:40
|
you'll be working on your 2013 macbook that fell off of a fucking truck your entire life and think it's the grace of god to get PAID for the code you used to secure another dividend-paying stock you'll never be able to afford
|
|
2021-06-21 04:15:26
|
and the moment someone offers you an upgrade and an office you'll atomize into ecstasy because of how starved you are for acceptance by the overwhelming triangulation of your only remnant social circles: coworkers
|
|
|
_wb_
|
2021-06-21 04:15:58
|
https://tenor.com/view/tevye-fiddler-on-the-roof-projection-gif-18152052
|
|
|
BlueSwordM
|
2021-06-21 04:16:06
|
Well, projection much <:kekw:808717074305122316>
|
|
2021-06-21 04:16:08
|
Anyway, HAHAHA, how is your job related to image/video/audio coding? What is your field of interest?
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:16:20
|
yes, dig out your 2014 conversation cointelpro techniques that were used to undermine your fucking elections
|
|
2021-06-21 04:16:41
|
a teleoplexic spectacle just to replace the utter banality of television
|
|
|
egasimus | Fadroma | Hack.bg
|
2021-06-21 04:17:14
|
came here for the automaton art but this is way better
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:17:15
|
my field of interest is exactly what this project's true goal is: the extraction of what a devout christian could only reason about through the term "soul"
|
|
|
_wb_
|
2021-06-21 04:17:29
|
I think it might be wise to take a little break, <@!856560637986209862>, and think a bit about what it actually is that you want to say
|
|
|
improver
|
2021-06-21 04:17:39
|
tfw jxl is literally satanism
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:17:39
|
you name the fucking newcomers "neophytes" in your desperation for purpose
|
|
|
improver
tfw jxl is literally satanism
|
|
2021-06-21 04:18:24
|
you've been taught to generalize everything you can't understand so that your assumptions can never approach coming to terms with an author
|
|
2021-06-21 04:18:34
|
to parasitize all dialog for your own emboldenment
|
|
|
_wb_
|
2021-06-21 04:18:36
|
neophyte literally means the same thing as newcomer
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:18:46
|
another generalization to meaninglessness
|
|
2021-06-21 04:19:26
|
i can think of a few slurs that only mean "the color or mannerisms of a particular person," and if i said that to anyone with two fucking brain cells they'd meaningfully and rightfully disagree with the idea that my words don't carry meaning beyond my own immediate control
|
|
|
improver
|
2021-06-21 04:19:30
|
google is doing good work, that's why everyone pay them, you're just being jealous
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:19:43
|
which is why we fucking choose them, not lackadaisically piss them onto the concepts we mean to represent
|
|
|
improver
google is doing good work, that's why everyone pay them, you're just being jealous
|
|
2021-06-21 04:19:56
|
possession of
|
|
2021-06-21 04:20:07
|
whoops, fat hand.
|
|
|
BlueSwordM
|
2021-06-21 04:20:15
|
You are quite funny, but I have to ask: why come here in the first place?
I mean, it's not like you insulting us for being unproductive while you are being unproductive is really convincing.
|
|
|
|
HAHAHAHAHAHAHA
|
|
improver
google is doing good work, that's why everyone pay them, you're just being jealous
|
|
2021-06-21 04:20:19
|
possession of the doctrinal body by the devil, am i right ladies
|
|
|
improver
|
2021-06-21 04:20:27
|
too frustrated by truth to type huh
|
|
|
|
HAHAHAHAHAHAHA
|
|
BlueSwordM
You are quite funny, but I have to ask: why come here in the first place?
I mean, it's not like you insulting us for being unproductive while you are being unproductive is really convincing.
|
|
2021-06-21 04:20:37
|
yes, smokers telling you to stop smoking are such UTTER RETARDS, RIGHT? HAHAHAHAHAHAHAHAHAHAHA
|
|
2021-06-21 04:20:47
|
*huffs exhaust*
|
|
2021-06-21 04:20:55
|
THIS IS KILLING ME
|
|
2021-06-21 04:21:01
|
*injects gasoline*
|
|
2021-06-21 04:21:03
|
DO NOT DO THIS
|
|
2021-06-21 04:21:10
|
hahahahahahaha, hypocrites are just WRONG AND STUPID
|
|
|
BlueSwordM
|
2021-06-21 04:21:13
|
No, I'm just saying that while you are saying some truths, you are mixing it with a lot of crap.
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:21:18
|
BETTER GET THE PUMP GOIN
|
|
|
egasimus | Fadroma | Hack.bg
|
|
BlueSwordM
No, I'm just saying that while you are saying some truths, you are mixing it with a lot of crap.
|
|
2021-06-21 04:21:40
|
this is only ok if you're a corporation
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:21:52
|
sed s/saying/backpedaling
|
|
2021-06-21 04:22:25
|
googol big bwain. googol give me headpat. heckin doggo pupper is a cute and need imeg formot.
|
|
|
BlueSwordM
|
2021-06-21 04:22:33
|
Another question HAHAHA: which image format do you think has the highest chance of winning the "format" war? JPEG-XL or AVIF?
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:22:36
|
googol want me make good doggo imog fomot.
|
|
2021-06-21 04:22:48
|
me wouldn't wanna miss out on da fomot of a wifetime...
|
|
2021-06-21 04:22:55
|
while they reduce that lifetime precipitously
|
|
|
_wb_
|
|
_wb_
I think it might be wise to take a little break, <@!856560637986209862>, and think a bit about what it actually is that you want to say
|
|
2021-06-21 04:23:05
|
this was the last warning, <@!856560637986209862>
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:23:10
|
your entire fucking planet will be uninhabitable in any present form by the end of your lifetime
|
|
|
_wb_
|
2021-06-21 04:23:48
|
(kicked)
|
|
|
|
HAHAHAHAHAHAHA
|
2021-06-21 04:24:28
|
jxl will spin on the remnant devices that supersede you until the power grid fails under its own unmaintained weight
|
|
2021-06-21 04:24:46
|
google will pay no taxes nor licenses and you will have your house foreclosed
|
|
|
_wb_
|
2021-06-21 04:25:18
|
<:BanHammer:805396864639565834>
|
|
|
fab
|
2021-06-21 04:27:37
|
you're right we need psychiatrian
|
|
|
_wb_
|
2021-06-21 04:28:12
|
I don't mind some discussion but it has to be somewhat productive
|
|
2021-06-21 04:28:31
|
Not lunatic ranting like that
|
|
|
fab
|
2021-06-21 04:29:54
|
ban him
|
|
|
BlueSwordM
|
|
fab
ban him
|
|
2021-06-21 04:30:10
|
Already banned Fabian.
|
|
2021-06-21 04:31:11
|
So, this post is interesting:
https://old.reddit.com/r/AV1/comments/o433uq/avif_decode_in_modern_browsers/
|
|
2021-06-21 04:31:23
|
Why would he need to load AVIF images using WASM?
|
|
2021-06-21 04:31:40
|
Firefox and Chromium both have dav1d for decoding.
|
|
|
improver
|
2021-06-21 04:32:11
|
iirc firefox not quite yet
|
|
|
fab
|
2021-06-21 04:33:50
|
another account appeared
|
|
|
improver
|
2021-06-21 04:35:31
|
HN frontpage naturally brings in some popularity, so yeah. shouldn't suspect all new accounts
|
|
|
_wb_
|
|
BlueSwordM
Why would he need to load AVIF images using WASM?
|
|
2021-06-21 04:54:00
|
I assume for Safari / old browsers? But wasm polyfills are not a great idea, better to just use jpeg/webp fallback
|
|
|
BlueSwordM
|
|
_wb_
I assume for Safari / old browsers? But wasm polyfills are not a great idea, better to just use jpeg/webp fallback
|
|
2021-06-21 04:54:29
|
Yeah, only using one format for everything is not a good idea 😛
|
|
|
_wb_
|
2021-06-21 04:56:15
|
maybe in 3-4 years when all browsers support jxl it will be a good idea 🙂
|
|
2021-06-21 04:56:45
|
(optimistic me speaking here)
|
|
|
Scope
|
2021-06-23 06:10:57
|
https://twitter.com/nucknyan/status/1407559849991311361
|
|
|
_wb_
|
2021-06-23 07:56:57
|
Some twitter discussion later:
|
|
2021-06-23 07:57:23
|
https://twitter.com/nucknyan/status/1407788560481067009?s=19
|
|
|
monad
|
2021-06-23 08:14:39
|
It's curious how many people express opinions against innovation (at least, relative to it's novelty).
|
|
|
_wb_
|
2021-06-23 08:24:25
|
Tbh I think here she just wants to get whatever next-gen codec (avif or jxl) universally supported so she can start using it. She'd probably prefer it to be jxl, but she'd rather have avif now then jxl later, which mostly just demonstrates how much people really do want to have better image compression on the web.
|
|
|
fab
|
2021-06-23 08:27:02
|
I answered to her
|
|
|
_wb_
|
2021-06-23 08:27:04
|
It's somewhat frustrating that typical reactions we get are either "jpeg is good enough, who cares about compression? Bandwidth is not an issue for images" or "avif has won and jxl is dead on arrival, end of story, you lost the race, avif was there first, they won"
|
|
|
|
Deleted User
|
2021-06-23 10:20:44
|
Is there a way to make browsers prerender images that are currently hidden but might become visible any second? This would help to mask the low decode speed of JXL alpha.
|
|
|
incredible_eagle_68175
|
|
_wb_
Tbh I think here she just wants to get whatever next-gen codec (avif or jxl) universally supported so she can start using it. She'd probably prefer it to be jxl, but she'd rather have avif now then jxl later, which mostly just demonstrates how much people really do want to have better image compression on the web.
|
|
2021-06-23 11:19:11
|
Why don’t browsers just support both codecs and move on. They have an obscene amount of features anyway
|
|
2021-06-23 11:19:23
|
That’s what I would do if I led the chromium project
|
|
2021-06-23 11:19:37
|
And this was what Google did with Chrome before it became the dominant browser
|
|
2021-06-23 11:19:52
|
Now that they are on top they can afford to be “slow” on stuff
|
|
|
monad
|
2021-06-24 01:41:32
|
First, "How about we try to improve AVIF encoders and decoders instead?"
Then, "we need any format spec to be public so creative new approaches can be written against it"
I agree with the philosophical argument of the latter, but this is still an ironic turn.
|
|
|
incredible_eagle_68175
|
2021-06-24 04:11:39
|
Facebook outage today related to jxl transition? Maybe they are getting ready for it
|
|
|
diskorduser
|
2021-06-24 04:12:59
|
I don't think so.
|
|
|
improver
|
2021-06-24 07:02:41
|
ye, doubt it's related at all
|
|
2021-06-24 07:03:20
|
never heard of z-lib. just how many of these libs there are
|
|
|
190n
|
2021-06-24 07:05:26
|
zlib is an implementation of the deflate compression algorithm. it's used by libpng.
|
|
|
improver
|
2021-06-24 07:08:31
|
correct. also there's zlib-ng which is p cool
|
|
|
190n
|
2021-06-24 04:15:54
|
oh lol i mixed up zlib and z-lib[rary]
|
|
|
incredible_eagle_68175
|
2021-06-24 10:58:23
|
Both are good resources
|
|
|
raysar
|
2021-06-25 01:31:12
|
Oh great <:Poggers:805392625934663710> i see the iso pdf, but "chut" it's a secret 😄
|
|
2021-06-25 01:42:34
|
Is it safe to speak about that in public? And say: "look it's open source code, spec are standardized and freeze, and you can READ the spec, use it NOW ! avif suck" 😄
|
|
2021-06-25 03:21:24
|
It's only because some people don't want to use it because they don't have spec ... Not for creating an other encoder XD
|
|
|
_wb_
|
2021-06-25 05:18:53
|
Yes. AVIF's spec is basically on git, which is nice, but also means it's a moving target because making a change is easy (it's just getting a pull request merged).
|
|
2021-06-25 05:19:50
|
So you can implement it, but then you better keep watching it because it's still evolving
|
|
|
|
guesst
|
2021-06-25 05:21:05
|
Are additional channels implemented? (in the latest reference lib)
|
|
|
_wb_
|
|
guesst
Are additional channels implemented? (in the latest reference lib)
|
|
2021-06-25 05:24:38
|
Partially. I don't think we have an api yet to get extrachannels besides alpha. But they do get decoded, it's just a matter of figuring out a good way to expose them. Spot color channels cannot be retrieved yet because of this, but the decoder will merge them with the RGB data it returns so at least you can see them in viewers.
|
|
|
|
guesst
|
|
_wb_
Partially. I don't think we have an api yet to get extrachannels besides alpha. But they do get decoded, it's just a matter of figuring out a good way to expose them. Spot color channels cannot be retrieved yet because of this, but the decoder will merge them with the RGB data it returns so at least you can see them in viewers.
|
|
2021-06-25 05:28:28
|
ahh nice, i was reading this https://gitlab.com/wg1/jpeg-xl/-/issues/148 and this is similar requirements i have (storing additional per pixel lossless data)
|
|
|
_wb_
|
2021-06-25 05:32:24
|
We haven't priotized this because browsers don't need it, but maybe it's time we start adding that. <@768090355546587137> WDYT?
|
|
|
|
guesst
|
|
_wb_
We haven't priotized this because browsers don't need it, but maybe it's time we start adding that. <@768090355546587137> WDYT?
|
|
2021-06-25 05:36:26
|
Would be great to have this working, JPEG XL is perfect for high performance desktop applications ... currently we're crawling along with webp on browsers 😄
|
|
|
raysar
|
2021-06-25 04:27:32
|
I'm testing photoshop CC2019 what a *** joke, it does not support APNG to create animate picture, only gif ... adobe is a joke. I don't understand why people give us money.
|
|
|
fab
|
2021-06-25 04:35:03
|
to me jpeg xl needs at least 37 improvements like that 0,14% ringing one
|
|
2021-06-25 04:35:17
|
to become acceptable to implement on squoosh
|
|
2021-06-25 04:35:34
|
before the difference isn't actually visible
|
|
|
diskorduser
|
2021-06-25 05:13:53
|
Why 37 improvements. Are you from future?
|
|
|
BlueSwordM
|
2021-06-25 05:14:42
|
Yes.
|
|
2021-06-25 05:14:57
|
He is indeed from the future <:Stonks:806137886726553651>
|
|
|
Scope
|
2021-06-25 05:16:45
|
36.9703851 improvements, to be exact
|
|
|
lithium
|
2021-06-25 05:20:40
|
Maybe CERN have some secret time machine research?
|
|
|
Scope
|
2021-06-25 07:55:48
|
Sometimes it's hard to understand Japanese even with the translation, but here the point is roughly understandable
https://twitter.com/a4lg/status/1408412785529131009
|
|
2021-06-25 07:56:05
|
|
|
2021-06-25 08:00:14
|
Like JPEG = for lossy and strange when it can encode and be good in lossless
|
|
|
improver
|
2021-06-25 08:04:57
|
shoudve been PNG XL
|
|
|
_wb_
|
2021-06-25 08:05:27
|
JXL
|
|
2021-06-25 08:05:46
|
Jon's eXtra Lossless codec
|
|
|
diskorduser
|
2021-06-26 04:40:01
|
Noooooo. Fxl is reserved to fabian. 😹
|
|
|
_wb_
|
2021-06-26 05:20:54
|
JXL is basically the combination of Jyrki's eXcellent Lossy and Jon's eXtra Lossless
|
|
2021-06-26 05:44:29
|
Just kidding btw with those names, others have also contributed big parts of the codec
|
|
2021-06-26 05:45:01
|
Luca, Lode, Sami, Jan, etc
|
|
|
bonnibel
|
2021-06-27 08:53:29
|
jpeg x-3j2ls-et-al.
|
|
2021-06-27 08:58:08
|
unrelatedly
i'm trying to pick some branding colours and i'm wondering if there's like, any mathematical rule of thumb to give a reasonable chance the colours i pick can be represented reasonably accurately by a decent printer
|
|
2021-06-27 08:58:27
|
i know it really depends on the individual printer which colours are representable
|
|
2021-06-27 08:58:56
|
hence why i'm saying "rule of thumb" here
|
|
|
spider-mario
|
2021-06-27 10:12:17
|
maybe one approach could be to find a bunch of printer ICC profiles, plot their gamuts, and see roughly where most of them overlap
|
|
|
bonnibel
|
2021-06-28 12:13:53
|
https://photosauce.net/blog/post/what-makes-srgb-a-special-color-space
|
|
2021-06-28 12:14:46
|
> So unlike every normal color space -- where you can calculate both the forward and inverse matrices to arbitrary precision by starting from the x,y values -- with sRGB you can only get the correct values by starting from the unambiguously specified forward matrix, rounded to exactly 4 decimal places.
|
|
2021-06-28 12:15:13
|
> the whitepoint is intentionally not exactly D65, because it’s based on intentionally rounded colorants. This is not a matter of them being imprecise. Rather, they are precisely defined as being very slightly different from Rec.709. You can't calculate them 'more precisely' by going back to the x,y coordinates because they are already precisely and unambiguously defined in the spec.
|
|
2021-06-28 12:15:20
|
i'm learning a lot today
|
|
|
fab
|
2021-06-28 08:28:29
|
not good
|
|
2021-06-28 08:28:41
|
42% reduction is even not good
|
|
2021-06-28 08:28:45
|
we need more
|
|
2021-06-28 08:28:55
|
i had 5 mb to 1,8 mb size reduction
|
|
2021-06-28 08:28:58
|
still not happy
|
|
2021-06-28 08:29:03
|
even if the bpp is 2.923 bpp
|
|
|
improver
|
2021-06-28 09:08:56
|
yeah modular reductions are usually v good for animey kind of stuff
|
|
2021-06-28 09:09:12
|
even if sourced from jpgs
|
|
|
fab
|
2021-06-28 09:11:09
|
nek is 37% not 63%
|
|
2021-06-28 09:11:17
|
-37%
|
|
|
improver
|
2021-06-28 09:12:30
|
that's v good for lossless.
|
|
2021-06-28 09:15:34
|
also if you knew english you'd notice that 63% is not reduction amount but fraction of original (63 + 37 = 100)
|
|
2021-06-28 09:17:45
|
37% reduction sounds not really huge tho did you try slower speed
|
|
2021-06-28 09:19:04
|
i suspect itd squeeze stuff out more at -s 9
|
|
2021-06-28 09:24:57
|
huh so 42.3% reduction. kinda same as what fabian said. idk why one would consider that not good tho lol
|
|
2021-06-28 09:29:56
|
something i could use for batch recompressing my downloads folder tho
|
|
2021-06-28 09:30:12
|
like in background
|
|
2021-06-28 09:30:22
|
just leaving it overnight
|
|
|
Crixis
|
2021-06-28 09:36:06
|
For m you want to use -Q
|
|
2021-06-28 09:36:21
|
No -d
|
|
2021-06-28 09:36:25
|
Or -q
|
|
|
improver
|
2021-06-28 09:37:44
|
tbh -q and -d should err or warn or something like that when they get forced -m
|
|
|
Crixis
|
2021-06-28 09:38:33
|
In my undestending you can use -d and -Q in the same image for mix content
|
|
|
improver
|
2021-06-28 09:38:48
|
ot: lighting looks really weird in that image 3d perspective wise
|
|
2021-06-28 09:38:58
|
cannot unsee rip
|
|
|
Crixis
|
2021-06-28 09:40:22
|
q 95/96 not remember precisly
|
|
|
lithium
|
2021-06-28 09:41:09
|
-d 0.5 == -q 95
|
|
|
Crixis
|
2021-06-28 09:41:17
|
d 1 is q 90
|
|
|
improver
|
2021-06-28 09:42:36
|
not criticising their work in general, its nice, just something what i noticed and makes me aaaaaaaa
|
|
|
fab
|
2021-06-28 09:43:47
|
-d will show after you type a q
|
|
2021-06-28 09:43:55
|
but not the opposite
|
|
2021-06-28 09:43:58
|
this is a bug
|
|
2021-06-28 09:44:15
|
you could compress an image
|
|
2021-06-28 09:44:18
|
is 5,5 mb
|
|
|
improver
|
2021-06-28 09:44:19
|
did it switch to vardct
|
|
2021-06-28 09:44:27
|
try -Q
|
|
|
fab
|
2021-06-28 09:44:33
|
do -s 9 -q 100 -E 3
|
|
|
Crixis
|
2021-06-28 09:45:36
|
-m -Q 99 is rarely best then -m in my test
|
|
|
fab
|
2021-06-28 09:45:52
|
i'm uploading
|
|
2021-06-28 09:46:40
|
|
|
2021-06-28 09:46:55
|
who wants to try you need only 5/22 minutes of time
|
|
2021-06-28 09:47:09
|
reply to this message
|
|
|
lithium
|
2021-06-28 09:48:45
|
Not recommend use lossy modular for now.
|
|
|
fab
|
2021-06-28 09:49:55
|
-q 100 is lossless
|
|
2021-06-28 09:50:09
|
do -s 9 -q 100 -E 3
|
|
2021-06-28 09:50:16
|
I didn't added -m
|
|
2021-06-28 09:50:27
|
do same command as me with newer build
|
|
2021-06-28 09:50:46
|
with this image called windows 11
|
|
2021-06-28 09:50:48
|
A.png
|
|
2021-06-28 09:54:14
|
I'm waiting to receive the jxl
|
|
2021-06-28 10:04:26
|
use latest commit and do -s 9 -q 100 -E 3 with that image i uploaded is only 6 mpx
|
|
2021-06-28 10:04:40
|
it takes 22 minutes single core in a i3 330m
|
|
|
improver
|
2021-06-28 10:04:56
|
-E 3 and maybe -I 1
|
|
|
fab
|
2021-06-28 10:04:58
|
tell me also your processor and how many time it taked
|
|
2021-06-28 10:05:10
|
don't run nothing in that time
|
|
2021-06-28 10:05:15
|
only discord
|
|
2021-06-28 10:05:17
|
no youtube music
|
|
|
improver
|
2021-06-28 10:05:21
|
v v big tortoise flags
|
|
|
fab
|
2021-06-28 10:05:25
|
don't do -I I
|
|
|
lithium
|
2021-06-28 10:30:54
|
png pal7
Input file: E48AeCrUYAE0Fms.png | 454946 bytes
Image: 1287x1800 pixels | 8 bits/sample | Indexed | 128 color(s)
Delta filter: None
Chunks: only critical
|
|
|
improver
|
2021-06-28 10:31:53
|
i gonna try v v big tortoise flags on my zen2
|
|
2021-06-28 10:32:25
|
it's entry lvl zen2 but still shouldn't be too awfuly slow i think
|
|
2021-06-28 10:39:40
|
```
cjxl -m -s 9 -E 3 -I 1 E48AeCrUYAE0Fms.png E48AeCrUYAE0Fms.png.ms9E3I1.jxl 62.68s user 0.11s system 100% cpu 1:02.17 total
454946 E48AeCrUYAE0Fms.png
260239 E48AeCrUYAE0Fms.png.ms9E3I1.jxl
```
|
|
2021-06-28 10:42:26
|
so uhh 1 minute i guess, and i think further reduction is not that big
|
|
|
fab
|
2021-06-28 12:29:16
|
Calculations
The percentage decrease was equal to -42.8%. 260239 is 57.2% of 454946. In absolute value, the decrease was -194707
|
|
|
lithium
|
2021-06-28 01:25:59
|
ryzen 5 Summit Ridge 6c12t 20~30s
> -m -q 100 -s 9 -g 3 -E 3 -I 1 --num_threads=12
|
|
2021-06-28 01:32:37
|
Some lossless compress step can't optimize for multithreading,
so I think best way is async and concurrent execute cjxl .
|
|
2021-06-28 01:35:20
|
Like lzma2 use multithreading will reduce compression rate, so some people like use lzma or lzma 4x4.
|
|
|
raysar
|
2021-06-28 03:01:14
|
i create a chart for that 🤓 (tab quality)
https://docs.google.com/spreadsheets/d/1bTeraUXIl-nGM8c53IdURxmJbabX9eXqPZwVSynoH9U/edit?usp=sharing
|
|
|
Jyrki Alakuijala
|
|
bonnibel
unrelatedly
i'm trying to pick some branding colours and i'm wondering if there's like, any mathematical rule of thumb to give a reasonable chance the colours i pick can be represented reasonably accurately by a decent printer
|
|
2021-06-28 08:39:44
|
I have seen printer drivers to do terrible things. Especially so for printing colors as a grayscale image.
|
|
|
_wb_
|
|
bonnibel
unrelatedly
i'm trying to pick some branding colours and i'm wondering if there's like, any mathematical rule of thumb to give a reasonable chance the colours i pick can be represented reasonably accurately by a decent printer
|
|
2021-06-28 08:46:15
|
Probably best to go for things that correspond to enough CMY ink but not too much - things look best if it's not too bright to require very sparse dots, and not too dark to require K to avoid too much ink coverage. At least that's my very unprofessional gut feeling 😅
|
|
|
Jyrki Alakuijala
|
|
fab
to me jpeg xl needs at least 37 improvements like that 0,14% ringing one
|
|
2021-06-28 08:46:46
|
Will do! 😄
|
|
|
_wb_
|
2021-06-28 08:49:54
|
Something like pure cyan should always look nicer (basically using the process colors as spot colors) than something like 10% cyan 70% magenta 20% yellow which will have more visible dot patterns
|
|
|
bonnibel
|
2021-06-28 08:51:36
|
🤔 a clown business intentionally making their prints as spotty as possible
|
|
2021-06-28 08:53:42
|
a clown-themed retro video game company so all the prints can be spotty and all the images on the website are pixel art with a small palette
|
|
|
Pieter
|
2021-06-29 05:21:50
|
|
|
2021-06-29 05:22:06
|
(from https://www.reddit.com/r/woahdude/comments/o9ilda/only_the_stripes_are_colored_and_the_brain_does)
|
|
2021-06-29 05:22:37
|
Nice demonstration of extreme color subsampling.
|
|
|
_wb_
|
2021-06-29 10:16:04
|
I first had to make it actually work 😅
https://github.com/libjxl/libjxl/pull/237
|
|
2021-06-29 10:16:33
|
i'll add a test image for it soon
|
|
2021-06-29 11:14:13
|
https://github.com/libjxl/conformance/tree/master/testcases/cmyk_layers
|
|
|
improver
|
|
lithium
|
2021-07-01 10:37:45
|
Efficient Rendering of Heterogeneous Poly-Disperse Granular Media
> We address the challenge of efficiently rendering massive assemblies of grains within a forward path-tracing framework.
https://studios.disneyresearch.com/2016/11/11/efficient-rendering-of-heterogeneous-poly-disperse-granular-media/
|
|
|
fab
|
2021-07-03 11:11:33
|
reshade program detected the track and lost license + watermark
|
|
|
|
Stan
|
|
_wb_
https://github.com/libjxl/conformance/tree/master/testcases/cmyk_layers
|
|
2021-07-05 09:24:35
|
Hi, where can I find bitstream code specification?
|
|
|
monad
|
2021-07-05 09:30:44
|
Officially, from ISO.
|
|
|
_wb_
|
2021-07-05 09:56:38
|
The reference software is an executable specification
|
|
|
spider-mario
|
2021-07-05 12:24:14
|
I have been playing a little with Nix (https://nixos.org/download.html) yesterday and wrote this small `shell.nix` with which `nix-shell` can drop you in a shell with all jxl dependencies installed (including clang):
```nix
{ pkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/21b696caf392ad6fa513caf3327d0aa0430ffb72.tar.gz") {} }:
pkgs.llvmPackages_12.stdenv.mkDerivation {
name = "jxl-dev-shell";
buildInputs = [
# Core build tools.
pkgs.cmake
pkgs.ninja
pkgs.which
# For building the documentation.
pkgs.asciidoc
pkgs.python3
pkgs.doxygen
pkgs.graphviz-nox
# Optional but makes the command-line tools more useful.
pkgs.pkg-config-unwrapped
pkgs.giflib
pkgs.libavif
pkgs.libjpeg # This is libjpeg-turbo, can be replaced with pkgs.mozjpeg if desired.
pkgs.libpng
pkgs.libwebp
pkgs.openexr
# Optional. For the plugins.
pkgs.gdk-pixbuf
pkgs.gimp
pkgs.gtk2
# Optional and very large. For building the comparison tools.
pkgs.extra-cmake-modules
pkgs.libsForQt5.qt5.qtbase
pkgs.libsForQt5.qt5.qtimageformats
pkgs.libsForQt5.qt5.qttools
pkgs.libsForQt5.qt5.qtx11extras
];
}
```
|
|
2021-07-05 12:25:41
|
if leaving everything in, it uses quite a lot of disk space (~2 GB)
|
|
2021-07-05 12:25:45
|
but at least it’s convenient
|
|
2021-07-05 12:25:51
|
and reproducible thanks to the pinning at the top
|
|
|
diskorduser
|
2021-07-05 06:13:33
|
What is the proper way to use ccache when building libjxl?
|
|
|
spider-mario
|
|
diskorduser
What is the proper way to use ccache when building libjxl?
|
|
2021-07-05 06:55:23
|
passing `-DCMAKE_C{,XX}_COMPILER_LAUNCHER=ccache` to cmake should do it
|
|
|
diskorduser
|
2021-07-05 07:23:27
|
Thanks
|
|
|
w
|
2021-07-05 08:17:23
|
so i have discovered that some grayscale(1 channel) jpg transcoded to jxl images are being decoded as rgb green(through api when out format is 4 channel) and completely black using djxl or output 1 channel
|
|
2021-07-05 08:17:26
|
anyone know if this is a bug or a feature?
|
|
|
improver
|
2021-07-05 08:54:46
|
I doubt that it's a feature
|
|
|
w
|
2021-07-05 08:55:24
|
who do i complain to
|
|
|
improver
|
2021-07-05 08:56:55
|
asking it here is pretty okay already i think though you can make an issue on libjxl github if you want to
|
|
2021-07-05 08:57:48
|
include image this happens with when doing so
|
|
|
w
|
2021-07-05 10:29:46
|
well it's more easily reproducible than i had thought
|
|
2021-07-05 10:30:28
|
$ cjxl test.jpg test.jxl
|
|
2021-07-05 10:42:24
|
well anyway i found that converting it to grayscale png then to lossless jxl is somehow significantly more efficient than just the lossless transcode of grayscale jpg
|
|
|
improver
|
2021-07-05 10:58:49
|
converting jpg will involve lossless jpeg recompression mode which is fully reversible into original jpg. converting png wont do that it'll have more choices but u wont be able to undo that action and get back byte-by-byte identical file
|
|
2021-07-05 10:59:27
|
it sounds like a bug is in jpeg recompression mode
|
|
|
w
|
2021-07-05 11:00:42
|
i'll take the smaller jxl so 🤷♂️
|
|
2021-07-05 11:01:48
|
actually nevermind i just encoutered it being bigger
|
|
2021-07-05 11:02:16
|
oh that's if it's not bugged
|
|
|
improver
|
2021-07-05 11:02:50
|
if you give cjxl `-j` flag it will not do lossless jpeg recompression stuff
|
|
|
w
|
2021-07-05 11:04:16
|
is that supposed to fail for jpg input
|
|
|
improver
|
2021-07-05 11:04:34
|
i think it shouldn't?
|
|
|
Cool Doggo
|
2021-07-05 11:04:44
|
works fine
|
|
|
w
|
2021-07-05 11:05:59
|
<:thinkRaging:608369431730585642>
|
|
|
improver
|
2021-07-05 11:06:06
|
cjxl'ing that file indeed makes it green i wonder why
|
|
|
Cool Doggo
|
|
improver
|
2021-07-05 11:06:58
|
djxl fully restores file though
|
|
|
Cool Doggo
|
2021-07-05 11:07:05
|
oh i see
|
|
2021-07-05 11:07:11
|
the preview wasnt working
|
|
|
w
|
2021-07-05 11:07:35
|
when i djxl it, it's all black
|
|
|
improver
|
2021-07-05 11:07:55
|
what full command you use
|
|
|
w
|
2021-07-05 11:08:18
|
hmm it's only if i djxl to png
|
|
2021-07-05 11:08:53
|
that wont do though because i need this to work with the api
|
|
|
improver
|
2021-07-05 11:08:53
|
ah, that doesn't do jpeg reconstruction
|
|
|
w
|
2021-07-05 11:23:24
|
i guess ill hold off on transcoding the grayscale jpgs
|
|
|
improver
|
2021-07-05 11:26:49
|
make issue on github.com/libjxl/libjxl if youre not too lazy (or busy etc)
|
|
|
w
|
2021-07-05 11:29:01
|
damn it it's not just grayscale
|
|
2021-07-05 11:29:12
|
yeah will do now
|
|
|
improver
|
2021-07-05 11:57:50
|
if youre encoding manga kind of stuff, probably `-j` (if youre encoding from jpg) and `-m` can help
|
|
|
w
|
2021-07-05 11:58:21
|
was -j just added yesterday or something
|
|
2021-07-05 11:58:39
|
$ cjxl -j 33.jpg 33.jpg.jxl
JPEG XL encoder v0.3.7 [AVX2,SSE4,Scalar]
Failed to read image 33.jpg.
|
|
|
improver
|
2021-07-05 11:59:31
|
huh which version are you using
|
|
|
w
|
2021-07-05 11:59:40
|
i built from source which i pulled yesterday
|
|
|
improver
|
2021-07-06 12:00:06
|
no it should def work.. can you share image or it fails for everything?
|
|
|
w
|
2021-07-06 12:00:26
|
well i get the error for that test image i posted earlier
|
|
|
improver
|
2021-07-06 12:00:36
|
lemme try
|
|
2021-07-06 12:01:35
|
```
% cjxl -j -m test.jpg test1112.jxl
JPEG XL encoder v0.3.7 [AVX2]
Read 2400x3456 image, 225.4 MP/s
Encoding [Container | Modular, lossless, squirrel | 26-byte Exif], 6 threads.
Compressed to 8810 bytes (0.008 bpp).
2400 x 3456, 2.70 MP/s [2.70, 2.70], 1 reps, 6 threads.
Including container: 8888 bytes (0.009 bpp).
```
|
|
2021-07-06 12:01:37
|
works here
|
|
|
w
|
|
improver
|
2021-07-06 12:02:01
|
did you not have libjpeg compiled in
|
|
|
w
|
2021-07-06 12:02:12
|
maybe not
|
|
|
improver
|
2021-07-06 12:03:17
|
why does my stuff only show AVX2 and yours others too tho..?
|
|
|
Eugene Vert
|
|
improver
why does my stuff only show AVX2 and yours others too tho..?
|
|
2021-07-06 12:08:40
|
Mine has [AVX2,SSE4,Scalar] too, maybe your CPU doesn't have these instruction?
|
|
|
w
|
2021-07-06 12:10:52
|
well turns out you can't do transcoding without libjpeg
|
|
2021-07-06 12:11:10
|
still larger tho
|
|
|
BlueSwordM
|
|
improver
why does my stuff only show AVX2 and yours others too tho..?
|
|
2021-07-06 12:11:42
|
Your build might have compiler optimizations tuned for CPUs with AVX2, knowing that AVX2 supersedes AVX to SSE.
|
|
|
w
|
2021-07-06 12:11:59
|
where is -j documented?
|
|
2021-07-06 12:12:06
|
aom moment right here
|
|
|
improver
|
2021-07-06 12:12:39
|
`-v -v --help` shows everything
|
|
|
w
|
2021-07-06 12:13:09
|
who thought that was a good idea
|
|
|
improver
|
2021-07-06 12:13:19
|
not me
|
|
|
w
|
2021-07-06 12:15:53
|
well i guess i have to do both -j and not -j and compare for each
|
|
2021-07-06 12:17:04
|
unless that's already a thing
|
|
2021-07-06 12:17:08
|
hidden inside -v -v
|
|
|
improver
|
2021-07-06 12:17:13
|
tbh black and white manga stuff should really be something like png but some people think otherwise i guess
|
|
|
Eugene Vert
|
|
improver
cjxl'ing that file indeed makes it green i wonder why
|
|
2021-07-06 12:18:04
|
https://github.com/libjxl/libjxl/issues/248
https://github.com/libjxl/libjxl/pull/250
Works fine after this
|
|
|
w
|
2021-07-06 12:18:35
|
great it was totally this
|
|
2021-07-06 12:19:13
|
🤦 i was a few hours too early
|
|
|
improver
|
2021-07-06 12:19:33
|
hah 9 hours ago
|
|
|
diskorduser
|
2021-07-06 04:40:48
|
how to fix this?
|
|
|
spider-mario
|
2021-07-06 04:57:51
|
by assigning a profile to the monitor using colord (there is a `colormgr` command to do that, or various GUIs), ideally one created by profiling the monitor, but it’s also possible to create one from the monitor’s EDID
|
|
2021-07-06 04:58:04
|
doing it from the EDID is not perfect but likely better than nothing
|
|
|
diskorduser
|
2021-07-06 05:29:25
|
Error gone away after installing color-kde package. But it still crashes 😩
|
|
2021-07-06 05:31:09
|
I have one jxl in one folder and another jxl in another folder. Selected both folders in flicker-test tool. Am I using it wrong?
|
|
|
spider-mario
|
2021-07-06 05:35:51
|
a crash seems like an extreme reaction
|
|
2021-07-06 05:36:12
|
if you build it with CMAKE_BUILD_TYPE=Debug (or RelWithDebInfo) and run it in gdb, does it seem to give a useful stacktrace?
|
|
2021-07-06 05:36:50
|
(can just edit it in `CMakeCache.txt` and rebuild, it should take the new value into account)
|
|
2021-07-06 05:36:57
|
(or you can use a separate build folder)
|
|
|
fab
|
2021-07-06 05:56:09
|
sharpness
|
|
2021-07-06 05:56:10
|
for %i in (C:\Users\User\Documents\bil*.jpg) do cjxl -j -q 98.36 -s 7 --progressive --faster_decoding=1 --use_new_heuristics --epf=2 %i %i.jxl
|
|
2021-07-06 05:56:12
|
06052021
|
|
2021-07-06 05:56:18
|
deblocking
|
|
2021-07-06 05:56:46
|
for %i in (C:\Users\User\Documents\deblocking3\*.jpg) do cjxldeblocking -j -I 0.881 -s 1 -q 91.732 --gaborish=0 --use_new_heuristics %i %i.jxl
|
|
2021-07-06 05:57:06
|
|
|
2021-07-06 05:57:29
|
libjxl v0.3.7-171-gc12aec2 win_x64 2021.06.28
|
|
2021-07-06 05:57:54
|
|
|
2021-07-06 05:58:16
|
|
|
2021-07-06 05:58:31
|
It needs to recognize jpg jpeg JPG JPEG and PNG png
|
|
2021-07-06 05:58:41
|
do you know how to do
|
|
2021-07-06 05:59:21
|
also you need to share sharpdevelop or visual studio project full folder with the solution .sln and the debug
|
|
2021-07-06 05:59:44
|
and i'll make a backup copy on my github profile
|
|
2021-07-06 05:59:53
|
can anyone help?
|
|
2021-07-06 06:01:35
|
who wants to do?
|
|
2021-07-06 06:05:11
|
<@456226577798135808> do you know how to code this?
|
|
2021-07-06 06:05:15
|
sorry for pinging
|
|
|
|
Deleted User
|
|
fab
<@456226577798135808> do you know how to code this?
|
|
2021-07-06 06:07:41
|
Sorry, it's too hard for me ¯\_(ツ)_/¯
|
|
|
retr0id
|
2021-07-07 02:54:33
|
I just stumbled across this awesome site http://graficaobscura.com/
|
|
2021-07-07 02:54:58
|
it's barely been updated since the 90s, but its full of neat computer graphics info
|
|
2021-07-07 02:55:38
|
oops I meant <#806898911091753051>. close enough...
|
|
|
diskorduser
|
2021-07-07 08:27:47
|
`Reading symbols from ./flicker_test...
(No debugging symbols found in ./flicker_test)
(gdb)
`
|
|
2021-07-07 08:28:33
|
I built it using, `cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE:STRING='None' -DCMAKE_INSTALL_PREFIX:PATH='/usr' -DJPEGXL_ENABLE_BENCHMARK:BOOL='false' -DJPEGXL_ENABLE_FUZZERS:BOOL='false' -DJPEGXL_ENABLE_PLUGINS:BOOL='true' -DJPEGXL_ENABLE_VIEWERS:BOOL='true' -DJPEGXL_ENABLE_GIMP_SAVING:BOOL='ON' -DJPEGXL_FORCE_SYSTEM_BROTLI:BOOL='true' -DJPEGXL_FORCE_SYSTEM_GTEST:BOOL='true' -DJPEGXL_FORCE_SYSTEM_HWY:BOOL='true' -DJPEGXL_WARNINGS_AS_ERRORS:BOOL='false' -DCMAKE_C{,XX}_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER="clang" -DCMAKE_CXX_COMPILER="clang++" -Wno-dev -B jxlbuild -S libjxl -G Ninja`
|
|
2021-07-07 08:36:35
|
I have tried building without ccache. still it doesn't make debug symbols.
|
|
|
fab
|
2021-07-07 08:46:47
|
the setup is ready
|
|
2021-07-07 08:46:55
|
i need only to code the code
|
|
|
spider-mario
|
|
diskorduser
I built it using, `cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE:STRING='None' -DCMAKE_INSTALL_PREFIX:PATH='/usr' -DJPEGXL_ENABLE_BENCHMARK:BOOL='false' -DJPEGXL_ENABLE_FUZZERS:BOOL='false' -DJPEGXL_ENABLE_PLUGINS:BOOL='true' -DJPEGXL_ENABLE_VIEWERS:BOOL='true' -DJPEGXL_ENABLE_GIMP_SAVING:BOOL='ON' -DJPEGXL_FORCE_SYSTEM_BROTLI:BOOL='true' -DJPEGXL_FORCE_SYSTEM_GTEST:BOOL='true' -DJPEGXL_FORCE_SYSTEM_HWY:BOOL='true' -DJPEGXL_WARNINGS_AS_ERRORS:BOOL='false' -DCMAKE_C{,XX}_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER="clang" -DCMAKE_CXX_COMPILER="clang++" -Wno-dev -B jxlbuild -S libjxl -G Ninja`
|
|
2021-07-07 08:52:58
|
there is a `-DCMAKE_BUILD_TYPE:STRING='None'` in there, maybe try editing `CMakeCache.txt` and rerunning ninja?
|
|
2021-07-07 08:53:54
|
this way, no risk of overriding
|
|
|
fab
|
2021-07-07 08:55:05
|
|
|
2021-07-07 08:57:53
|
|
|
2021-07-07 09:01:10
|
please i want this program
|
|
2021-07-07 09:01:17
|
i will insist forever
|
|
|
diskorduser
|
2021-07-07 09:18:34
|
`#0 0x00007ffff65f38a8 in ?? () from /usr/lib/libQt5Core.so.5
#1 0x00005555555805fe in QHash<QString, QHashDummyValue>::findNode (this=0x7fffffffb000, akey=..., ahp=0x7fffffffab9c) at /usr/include/qt/QtCore/qhash.h:946
#2 0x00005555555804af in QHash<QString, QHashDummyValue>::insert (this=0x7fffffffb000, akey=..., avalue=...) at /usr/include/qt/QtCore/qhash.h:773
#3 0x000055555558002d in QSet<QString>::insert (this=0x7fffffffb000, value=...) at /usr/include/qt/QtCore/qset.h:222
#4 0x000055555557d9a2 in QSet<QString>::QSet<QList<QString>::iterator, true> (this=0x7fffffffb000, first=..., last=...) at /usr/include/qt/QtCore/qset.h:66
#5 0x000055555557a8a8 in jxl::FlickerTestWindow::FlickerTestWindow (this=0x7fffffffdab8, parameters=..., parent=0x0) at /mnt/data/libjxl/tools/flicker_test/test_window.cc:70
#6 0x000055555556d11a in main (argc=1, argv=0x7fffffffdcf8) at /mnt/data/libjxl/tools/flicker_test/main.cc:16`
|
|
|
spider-mario
|
2021-07-07 10:04:39
|
uh, very strange
|
|
|
diskorduser
`#0 0x00007ffff65f38a8 in ?? () from /usr/lib/libQt5Core.so.5
#1 0x00005555555805fe in QHash<QString, QHashDummyValue>::findNode (this=0x7fffffffb000, akey=..., ahp=0x7fffffffab9c) at /usr/include/qt/QtCore/qhash.h:946
#2 0x00005555555804af in QHash<QString, QHashDummyValue>::insert (this=0x7fffffffb000, akey=..., avalue=...) at /usr/include/qt/QtCore/qhash.h:773
#3 0x000055555558002d in QSet<QString>::insert (this=0x7fffffffb000, value=...) at /usr/include/qt/QtCore/qset.h:222
#4 0x000055555557d9a2 in QSet<QString>::QSet<QList<QString>::iterator, true> (this=0x7fffffffb000, first=..., last=...) at /usr/include/qt/QtCore/qset.h:66
#5 0x000055555557a8a8 in jxl::FlickerTestWindow::FlickerTestWindow (this=0x7fffffffdab8, parameters=..., parent=0x0) at /mnt/data/libjxl/tools/flicker_test/test_window.cc:70
#6 0x000055555556d11a in main (argc=1, argv=0x7fffffffdcf8) at /mnt/data/libjxl/tools/flicker_test/main.cc:16`
|
|
2021-07-07 10:08:56
|
does this fix it?
```patch
diff --git a/tools/flicker_test/test_window.cc b/tools/flicker_test/test_window.cc
index 96dbb88a..3112e08f 100644
--- a/tools/flicker_test/test_window.cc
+++ b/tools/flicker_test/test_window.cc
@@ -67,10 +67,12 @@ FlickerTestWindow::FlickerTestWindow(FlickerTestParameters parameters,
auto originalImages = QSet<QString>::fromList(originalFolder_.entryList());
auto alteredImages = QSet<QString>::fromList(alteredFolder_.entryList());
#else
- auto originalImages = QSet<QString>(originalFolder_.entryList().begin(),
- originalFolder_.entryList().end());
- auto alteredImages = QSet<QString>(alteredFolder_.entryList().begin(),
- alteredFolder_.entryList().end());
+ const QStringList originalFolderEntries = originalFolder_.entryList();
+ QSet<QString> originalImages(originalFolderEntries.begin(),
+ originalFolderEntries.end());
+ const QStringList alteredFolderEntries = alteredFolder_.entryList();
+ QSet<QString> alteredImages(alteredFolderEntries.begin(),
+ alteredFolderEntries.end());
#endif
auto onlyOriginal = originalImages - alteredImages,
```
|
|
|
diskorduser
|
2021-07-07 10:20:20
|
Yes it fixed the crash.
|
|
|
spider-mario
|
2021-07-07 12:59:22
|
thanks for reporting this, it’s fixed in the repository now
|
|
|
diskorduser
|
2021-07-07 01:37:09
|
Does flicker test work on jpg images? It just closes after I click start.
|
|
2021-07-07 01:55:28
|
|
|
|
spider-mario
|
2021-07-07 01:58:41
|
strange, from reading the code, it seems that it should at least try
|
|
2021-07-07 02:05:42
|
ah, no, I missed the critical line
|
|
2021-07-07 02:05:49
|
apparently it’s `png` only
|
|
|
diskorduser
|
2021-07-07 02:11:50
|
So it works only with PNG images... Thanks.
|
|
|
|
Deleted User
|
2021-07-07 03:57:03
|
I'm trying to add noise synthesis to `jxl_from_tree`. What's the difference between `noise_level` and `intensity` in `struct NoiseLevel`?
|
|
|
spider-mario
|
2021-07-07 05:01:12
|
I actually have local code doing that, but I don’t quite remember why I didn’t create a PR for it
|
|
2021-07-07 05:01:17
|
there was something I was not satisfied about
|
|
|
fab
|
|
Jyrki Alakuijala
|
|
fab
|
|
2021-07-07 07:07:43
|
What is the image compression codec that you are recommending?
|
|
|
fab
|
2021-07-07 07:10:15
|
jpeg xl and webp2 are my favourite
|
|
2021-07-07 07:10:33
|
webp2 image have very few sentiment if not all
|
|
2021-07-07 07:10:37
|
jpeg xl is about quality
|
|
2021-07-07 07:10:42
|
different stuff
|
|
|
spider-mario
|
2021-07-07 08:38:34
|
the bottom end is not very easy to get right with so few LUT entries but I think this looks rather encouraging
|
|
|
raysar
|
|
spider-mario
the bottom end is not very easy to get right with so few LUT entries but I think this looks rather encouraging
|
|
2021-07-07 08:50:48
|
This noise is not very random, you can add more low and high frequencies?
|
|
|
|
veluca
|
2021-07-07 09:10:30
|
nah, you can't actually control that
|
|
2021-07-07 09:11:44
|
we spent some effort tuning the noise and IIRC this is the best we could come with for actual photographs - adding it to a gradient is likely not very representative of actual images 😛
|
|
|
spider-mario
|
2021-07-07 09:13:05
|
yeah, this is kind of a worst-case scenario 😁
|
|
|
raysar
|
|
veluca
we spent some effort tuning the noise and IIRC this is the best we could come with for actual photographs - adding it to a gradient is likely not very representative of actual images 😛
|
|
2021-07-07 09:21:07
|
It looks like a linear noise, it's impossible to have a Gaussian noise?
like this photoshop gaussian noise.
|
|
|
|
veluca
|
2021-07-07 09:21:56
|
it's uniform noise with a box filter
|
|
2021-07-07 09:22:09
|
(well, a subtracted box filter)
|
|
2021-07-07 09:22:38
|
<@!604964375924834314> how does it look like on a real gradient?
|
|
|
raysar
|
2021-07-07 09:24:17
|
If you need a clean gradient.
|
|
|
|
veluca
|
|
raysar
If you need a clean gradient.
|
|
2021-07-07 09:27:26
|
ugh, I can still see the banding on it...
|
|