|
spider-mario
|
2024-10-04 10:02:34
|
the 5 MB upper bound is likely to be more limiting
|
|
2024-10-04 10:03:01
|
(for an image that takes up the whole 4096×4096, it’s about 2.38 bpp)
|
|
|
spider-mario
don’t remember where I saw the “multiple of 16” thing
|
|
2024-10-04 10:05:47
|
found it! https://x.com/NolanOBrien/status/1281639466688380928
|
|
|
CrushedAsian255
|
|
spider-mario
as in, a black border?
|
|
2024-10-04 10:10:54
|
ohh i thought you meant the file size
|
|
|
_wb_
|
2024-10-04 11:01:02
|
we need a `cjpegli -q twitter` 🙂
|
|
2024-10-04 11:03:40
|
so basically up to 2236x2236 (or anything else that is 5 megapixels) the limit is 8 bpp, and for a larger image the limit is just 5 MB
|
|
|
jonnyawsom3
|
2024-10-04 11:03:43
|
`-X Conform output file to X/Twitter limitations`
`-T Conform output file to Telegram limitations`
`-D Conform output file to Discord limitations (Extremely large images)`
|
|
|
spider-mario
|
|
_wb_
so basically up to 2236x2236 (or anything else that is 5 megapixels) the limit is 8 bpp, and for a larger image the limit is just 5 MB
|
|
2024-10-04 12:35:47
|
I don’t think there is a 5 MP limit?
|
|
|
CrushedAsian255
|
|
spider-mario
I don’t think there is a 5 MP limit?
|
|
2024-10-04 12:39:13
|
The 5 MPx limit is because the Max is 8 bpp
|
|
|
lonjil
|
2024-10-04 12:40:00
|
but if you have less than 8 bpp, you can have more pixels than that.
|
|
2024-10-04 12:40:28
|
So say that you get your desired quality at 2bpp, then you can have 20 MP
|
|
|
AccessViolation_
|
2024-10-04 12:56:07
|
I remember seeing certain images that look one way up close and different from afar: for the close up image only the high frequency information is displayed, and for the afar image only the low frequency image is displayed. And these images are blended together into a single image, and the effect will work.
I was just watching a video about how JPEG works and now I'm wondering if you could take two JPEGs and replace only the high or low frequency information of one with that of the other, to end up with an image that also exhibits this effect.
Initial thought is that 8x8 pixel blocks are already pretty high frequency in terms of this effect, so maybe with JPEG XL you could create bigger blocks and make it work
|
|
|
jonnyawsom3
|
|
lonjil
but if you have less than 8 bpp, you can have more pixels than that.
|
|
2024-10-04 12:57:05
|
Well, the limit is always 4096 x 4096 regardless of what you throw at Twitter, so not *that* many more pixels
|
|
|
AccessViolation_
I remember seeing certain images that look one way up close and different from afar: for the close up image only the high frequency information is displayed, and for the afar image only the low frequency image is displayed. And these images are blended together into a single image, and the effect will work.
I was just watching a video about how JPEG works and now I'm wondering if you could take two JPEGs and replace only the high or low frequency information of one with that of the other, to end up with an image that also exhibits this effect.
Initial thought is that 8x8 pixel blocks are already pretty high frequency in terms of this effect, so maybe with JPEG XL you could create bigger blocks and make it work
|
|
2024-10-04 12:58:18
|
Reminded me of this https://discord.com/channels/794206087879852103/1042307875898408960/1285572825561825393
I used the same bug to 'extract' the HF image from the DC by adding a 2048 black block before the real image
|
|
|
spider-mario
|
|
Well, the limit is always 4096 x 4096 regardless of what you throw at Twitter, so not *that* many more pixels
|
|
2024-10-04 12:59:15
|
still, up to 16 MP isn’t so bad
|
|
2024-10-04 12:59:52
|
phone pictures are typically well within that limit, at least when binned if quad bayer
|
|
|
jonnyawsom3
|
|
Reminded me of this https://discord.com/channels/794206087879852103/1042307875898408960/1285572825561825393
I used the same bug to 'extract' the HF image from the DC by adding a 2048 black block before the real image
|
|
2024-10-04 01:01:44
|
Surprisingly legible (Don't mind the fork I stuck in his crotch....)
|
|
2024-10-04 01:05:56
|
Also explains why that screenshot is about 60% larger than usual, a lot of high frequency detail
|
|
|
gb82
|
2024-10-07 05:20:12
|
`652 bytes` can anyone make a smaller JXL lossless?
|
|
|
Demiurge
|
2024-10-07 06:32:28
|
no. libjxl doesn't yet have the optimizations ported over from libwebp
|
|
2024-10-07 06:33:00
|
you would need to do it by hand or write a new jxl encoder that has similar optimizations
|
|
2024-10-07 06:48:12
|
You could make it smaller by reducing the amount of entropy in the image and making the pixels a little bit more predictable.
|
|
2024-10-07 06:48:44
|
Reducing unique colors and making the patterns in the image more precisely consistent.
|
|
2024-10-07 07:02:30
|
|
|
2024-10-07 07:02:42
|
Not lossless
|
|
2024-10-07 07:03:02
|
But the original image has a lot of randomness in it that makes it less compressible
|
|
|
CrushedAsian255
|
2024-10-07 07:03:36
|
“Not only is it lossless I also removed the noise” /s
|
|
|
TheBigBadBoy - 𝙸𝚛
|
|
gb82
`652 bytes` can anyone make a smaller JXL lossless?
|
|
2024-10-07 07:52:49
|
you could try `-e 12` from Monad's fork
https://github.com/monad0/libjxl/tree/cpu-heater
needs to be built from source tho
|
|
|
gb82
|
2024-10-07 07:53:06
|
oh boy...
|
|
|
Demiurge
|
|
2024-10-07 07:53:36
|
ooo nice!
|
|
|
TheBigBadBoy - 𝙸𝚛
|
2024-10-07 07:53:55
|
(but that's not lossless)
|
|
|
gb82
oh boy...
|
|
2024-10-07 07:54:19
|
from Monad (on JXL server)```
JPEG XL encoder v0.11.0 850f6cdf [AVX2,SSE4,SSE2]
Encoding [Modular, lossless, effort: 12]
Trying 760320 configurations, please be patient ...```e11: 0.492s, 1779 B
e12: 18m10.482s, 1752 B
|
|
|
gb82
|
|
TheBigBadBoy - 𝙸𝚛
(but that's not lossless)
|
|
2024-10-07 07:55:08
|
still looks good for my purposes
|
|
|
a goat
|
|
CrushedAsian255
“Not only is it lossless I also removed the noise” /s
|
|
2024-10-07 09:07:58
|
Funny enough lossless noise reduction has been attempted for the purpose of image compression
|
|
|
CrushedAsian255
|
|
a goat
Funny enough lossless noise reduction has been attempted for the purpose of image compression
|
|
2024-10-07 09:08:19
|
Like noise reconstruction?
|
|
|
a goat
|
|
CrushedAsian255
Like noise reconstruction?
|
|
2024-10-07 09:09:01
|
Nope! Has to do with signal deconvolution https://www.sciencedirect.com/science/article/abs/pii/S0923596515001630
|
|
|
CrushedAsian255
|
2024-10-07 09:10:24
|
How is it reversible ?
|
|
|
a goat
|
2024-10-07 09:14:40
|
I believe it's an averaging filter, like a more advanced version of the type of prediction filters employed by png
|
|
2024-10-07 09:14:43
|
https://link.springer.com/article/10.1007/s11042-019-08371-w
|
|
|
CrushedAsian255
|
2024-10-07 09:33:59
|
But noise is random, you can’t just get rid of entropy data
|
|
|
A homosapien
|
|
gb82
`652 bytes` can anyone make a smaller JXL lossless?
|
|
2024-10-07 07:12:27
|
Okay the smallest jxl file I could produce without making it by hand is 743 bytes
|
|
2024-10-07 07:13:35
|
You know what is the craziest thing though? I got it from libjxl 0.8, NOT libjxl 0.11 **-e 12**
|
|
2024-10-07 07:18:29
|
Here are the numbers:
```
libjxl 0.8 --- 743 bytes
libjxl 0.9 --- 774 bytes
libjxl 0.10 -- 766 bytes
libjxl 0.11 -- 760 bytes
libjxl -e 12 - 756 bytes
```
|
|
2024-10-07 07:21:53
|
I waited over 20 minutes for `e 12` to finish...
Only for libjxl 0.8 `e 10` to beat it in like 1 second
|
|
|
TheBigBadBoy - 𝙸𝚛
|
2024-10-07 07:26:04
|
<:kekw:808717074305122316>
|
|
|
A homosapien
|
2024-10-07 07:28:39
|
Here is the e12 file...
<@794205442175402004> <@263300458888691714> any ideas why this file is bigger?
|
|
|
_wb_
|
2024-10-07 08:07:29
|
Probably different palette order that happens to work better on that image
|
|
|
DZgas Ж
|
|
A homosapien
Here are the numbers:
```
libjxl 0.8 --- 743 bytes
libjxl 0.9 --- 774 bytes
libjxl 0.10 -- 766 bytes
libjxl 0.11 -- 760 bytes
libjxl -e 12 - 756 bytes
```
|
|
2024-10-07 08:40:18
|
<:Stonks:806137886726553651>
|
|
|
A homosapien
Here are the numbers:
```
libjxl 0.8 --- 743 bytes
libjxl 0.9 --- 774 bytes
libjxl 0.10 -- 766 bytes
libjxl 0.11 -- 760 bytes
libjxl -e 12 - 756 bytes
```
|
|
2024-10-07 08:44:44
|
https://discord.com/channels/794206087879852103/794206170445119489/1288275096502407268 I haven't studied this topic much myself, that after adding 1 pixel, it began to compress 9 bytes better, but as if there is a connection here. There are a lot of anomalies when compressing very small images. It's like CJXL cut off some ways. like local minimum
|
|
|
_wb_
|
2024-10-07 10:40:57
|
It is certainly not exhaustive, not even looking for a local minimum.
|
|
|
A homosapien
|
|
DZgas Ж
https://discord.com/channels/794206087879852103/794206170445119489/1288275096502407268 I haven't studied this topic much myself, that after adding 1 pixel, it began to compress 9 bytes better, but as if there is a connection here. There are a lot of anomalies when compressing very small images. It's like CJXL cut off some ways. like local minimum
|
|
2024-10-07 11:16:15
|
From your testing, `-e 10` is far from exhaustive. But first you forgot one crucial step, optimizing your png inputs.
When I reduced the colorspace to 1-bit grayscale, both images became 196 bytes. So in the end, the dot didn't really matter.
As I've shown in my testing, even `-e 12` with 760320 iterations isn't the catch-all people make it out to be. A smarter encoder is the logical step forward.
|
|
|
gb82
|
|
A homosapien
Okay the smallest jxl file I could produce without making it by hand is 743 bytes
|
|
2024-10-07 11:16:42
|
huh, still loses to WebP
|
|
|
A homosapien
|
2024-10-07 11:20:31
|
WebP makes some very smart decisions for paletted images. In theory Jpeg XL beats WebP (and it usually does). But libjxl's encoder isn't as smart and mature for this kind of content.
|
|
2024-10-07 11:22:28
|
I've seen quite a few cases where WebP beats Jpeg XL for pixel art and the like
|
|
|
CrushedAsian255
|
|
yurume
https://gist.github.com/lifthrasiir/5c24058f21ce6fba231cf1bfba45bf28
|
|
2024-10-09 02:32:03
|
I know it’s been over 3 years since you touched this but do you know what licence it’s under ?
|
|
|
yurume
|
|
CrushedAsian255
I know it’s been over 3 years since you touched this but do you know what licence it’s under ?
|
|
2024-10-09 04:35:14
|
I think it's clear that it was put in the public domain, do you need anything more than that (e.g. relicensing to MIT-0 or similar)?
|
|
|
CrushedAsian255
|
|
yurume
I think it's clear that it was put in the public domain, do you need anything more than that (e.g. relicensing to MIT-0 or similar)?
|
|
2024-10-09 07:51:13
|
Nah public domain is fine , that means anyone can do anything right?
|
|
|
TheBigBadBoy - 𝙸𝚛
|
2024-10-09 08:32:55
|
I'm always surprised by how good Real-ESRGAN can be to restore shitty JPG artifacts
|
|
2024-10-09 08:34:28
|
sure, it looses a bit of clarty for the background pattern
but still, all others solution I tried still had JPG artifacts in the output (waifu2x, jpeg2png)
|
|
|
Demiurge
|
2024-10-10 01:58:57
|
You know what might help for really bad images like that? Shrink the image first to eliminate high frequency distortion introduced by jpeg block artifacts
|
|
|
CrushedAsian255
|
2024-10-10 03:29:17
|
maybe someone should train a model that is specifically trained for decompressing JPEGs
|
|
|
gb82
|
|
CrushedAsian255
maybe someone should train a model that is specifically trained for decompressing JPEGs
|
|
2024-10-10 04:28:25
|
i think there are some ESRGAN models for that
|
|
|
A homosapien
|
2024-10-10 04:38:03
|
Some? They are super plentiful. It's almost like the 'Hello World' for training AI models.
|
|
|
lonjil
|
2024-10-10 10:40:40
|
I wonder how complex an FPGA version of fjxl would be
|
|
2024-10-10 10:41:07
|
In about 20 weeks, we're supposed to plan and execute our own FPGA project, and I thought making an encoder could be pretty fun.
|
|
|
spider-mario
|
2024-10-10 10:50:00
|
I guess the risk is if it turns out not to be practical for one reason or another
|
|
2024-10-10 10:50:11
|
maybe a safer bet would be something that can be incrementally improved
|
|
|
AccessViolation_
|
2024-10-10 10:55:57
|
I was thinking about that the other day. If cameras use hardware encoders that means you're stuck with that encoder forever until you buy a new camera. An FPGA implementation could be a middle ground between needing an expensive CPU for software encoding and never benefiting from future improvements with a hardware decoder. Idk what the current state of DSL cameras is though, it was just a passing thought
|
|
|
lonjil
|
2024-10-10 10:57:47
|
FPGAs are hella expensive 😵💫
|
|
|
spider-mario
I guess the risk is if it turns out not to be practical for one reason or another
|
|
2024-10-10 10:59:21
|
hm, yes. If I manage to get ahead of schedule, I'll explore the idea beforehand to see if it may be viable, I guess.
|
|
2024-10-10 10:59:35
|
Otherwise there's always the tried and true, implement your own CPU.
|
|
|
AccessViolation_
|
|
lonjil
FPGAs are hella expensive 😵💫
|
|
2024-10-10 11:01:16
|
It seems to me like mass producing the same FPGA chip for all your cameras which can support a bunch of formats programmatically would be cheaper than developing hardware encoders for different formats?
|
|
|
lonjil
|
2024-10-10 11:03:12
|
An FPGA needs to be MANY times bigger than the equivalent dedicated chip, and draws a lot more power. Doesn't make sense unless you truly need a lot flexibility or if your product is low volume enough that a custom chip would be too expensive to develop.
|
|
2024-10-10 11:03:22
|
But all cameras use custom camera chips already, so.
|
|
2024-10-10 11:04:51
|
Fun fact: Nvidia's G-SYNC module (now discontinued and replaced by a custom chip by Mediatek) used an FPGA that cost them $500 per module!
|
|
|
AccessViolation_
|
2024-10-10 11:04:55
|
> An FPGA needs to be MANY times bigger than the equivalent dedicated chip
Huh, never knew. I always assumed the FPGAs I was working with were bigger just because they didn't really need to be small
|
|
|
lonjil
|
2024-10-10 11:05:26
|
You can get small FPGAs. But an equivalent fixed circuit would be much smaller still.
|
|
|
lonjil
Fun fact: Nvidia's G-SYNC module (now discontinued and replaced by a custom chip by Mediatek) used an FPGA that cost them $500 per module!
|
|
2024-10-10 11:06:55
|
today, it's over $3000 per unit on digikey.
|
|
|
Quackdoc
|
|
lonjil
FPGAs are hella expensive 😵💫
|
|
2024-10-11 12:51:51
|
you can find cheaper ones now
|
|
2024-10-11 12:52:18
|
lots of... OK ones flooding the market. no idea if they would be good enough for jxl, peolly would be
|
|
|
TheBigBadBoy - 𝙸𝚛
|
|
A homosapien
Some? They are super plentiful. It's almost like the 'Hello World' for training AI models.
|
|
2024-10-11 10:02:45
|
did you tested some of them and could recommend one pls ?
|
|
|
A homosapien
|
2024-10-11 04:16:59
|
It's been awhile since I've been in the AI upscaling space
|
|
2024-10-11 04:17:06
|
Let me dig through some discord servers real quick
|
|
|
w
|
2024-10-12 04:13:54
|
everyone uses span or plksr these days
|
|
|
TheBigBadBoy - 𝙸𝚛
|
|
A homosapien
Let me dig through some discord servers real quick
|
|
2024-10-12 08:24:41
|
so tested 8 models here <https://openmodeldb.info/?t=compression-removal+jpeg+restoration+input%3Aimage+scale%3A1>
many don't handle text correctly (my use case was a quite hard-compressed file):
https://cdn.discordapp.com/attachments/673202643916816384/1294756926797905931/original.png
https://cdn.discordapp.com/attachments/673202643916816384/1294756927170941050/jpg_40-60_by_Alsa.png
https://cdn.discordapp.com/attachments/673202643916816384/1294756927502286848/jpg_40-60_by_BlueAmulet.png (the best one imo)
(this is a small part of the image)
the best model for my needs was <https://openmodeldb.info/models/1x-JPG-40-60>
|
|
2024-10-12 08:24:59
|
original pic:
https://cdn.discordapp.com/attachments/673202643916816384/1294757248513343563/original.png
|
|
|
A homosapien
|
2024-10-12 08:56:31
|
Oh man! I forgot how fun AI upscaling is. Sorry, I haven't been able to do any AI research yet. I was hospitalized 😅
|
|
2024-10-12 08:56:42
|
Now I have to catch up on 2 late homework assignments and email my professors. I'll take a look at these when I have the time.
|
|
|
TheBigBadBoy - 𝙸𝚛
|
2024-10-12 09:17:09
|
no worries lol
|
|
2024-10-12 09:19:07
|
I always thought upscale meant "bigger output"
but they say upscale even for 1x <:Thonk:805904896879493180>
|
|
|
A homosapien
|
2024-10-12 11:08:06
|
This is the best output I got, with some small tweaks to get the red bg to pop out a bit more since AI loves to smooth it over
|
|
2024-10-12 11:08:13
|
I used this AI model: https://discord.com/channels/547949405949657098/579685650824036387/1244906401495515148
|
|
2024-10-12 11:11:11
|
Btw this discord server has a lot of good models/information if you want to dip your toes more into AI stuff
|
|
2024-10-12 11:18:19
|
There might be newer versions of the model I used but this more of an example of the quality of stuff being made nowadays
|
|
2024-10-12 11:20:52
|
Here is a comparison
|
|
|
TheBigBadBoy - 𝙸𝚛
I always thought upscale meant "bigger output"
but they say upscale even for 1x <:Thonk:805904896879493180>
|
|
2024-10-12 11:37:16
|
Typically I find that a well-trained 4x model downscaled to 1x, beats 1x models quite regularly.
So I just took the best anime 4x model I had laying around on my computer and gave it a go.
|
|
|
TheBigBadBoy - 𝙸𝚛
|
|
A homosapien
I used this AI model: https://discord.com/channels/547949405949657098/579685650824036387/1244906401495515148
|
|
2024-10-12 11:51:50
|
I don't have access to that channel
which server is it ?
|
|
2024-10-12 11:54:56
|
but indeed, impressive result, thank you [⠀](https://cdn.discordapp.com/emojis/853506500088692747.webp?size=48&quality=lossless&name=pepelove)
|
|
2024-10-12 11:56:19
|
I'm really new to this "AI upscale" world
just got my hands trying a few stuffs on chaiNNer
other than that, I have almost no knowledge lol
|
|
|
A homosapien
|
2024-10-13 12:53:47
|
https://discord.gg/cpAUpDK
|
|
|
A homosapien
This is the best output I got, with some small tweaks to get the red bg to pop out a bit more since AI loves to smooth it over
|
|
2024-10-13 11:58:50
|
After some more tweaking, here is my final result. I manually merged the best qualities of 2 AI outputs: 4x_umzi_digital_art_rplksr_v1 (best at handling sharp lineart) and 4x_IllustrationJaNai_V1_DAT2 (best at handling the red bg & certain small details)
|
|
|
CrushedAsian255
|
2024-10-13 11:58:52
|
all we are saying is give jxl a chance
|
|
|
TheBigBadBoy - 𝙸𝚛
|
|
A homosapien
After some more tweaking, here is my final result. I manually merged the best qualities of 2 AI outputs: 4x_umzi_digital_art_rplksr_v1 (best at handling sharp lineart) and 4x_IllustrationJaNai_V1_DAT2 (best at handling the red bg & certain small details)
|
|
2024-10-14 08:14:46
|
may I know how you do that?
|
|
|
A homosapien
|
2024-10-14 09:50:47
|
The AI processing part was easy with ChaiNNer. The hard part was deciding what details looked "better" in either image. I then manually painted out details I didn't like. These difficult cases usually require a human touch. It took around half an hour.
|
|
|
TheBigBadBoy - 𝙸𝚛
|
2024-10-14 12:17:58
|
oooof
|
|
|
_wb_
|
2024-10-14 04:09:00
|
at the JPEG meeting last week, we discussed a lot about AIC-3: https://jpeg.org/aic/aic3.html
|
|
2024-10-14 04:09:44
|
one of the things we're discussing is to better clarify, and to extend the scope of AIC-3
|
|
2024-10-14 04:10:59
|
the illustration we used before was a bit too simplistic, and not really correct. AIC-2 does not cover a range, it's a method to determine a specific quality point (visually lossless in the viewing condition of flickering)
|
|
2024-10-14 04:12:47
|
This is the new figure (currently under discussion, WIP) that we'll use to illustrate the AIC-3 goal and scope
|
|
|
Demiurge
|
2024-10-14 04:45:26
|
Fidelity oriented please...
|
|
|
_wb_
|
2024-10-15 07:37:27
|
https://arxiv.org/abs/2410.09501
|
|
|
Demiurge
|
2024-10-16 10:05:29
|
Congratulations on your publication :)
|
|
|
CrushedAsian255
|
|
_wb_
at the JPEG meeting last week, we discussed a lot about AIC-3: https://jpeg.org/aic/aic3.html
|
|
2024-10-16 12:14:01
|
Are the jpeg meetings available online?
|
|
|
_wb_
|
|
RaveSteel
|
2024-10-19 12:32:57
|
https://www.reddit.com/r/GalaxyS21/comments/13ez3wh/how_to_view_hdr_photos/ldusu78/
Most knowledgable JPEG XL adversary
|
|
|
A homosapien
|
2024-10-19 12:35:27
|
> HEIF files are still usually 50% smaller than JPEG XL files at the same resolution/ color gamut/ image fidelity
<:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729>
|
|
|
Nova Aurora
|
|
A homosapien
> HEIF files are still usually 50% smaller than JPEG XL files at the same resolution/ color gamut/ image fidelity
<:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729><:galaxybrain:821831336372338729>
|
|
2024-10-19 12:39:59
|
Watch me beat HEIF with JPEG Legacy
|
|
|
HCrikki
|
2024-10-19 12:45:25
|
fella gives no number that can *resist* scrutiny but insists you must not believe your lying eyes
|
|
2024-10-19 12:47:03
|
in other circles many people are defaulting to e10 for large images and consequently claiming avif is far faster for more acceptable results. maybe all efforts above e8 should be developper-only toggles with warnings meant to deter their use - or effort adapts to the actual image resolution (ie slightly less costly conversion techniques if its 30+ mpixels, slightly more expensive if its small images)
|
|
2024-10-19 12:55:46
|
its crazy capturing 2K+resolution screenshots at e10 while youre playing too
|
|
|
RaveSteel
|
2024-10-19 12:56:38
|
Not to forget that e1 is faster than most PNG screenshot implementations and will result in smaller images
|
|
|
jonnyawsom3
|
2024-10-19 12:56:38
|
When people see a big number, they'll use it. It's why a few have bluescreened their computer by hearing of effort 11 and using it without any regard of the expert option setting
|
|
|
RaveSteel
|
|
When people see a big number, they'll use it. It's why a few have bluescreened their computer by hearing of effort 11 and using it without any regard of the expert option setting
|
|
2024-10-19 12:57:20
|
e12 when? 🤔
|
|
|
A homosapien
|
2024-10-19 12:57:37
|
I'm not immune to this, I went through the pain of building a custom libjxl fork when I heard effort 12 was a thing 😂
|
|
|
HCrikki
|
2024-10-19 12:58:01
|
maybe integrations need better documenting? distance is the setting that makes the real difference, effort just tries being slightly more efficient storage-wise by e7 is still the best, especially for lossless jpg->jxl
|
|
|
A homosapien
|
|
RaveSteel
e12 when? 🤔
|
|
2024-10-19 12:58:45
|
Now: https://discord.com/channels/794206087879852103/794206087879852106/1292756506449543200
|
|
|
HCrikki
|
2024-10-19 12:58:57
|
e7 is under 50ms for sub 20 megapixel images but can last a minute for e10-11 for barely 5 kilobytes less
|
|
|
jonnyawsom3
|
|
HCrikki
e7 is under 50ms for sub 20 megapixel images but can last a minute for e10-11 for barely 5 kilobytes less
|
|
2024-10-19 01:01:43
|
I'm assuming lossy but even then that's not right. Oh, unless you mean JPEG transcoding
|
|
2024-10-19 01:02:01
|
|
|
|
RaveSteel
|
2024-10-19 01:03:02
|
I honestly wonder where he got his infos from. Nearly every sentence is wrong
|
|
|
Quackdoc
|
|
I'm assuming lossy but even then that's not right. Oh, unless you mean JPEG transcoding
|
|
2024-10-19 01:03:18
|
do it
|
|
|
jonnyawsom3
|
2024-10-19 01:03:26
|
I'll do a quick debunking but feel free to add/correct anything after
|
|
2024-10-19 01:03:33
|
2am here :P
|
|
|
Quackdoc
|
2024-10-19 01:03:56
|
just call him a liar and leave it there lmao
|
|
|
RaveSteel
|
|
Quackdoc
|
2024-10-19 01:04:41
|
actually, I wonder...
|
|
|
CrushedAsian255
|
2024-10-19 01:07:40
|
Wouldn’t AVIF be better than HEIC?
|
|
|
HCrikki
|
|
I'm assuming lossy but even then that's not right. Oh, unless you mean JPEG transcoding
|
|
2024-10-19 01:08:21
|
correct. conversions already guarantee a 20% filesize reduction at almost all efforts, giving up quasi-instant conversions for an extra few kbs saved is nuts for anything but say a comic chapter's first image(s)
|
|
|
CrushedAsian255
|
|
HCrikki
correct. conversions already guarantee a 20% filesize reduction at almost all efforts, giving up quasi-instant conversions for an extra few kbs saved is nuts for anything but say a comic chapter's first image(s)
|
|
2024-10-19 01:08:53
|
I use e8 because I don’t care about speed lol
|
|
|
A homosapien
|
|
CrushedAsian255
Wouldn’t AVIF be better than HEIC?
|
|
2024-10-19 01:09:13
|
Yes
|
|
|
jonnyawsom3
|
|
Quackdoc
just call him a liar and leave it there lmao
|
|
2024-10-19 01:10:06
|
I had a thing typed out about bitdepths but simplicity is sometimes best... And now we've both posted a few mintes apart xD
|
|
|
CrushedAsian255
|
2024-10-19 01:10:49
|
Still waiting for a proper way to convert Apple HEIC with a bunch of aux data and a gainmap into a native HDR JXL with extra channels storing the extra data
|
|
2024-10-19 01:11:23
|
Like HEIC on iPhone sometimes adds depth maps and segmentation maps
|
|
|
jonnyawsom3
|
|
HCrikki
in other circles many people are defaulting to e10 for large images and consequently claiming avif is far faster for more acceptable results. maybe all efforts above e8 should be developper-only toggles with warnings meant to deter their use - or effort adapts to the actual image resolution (ie slightly less costly conversion techniques if its 30+ mpixels, slightly more expensive if its small images)
|
|
2024-10-19 01:12:05
|
Adjusting effort based on megapixels like lossless or lossy based on file type has been talked about for quite a while, but since people will just crank it up anyway, maybe effort 10 should be made expert too so that multithreading can't be disabled unknowingly
|
|
|
Quackdoc
|
|
I had a thing typed out about bitdepths but simplicity is sometimes best... And now we've both posted a few mintes apart xD
|
|
2024-10-19 01:12:18
|
lol
|
|
|
Nova Aurora
|
|
I'll do a quick debunking but feel free to add/correct anything after
|
|
2024-10-19 01:12:55
|
Please do, I am not able to access reddit, but this is brazenlu wrong
|
|
|
RaveSteel
|
|
Adjusting effort based on megapixels like lossless or lossy based on file type has been talked about for quite a while, but since people will just crank it up anyway, maybe effort 10 should be made expert too so that multithreading can't be disabled unknowingly
|
|
2024-10-19 01:13:00
|
Make e1 the default so everyone will be amazed at blazing fast encodes 😎 /s
|
|
|
CrushedAsian255
|
2024-10-19 01:13:09
|
Maybe e6?
|
|
|
Adjusting effort based on megapixels like lossless or lossy based on file type has been talked about for quite a while, but since people will just crank it up anyway, maybe effort 10 should be made expert too so that multithreading can't be disabled unknowingly
|
|
2024-10-19 01:13:27
|
I agree about e10 being expert
|
|
|
jonnyawsom3
|
|
RaveSteel
Make e1 the default so everyone will be amazed at blazing fast encodes 😎 /s
|
|
2024-10-19 01:13:33
|
I also had that typed out
"You are right about JXL being fast though, we can hit 300 MP/s"
|
|
|
RaveSteel
|
2024-10-19 01:13:47
|
heck yeah
|
|
|
CrushedAsian255
|
2024-10-19 01:14:05
|
Is this just lossless or what about VarDCT?
|
|
|
jonnyawsom3
|
2024-10-19 01:14:47
|
Well HC was talking about transcoding, I was thinking lossless but everyone else probably means VarDCT
|
|
|
RaveSteel
|
2024-10-19 01:15:41
|
Me out here always only thinking about lossless
|
|
|
CrushedAsian255
|
2024-10-19 01:15:57
|
I still want lossy modular tbh
|
|
|
jonnyawsom3
|
|
CrushedAsian255
I still want lossy modular tbh
|
|
2024-10-19 01:19:14
|
|
|
|
CrushedAsian255
|
2024-10-19 01:20:08
|
Similar speeds to England ?
|
|
2024-10-19 01:21:02
|
Similar speeds to Lossless Modular?
|
|
|
jonnyawsom3
|
2024-10-19 01:23:03
|
No, about half
|
|
|
CrushedAsian255
|
2024-10-19 01:25:52
|
So really slow!
|
|
|
Nova Aurora
|
|
|
|
2024-10-19 01:29:01
|
https://tenor.com/view/lordfibo-lordzfebz-gif-25361200
|
|
|
_wb_
|
|
RaveSteel
https://www.reddit.com/r/GalaxyS21/comments/13ez3wh/how_to_view_hdr_photos/ldusu78/
Most knowledgable JPEG XL adversary
|
|
2024-10-19 07:23:04
|
Wow, how can people sound so confident while being so totally wrong. I suppose the Trumpification of discourse is spreading even to image format discussions now...
|
|
|
SansPlomb95
|
2024-10-20 01:26:14
|
Hello, I am a jxl noob phone photographer requiring some help
I was trying to convert some RAW DNG pictures taken from my phone which could output an HDR gamut but still coupled with an SDR color space so I guess I would still have to export in 32bit anyways ?
I noticed that compression did not work in 32bit mode so I was wondering if this is an expected behavior or a lack on feature from Affinity Photo or could it be something else ?
|
|
|
RaveSteel
|
2024-10-20 01:28:39
|
What exactly do you mean by "compression did not work"? Do you have slider for effort?
|
|
|
SansPlomb95
|
2024-10-20 01:29:24
|
By moving the quality slider I could not see any difference regarding file size
|
|
|
RaveSteel
|
2024-10-20 01:30:01
|
Even at quality 100%?
Can you export an image at quality 0 and one at 100 and share them here?
|
|
|
SansPlomb95
|
2024-10-20 01:30:20
|
I'll give it an other try just to make sure
|
|
|
RaveSteel
|
2024-10-20 01:30:55
|
are you changing the quality at both locations in the screenshot or just one of them?
|
|
|
SansPlomb95
|
2024-10-20 01:37:47
|
So my original file is a 23MB DNG picture, and I can confirm exporting in JXL 32bit will give me a 42MB picture regardless if I export with the slider at 0% or 100%
|
|
2024-10-20 01:39:11
|
I am not sure what 'both locations' implies here
|
|
|
RaveSteel
|
2024-10-20 01:55:04
|
i was refering to the quality slider at the top and the quality drop down at the bottom
|
|
|
SansPlomb95
|
2024-10-20 02:00:38
|
Oh these two seems to be always in sync regardless which one I use
(Edit:I've tried it once again and the slider would effect both sections of the tool, they are synced up)
|
|
|
CrushedAsian255
|
2024-10-20 04:21:59
|
Try actually exporting, that value is just an estimate
|
|
|
jonnyawsom3
|
|
SansPlomb95
Hello, I am a jxl noob phone photographer requiring some help
I was trying to convert some RAW DNG pictures taken from my phone which could output an HDR gamut but still coupled with an SDR color space so I guess I would still have to export in 32bit anyways ?
I noticed that compression did not work in 32bit mode so I was wondering if this is an expected behavior or a lack on feature from Affinity Photo or could it be something else ?
|
|
2024-10-20 06:26:51
|
The 32-Bit pixel format means you're trying to export Float JXL files instead of 16-bit Integers that DNG uses. Try changing that first
|
|
|
a goat
|
|
RaveSteel
https://www.reddit.com/r/GalaxyS21/comments/13ez3wh/how_to_view_hdr_photos/ldusu78/
Most knowledgable JPEG XL adversary
|
|
2024-10-20 07:21:18
|
I smell AI
|
|
|
SansPlomb95
|
|
CrushedAsian255
Try actually exporting, that value is just an estimate
|
|
2024-10-20 07:58:57
|
I did, and the predicted size was accurate in every cases
|
|
|
The 32-Bit pixel format means you're trying to export Float JXL files instead of 16-bit Integers that DNG uses. Try changing that first
|
|
2024-10-20 08:02:09
|
Indeed compression works when using the 16-Bit format. But I thought those DNG files were in a 32 Bit format. Thanks
|
|
|
CrushedAsian255
|
2024-10-20 08:06:46
|
It might be forcing lossless for 32bit
|
|
|
jonnyawsom3
|
|
SansPlomb95
Indeed compression works when using the 16-Bit format. But I thought those DNG files were in a 32 Bit format. Thanks
|
|
2024-10-20 02:00:37
|
Bitdepth can be confusing because some use the total and some use per channel (3 x 8 bit = 24 bit, 3 x 32 bit = 96 bit)
|
|
|
CrushedAsian255
It might be forcing lossless for 32bit
|
|
2024-10-20 02:03:07
|
It'd be strange, but maybe, and then this would be causing it https://github.com/libjxl/libjxl/issues/3511
|
|
|
damian101
|
|
CrushedAsian255
Wouldn’t AVIF be better than HEIC?
|
|
2024-10-20 06:15:07
|
depends
|
|
|
AccessViolation_
|
2024-10-22 05:39:23
|
Can I use the embed.moe service on other Discord servers to preview my JPEG XL photos? I assume the creator is in this server
|
|
2024-10-22 05:39:43
|
I thought I'd ask for bandwidth reasons
|
|
|
w
|
|
AccessViolation_
|
2024-10-22 05:53:40
|
Cool, thanks :)
|
|
|
|
JendaLinda
|
2024-10-25 06:51:59
|
I'm making a viewer for an obscure image format. I discovered a bad quirk of Windows 11's round corners. They cut-off a part of client area inside the window.
|
|
|
spider-mario
|
2024-10-26 06:10:18
|
analogies I did not expect to run into
|
|
2024-10-26 06:18:37
|
(trying to see if I can learn enough to slightly clean up this concert recording https://youtu.be/NDooA7NgA-Y?t=20m35s – I love the piano at the start of Part Two)
|
|
|
lonjil
|
|
spider-mario
analogies I did not expect to run into
|
|
2024-10-26 06:29:11
|
fft is about waves
optics manipulate light waves
checks out
|
|
|
spider-mario
|
2024-10-26 06:52:27
|
their example to demonstrate temporal vs. frequency precision is actually quite nice
|
|
|
Oleksii Matiash
|
|
spider-mario
(trying to see if I can learn enough to slightly clean up this concert recording https://youtu.be/NDooA7NgA-Y?t=20m35s – I love the piano at the start of Part Two)
|
|
2024-10-27 09:06:26
|
I'm by no meaning an audio mastering expert, but maybe one of the variants is acceptable. NR 1-4 in the names means passes of noise reduction
https://we.tl/t-Q9qqlGgfiW
P.S. If only they did not do dynamic noise shaping, and left a second with only noise inside..
|
|
|
spider-mario
|
2024-10-28 08:06:07
|
my attempt
https://youtu.be/d5tD1bDZkHY
|
|
|
Oleksii Matiash
|
|
spider-mario
my attempt
https://youtu.be/d5tD1bDZkHY
|
|
2024-10-29 07:39:06
|
Removed residual hiss
https://we.tl/t-GHXYGcm9eg
|
|
|
spider-mario
|
2024-10-29 12:28:00
|
https://news.ycombinator.com/item?id=41982698
|
|
|
sklwmp
|
2024-10-29 03:40:23
|
https://www.androidauthority.com/google-apple-hdr-photo-standard-3495035/
|
|
|
Cacodemon345
|
2024-10-29 03:54:09
|
I wonder how many ISO standards became purely standards in name only.
|
|
|
jonnyawsom3
|
2024-10-29 04:52:09
|
I feel like out of all formats, using a jpeg to store extremely dark images is the worst possible one...
|
|
|
CrushedAsian255
|
|
sklwmp
https://www.androidauthority.com/google-apple-hdr-photo-standard-3495035/
|
|
2024-10-29 11:56:17
|
Here's an easy way to make HDR photos work better on Android and iOS
JPEG XL adoption! <:JXL:805850130203934781>
|
|
|
Demiurge
|
2024-10-30 12:23:09
|
>>> "The challenge for apps is that there are multiple ways to encode gain map metadata in an image file. Google’s Ultra HDR, which uses Adobe’s encoding scheme, is one of them, but Apple has its own version. That means that platforms like, say, Instagram would need to not only handle both schemes but also potentially convert between them if they wanted both Android and iOS devices to see any given HDR photo the same way. Fortunately, there’s a better solution to this problem, one that has already been adopted by both Google and Apple: **the ISO 18181 standard**
|
|
2024-10-30 12:27:06
|
I would rather have an heic than a jpeg with gain map
|
|
|
CrushedAsian255
|
|
Demiurge
>>> "The challenge for apps is that there are multiple ways to encode gain map metadata in an image file. Google’s Ultra HDR, which uses Adobe’s encoding scheme, is one of them, but Apple has its own version. That means that platforms like, say, Instagram would need to not only handle both schemes but also potentially convert between them if they wanted both Android and iOS devices to see any given HDR photo the same way. Fortunately, there’s a better solution to this problem, one that has already been adopted by both Google and Apple: **the ISO 18181 standard**
|
|
2024-10-30 08:16:16
|
If only 😢 😭
|
|
|
_wb_
|
2024-10-30 08:17:14
|
Apple uses 8-bit heic with a gain map so you get the worst of both worlds
|
|
|
Demiurge
|
2024-10-30 08:17:31
|
Seriously? wtf... :(
|
|
2024-10-30 08:18:32
|
When are gain maps going to be replaced by parametric functions?
|
|
|
CrushedAsian255
|
|
Demiurge
When are gain maps going to be replaced by parametric functions?
|
|
2024-10-30 08:19:50
|
Is parametric function like PQ and HLG?
|
|
|
_wb_
Apple uses 8-bit heic with a gain map so you get the worst of both worlds
|
|
2024-10-30 08:20:24
|
It’s the worst, still trying to find a reliable way to convert “HDR” HEICs to any other format with hdr metadata
|
|
|
Demiurge
|
2024-10-30 10:27:05
|
No, those are transfer curves. I mean a tone mapping method that is adjustable with parameters
|
|
|
CrushedAsian255
|
2024-10-30 11:09:16
|
Ah, so like a custom polynomial?
|
|
|
spider-mario
|
2024-10-30 01:29:39
|
https://ssoready.com/blog/engineering/truths-programmers-timezones/
> `America/Nuuk` does daylight savings at -01:00 (yes, with a negative)
|
|
2024-10-30 01:29:56
|
ಠ_ಠ
|
|
|
Cacodemon345
|
2024-10-30 04:42:35
|
The world can be a weird place sometimes.
|
|
|
Demiurge
|
2024-10-30 05:54:46
|
Daylight savings time is evil
|
|
2024-10-30 05:56:38
|
And it's absurd that everyone plays along with such a ludicrous and sadomasochistic game
|
|
|
Meow
|
2024-10-30 06:06:05
|
We just need ISO 8601
|
|
|
Quackdoc
|
|
Demiurge
Daylight savings time is evil
|
|
2024-11-01 02:23:13
|
I love daylight savings time, it's horrid when you go to do construction and it's still really dark, always better when daylight savings kicks in and now we can start work in sunlight again
|
|
|
Demiurge
|
2024-11-01 02:34:48
|
But... Nothing is stopping you from just changing the time you show up to work. That's what you're doing anyways, you're just doing it in a far less convenient and more idiotic way with DST
|
|
2024-11-01 02:35:55
|
Unless the value you get out of showing up to work an hour later is so low that it's not worth changing your schedule for without everyone else changing their clocks for you.
|
|
|
CrushedAsian255
|
|
Quackdoc
I love daylight savings time, it's horrid when you go to do construction and it's still really dark, always better when daylight savings kicks in and now we can start work in sunlight again
|
|
2024-11-01 02:53:13
|
Have you ever done computer programming?
|
|
|
Quackdoc
|
|
CrushedAsian255
Have you ever done computer programming?
|
|
2024-11-01 02:54:13
|
yes
|
|
|
CrushedAsian255
|
2024-11-01 02:54:26
|
Ever done date handling?
|
|
|
Quackdoc
|
|
CrushedAsian255
|
2024-11-01 02:54:39
|
And you still like DST
|
|
|
Quackdoc
|
2024-11-01 02:55:08
|
I also live like a normal person who has a life, and worked jobs such as construction and shop/fabrication work
|
|
|
Demiurge
But... Nothing is stopping you from just changing the time you show up to work. That's what you're doing anyways, you're just doing it in a far less convenient and more idiotic way with DST
|
|
2024-11-01 02:55:37
|
it's good in theory, but having everyone keeping in sync is still important
|
|
2024-11-01 02:55:45
|
deliveries, shopping etc
|
|
2024-11-01 02:56:15
|
though most people don;t have a sleep schedule worth anything any more, so shopping isn't really an argument any more, just be open 24/7 [av1_kekw](https://cdn.discordapp.com/emojis/758892021191934033.webp?size=48&quality=lossless&name=av1_kekw)
|
|
|
Demiurge
|
2024-11-01 03:04:24
|
It's easier for everyone to keep in sync if you don't force people to set their clocks back and forth, that's just sadistic.
|
|
2024-11-01 03:04:43
|
I can't believe that people obey and comply with that just because they're told to do it
|
|
2024-11-01 03:05:41
|
People are way too accustomed with just going along with what they are told to do, even if what they are being told is abusive and evil
|
|
|
Quackdoc
|
2024-11-01 03:05:54
|
I mean, you don't have to, as you said but in reverse, just don't do it.
|
|
|
Demiurge
|
2024-11-01 03:06:11
|
I don't change my clocks lol
|
|
2024-11-01 03:06:15
|
But everyone else still does.
|
|
2024-11-01 03:06:43
|
I keep the clock in my car on normal time for example
|
|
2024-11-01 03:07:11
|
But all my online devices automatically change and everyone else complies and uses stupid-time
|
|
2024-11-01 03:07:36
|
So it doesn't really matter that much what I do if the majority of people just do whatever they're told to do
|
|
2024-11-01 03:08:01
|
It still inconveniences me a lot
|
|
|
Quackdoc
|
2024-11-01 03:08:20
|
maximising sun hours is pretty important for all sorts of people and jobs, and keeping sync is also pretty important, when people get out of sync it makes everything else painful
|
|
|
Demiurge
|
2024-11-01 03:08:21
|
But it would inconvenience us all a lot less if people ignored what they were told to do and think for themselves more
|
|
|
CrushedAsian255
|
2024-11-01 03:08:23
|
screw it, lets just all use UTC
|
|
2024-11-01 03:08:30
|
i give up
|
|
|
Quackdoc
|
2024-11-01 03:08:33
|
like even basic things such as shopping become actual issues
|
|
|
Demiurge
|
|
CrushedAsian255
screw it, lets just all use UTC
|
|
2024-11-01 03:08:51
|
I don't mind that idea either, at least it doesn't change
|
|
2024-11-01 03:09:19
|
But the dumbest thing in the world is forcing people to fiddle their clocks back and forth
|
|
|
CrushedAsian255
|
|
Demiurge
I don't mind that idea either, at least it doesn't change
|
|
2024-11-01 03:09:48
|
would make international travel easier
|
|
|
Demiurge
|
2024-11-01 03:09:50
|
Instead of just, I dunno, actually starting your day in alignment with the natural world using your own decision making brain
|
|
2024-11-01 03:10:24
|
No one has to force everyone to be inconvenienced in order to benefit from sunlight
|
|
2024-11-01 03:10:44
|
We're supposed to have brains :(
|
|
2024-11-01 03:11:25
|
Sorry for rambling, I'm just sick of everyone always following orders
|
|
2024-11-01 03:12:28
|
No one takes responsibility for their own actions and their own decisions
|
|
2024-11-01 03:12:53
|
No one is even conscious that they're choosing not to make a choice
|
|
2024-11-01 03:17:02
|
People in general are afraid to own their own actions and decisions.
|
|
2024-11-01 03:22:44
|
Like when the AVIF/webp team lead Jim Bankowski doesn't say "I decided" to remove jxl support from Chromium, instead he uses the word "we" without defining who that even is. 😂
|
|
2024-11-01 03:23:01
|
Despite him being the head of the team responsible for deciding that
|
|
|
Quackdoc
|
|
CrushedAsian255
screw it, lets just all use UTC
|
|
2024-11-01 03:26:57
|
honestly would be wild, while we are at it, return to proper sunrise and sunset cycles.
boss: "I want you to be at work half hour past sunrise"
Sunrise: 6:32.48
you: 7:03.00
boss: Fired.
|
|
2024-11-01 03:27:35
|
well in UTC it would probably be like 10:00 for sunrise lol
|
|
|
Demiurge
|
2024-11-01 03:30:11
|
I doubt, if your boss is that cool, that you would be fired :)
|
|
|
_wb_
|
2024-11-01 09:41:04
|
I am still sad that the French revolution failed to make decimal time a thing.
|
|
2024-11-01 09:41:33
|
https://en.m.wikipedia.org/wiki/Decimal_time
|
|
2024-11-01 09:42:09
|
10 hours per day, 100 minutes per hour, 100 seconds per minute.
|
|
2024-11-01 09:44:15
|
Then you can do stuff like 1.56789 days equals 1 day, 5 hours, 67 minutes, 89 seconds. Quite convenient.
|
|
|
lonjil
|
|
Quackdoc
I love daylight savings time, it's horrid when you go to do construction and it's still really dark, always better when daylight savings kicks in and now we can start work in sunlight again
|
|
2024-11-01 10:12:01
|
that makes literally zero sense. Daylight savings kicks in as we go from winter to summer, that is, when the sun is rising earlier and earlier anyway
|
|
|
Quackdoc
|
|
lonjil
that makes literally zero sense. Daylight savings kicks in as we go from winter to summer, that is, when the sun is rising earlier and earlier anyway
|
|
2024-11-01 11:14:57
|
im talking about the other way, daylight savings time itself is necessary, so if you got rid of the change you would keep it to be a "permanent daylight savings"
|
|
|
lonjil
|
2024-11-01 11:15:23
|
eh?
|
|
2024-11-01 11:15:37
|
why not use regular time year around?
|
|
2024-11-01 11:15:59
|
there is nothing necessary about daylight savings
|
|
|
Quackdoc
|
2024-11-01 11:16:47
|
the point of daylight savings is to make sure you maximize daylight during working hours, so you would use that as the basis
|
|
|
lonjil
|
2024-11-01 11:17:52
|
but summer already has way more daylight
|
|
|
Quackdoc
|
2024-11-01 11:21:56
|
prioritizing productivity.
|
|
|
lonjil
|
2024-11-01 11:23:15
|
??
|
|
2024-11-01 11:23:25
|
how?
|
|
|
Quackdoc
|
2024-11-01 11:28:22
|
the vast majority of production stuff happens in "summer" times, farming, construction, fabrication etc.
|
|
|
lonjil
|
2024-11-01 11:32:23
|
yeah but because there's already way more daylight during the summer, you're not actually gaining anything
|
|
2024-11-01 11:32:51
|
and professions for which daylight is important, they get up and work with the sun regardless of what the clock says...
|
|
2024-11-01 11:34:13
|
Spain is in the same timezone as Poland, and I can tell you that people in Poland and Spain don't get up to work nor go to bed at the same wallclock hours.
|
|
|
Quackdoc
|
2024-11-01 11:42:31
|
in countries where people sync up work periods it matters a lot.
|
|
2024-11-01 11:43:11
|
also
> yeah but because there's already way more daylight during the summer, you're not actually gaining anything
may be true for locations close to the equator, but as you get further north or south the differences start to become a lot more apparant
|
|
|
lonjil
|
2024-11-01 11:50:30
|
literally the opposite of the truth :p
|
|
2024-11-01 11:50:41
|
it's up north where summer has crazy amounts of sun
|
|
2024-11-01 11:51:09
|
I live 60°N and for a decent while, we don't even have *night time*
|
|
|
w
|
2024-11-01 11:51:12
|
it doesnt matter for summer but it matters for everything else
|
|
2024-11-01 11:51:25
|
for nothern hemisphere
|
|
2024-11-01 11:52:34
|
surely youve seen this chart
|
|
2024-11-01 11:52:34
|
https://images.squarespace-cdn.com/content/v1/5bfc8dbab40b9d7dd9054f41/1550725976319-CL4T63M326DXBGFQPW55/daylight-saving-time-explained_5096f7937aee4.png
|
|
|
lonjil
|
2024-11-01 11:56:07
|
yeah I don't really see the point from that chart
|
|
|
w
|
2024-11-01 11:56:50
|
there will be too little sunlight during working hours in jan-mar/nov-dec
|
|
2024-11-01 11:57:05
|
the only other way to solve it is to move working hours
|
|
|
lonjil
|
2024-11-01 11:57:24
|
eh? But that's during the winter, which is regular time.
|
|
2024-11-01 11:57:38
|
That's what I want to have year round
|
|
|
w
|
2024-11-01 11:58:25
|
it's obviously more different the higher/lower you go
|
|
|
_wb_
|
2024-11-01 11:58:37
|
Winter time all year round makes a lot of sense. I would prefer that too.
|
|
|
w
|
2024-11-01 12:01:02
|
that's the china approach
|
|
|
lonjil
|
2024-11-01 12:02:32
|
The EU was supposed to abolish DST but it kinda fell off the agenda when COVID hit
|
|
2024-11-01 12:02:49
|
Though it was up to each country whether they wanted permanent winter time or permanent summer time.
|
|
|
w
|
2024-11-01 12:03:17
|
for me there would be ~~too much light in the summer~~ no light in waking hours of winter
|
|
2024-11-01 12:03:32
|
actually this is just ownedf
|
|
|
lonjil
|
2024-11-01 12:04:38
|
here is how it looks for me
|
|
|
_wb_
|
2024-11-01 12:07:53
|
The justification for DST has always been pretty flimsy. The main argument was that it allowed saving some energy for lighting since in summer you get more daylight after work. Maybe that was a reasonable-ish point back when we used incandescent light bulbs...
|
|
|
w
|
2024-11-01 12:14:55
|
i'm mainly seeing it as sunlight when you wake up
|
|
2024-11-01 12:15:19
|
hence the working/productivity
|
|
|
Quackdoc
|
2024-11-01 12:15:46
|
There are a lot of issues with permanent DST in general. The biggest one just being safety. I believe that was an actual issue In the past in usa
|
|
|
w
|
2024-11-01 12:16:08
|
yeah it would still be pitch black at 8am here
|
|
|
lonjil
|
2024-11-01 12:17:16
|
Swedish winter is fun
|
|
2024-11-01 12:17:20
|
pitch black when you go to work
|
|
2024-11-01 12:17:25
|
pitch black when you go home
|
|
|
Quackdoc
|
2024-11-01 12:17:51
|
Sometimes I wonder if it wouldn't make more sense just to split daylight savings into halfs or quads. So clocks change 30 minutes or 15 minutes at a time. a 15 min change would be fairly unobtrusive to sleep schedules.
|
|
|
lonjil
|
2024-11-01 12:18:16
|
permanent winter time, I say
|
|
|
spider-mario
|
2024-11-01 12:25:27
|
DST is just a form of gaslighting, ironically
|
|
2024-11-01 12:25:52
|
we just convince ourselves to do everything one hour earlier because “omg it’s already [H+1] o’clock”
|
|
2024-11-01 12:27:04
|
this kind of makes me want to make one of those “stop doing maths” memes but for DST
|
|
2024-11-01 12:27:31
|
“wanted to wake up one hour earlier anyway for a laugh? we already had a tool for that: it’s called ‘setting your alarm clock one hour earlier’ ”
|
|
|
_wb_
|
2024-11-01 12:27:34
|
Permanent winter time, and if needed change working/school hours. In any case it makes little sense to have fixed working hours all year round, at least for work that requires daylight (like construction) or that has a big seasonal component (like farming).
|
|
|
w
|
2024-11-01 12:28:03
|
having to change hours
|
|
2024-11-01 12:28:07
|
call it daylight savings
|
|
|
Meow
|
|
_wb_
I am still sad that the French revolution failed to make decimal time a thing.
|
|
2024-11-01 05:43:24
|
https://en.wikipedia.org/wiki/Swatch_Internet_Time
|
|
|
VcSaJen
|
|
Demiurge
And it's absurd that everyone plays along with such a ludicrous and sadomasochistic game
|
|
2024-11-02 04:26:21
|
Not everyone, for the last 20 years the amount of places with it decreased significantly.
|
|
|
CrushedAsian255
|
2024-11-02 04:30:32
|
I’m going to start a political party for the abolishment of DST in Australia
|
|
|
Demiurge
|
|
lonjil
The EU was supposed to abolish DST but it kinda fell off the agenda when COVID hit
|
|
2024-11-02 06:58:08
|
There's always some nonsequitor excuse to keep dst for some reason
|
|
2024-11-02 07:03:12
|
The only reason such an idiotic idea ever took off the ground is because it was forced upon people with the excuse of "there's a war, we need to conserve electricity" or some stupid crap
|
|
2024-11-02 07:03:23
|
War justifies everything
|
|
|
spider-mario
|
2024-11-02 07:08:43
|
do you wanna go to war, Balakey?
|
|
2024-11-02 07:36:45
|
(reference: https://youtu.be/Dd7FixvoKBw)
|
|
|
LMP88959
|
2024-11-02 09:19:13
|
it took me too long to realize DST was referring to daylight savings time and not discrete sine transform considering this is <#794206087879852106> lol
|
|
|
w
|
|
w
yeah it would still be pitch black at 8am here
|
|
2024-11-03 01:22:10
|
It's pitch black at 8am right now and dst closing tomorrow will fix it
|
|
|
Demiurge
|
2024-11-03 03:13:47
|
Maybe instead of changing the clocks back and forth and inconveniencing everyone, people could just change their own schedule if it's convenient to do so.
|
|
|
w
|
2024-11-03 03:38:40
|
that's even more inconvenient
|
|
|
A homosapien
|
2024-11-03 04:13:23
|
I'm more used to changing schedules so for me mentally it's better without dst
|
|
|
w
|
2024-11-03 06:24:28
|
dst is already automatic having to manually change alarms and schedules is worse
|
|
|
_wb_
|
2024-11-03 08:47:00
|
I still have devices that require manually changing the time when dst starts/ends
|
|
|
w
It's pitch black at 8am right now and dst closing tomorrow will fix it
|
|
2024-11-03 08:47:33
|
If dst would be abolished, it would have been fixed today already 😉
|
|
|
w
|
2024-11-03 09:12:53
|
but then the sun would be up too early during the summer
|
|
|
_wb_
|
2024-11-03 09:21:52
|
We should go back to waking up earlier in summer and sleeping longer in winter, imo.
|
|
|
TheBigBadBoy - 𝙸𝚛
|
2024-11-03 01:41:30
|
we should keep summer time imo
DST in winter -> go to (7h20 am) and come back from (17h30) work in the dark
no DST in winter ->come back with sun yeepeee
|
|
2024-11-03 01:41:38
|
I just hate not having the sun at home
|
|
|
LMP88959
|
2024-11-03 07:48:41
|
Anyone know some lossy transforms that exist (that benefit compression) which are asymmetrical, in the sense that they take more computation to encode than to decode?
|
|
2024-11-03 07:52:53
|
(And not a “fractal” method)
|
|
|
juliobbv
|
|
LMP88959
Anyone know some lossy transforms that exist (that benefit compression) which are asymmetrical, in the sense that they take more computation to encode than to decode?
|
|
2024-11-03 11:20:44
|
the only thing that comes into mind are the usual CfL implementations, in that you'll need to try out multiple alpha values (and sometimes beta) to get the one with the smallest error
|
|
2024-11-03 11:25:38
|
decoding just involves using the provided values, so that's significantly faster
|
|
|
LMP88959
|
2024-11-03 11:26:26
|
Hmm yeah but that’s different than like a “compex DCT” encode and a “simple DCT” decode which was what i had in mind
|
|
|
juliobbv
|
2024-11-03 11:27:06
|
yeah, I don't know of any asymmetrical-in-time DCT
|
|
2024-11-03 11:28:18
|
the asymmetry usually comes from the encoder trying out multiple transform sizes/types
|
|
|
CrushedAsian255
|
2024-11-03 11:28:31
|
or different quantisation
|
|
|
LMP88959
|
|
juliobbv
the asymmetry usually comes from the encoder trying out multiple transform sizes/types
|
|
2024-11-03 11:29:34
|
Yeah which is why i said “and not a fractal method” lol because that’s the king of trying out different things
|
|
|
juliobbv
|
2024-11-03 11:30:51
|
maybe neural net AI (TM) encoders have the answer?
|
|
|
CrushedAsian255
or different quantisation
|
|
2024-11-03 11:36:43
|
`sb-qp-sweep` my beloved <:KekDog:805390049033191445>
|
|
|
CrushedAsian255
|
|
juliobbv
maybe neural net AI (TM) encoders have the answer?
|
|
2024-11-03 11:37:59
|
You know what will really boost JPEG XL adoption?
JPEG XL needs to be an ✨✨ AI ✨✨ first format.
We need to integrate ✨✨ generative AI ✨✨ and ✨✨ machine learning ✨✨!
|
|
|
juliobbv
|
|
CrushedAsian255
You know what will really boost JPEG XL adoption?
JPEG XL needs to be an ✨✨ AI ✨✨ first format.
We need to integrate ✨✨ generative AI ✨✨ and ✨✨ machine learning ✨✨!
|
|
2024-11-03 11:38:47
|
modular but add transformers and relu somewhere
|
|
|
CrushedAsian255
|
|
juliobbv
modular but add transformers and relu somewhere
|
|
2024-11-03 11:39:29
|
gen AI context trees?
|
|
|
juliobbv
|
|
CrushedAsian255
gen AI context trees?
|
|
2024-11-03 11:39:39
|
now you're onto something
|
|
2024-11-03 11:39:57
|
data-driven predictors
|
|
|
jonnyawsom3
|
2024-11-04 12:09:15
|
AI assised MA trees has been an idea for a while
|
|
|
Nova Aurora
|
|
CrushedAsian255
You know what will really boost JPEG XL adoption?
JPEG XL needs to be an ✨✨ AI ✨✨ first format.
We need to integrate ✨✨ generative AI ✨✨ and ✨✨ machine learning ✨✨!
|
|
2024-11-04 07:09:18
|
I'd like to propse a new extension to the standard, JPEG XL + AI, it's just like JXL, but there is a metadata slot that contains a prompt to 🌈 generate 🌈 an "enhanced" version of the image when forwarded to my AI model, only €20 per prompt
||Nothing in this proposal shall be considered an offer of product or technical services, a gurantee of quality, or a warranty of fitness for any purpose or of merchantability||
|
|
|
CrushedAsian255
|
|
Nova Aurora
I'd like to propse a new extension to the standard, JPEG XL + AI, it's just like JXL, but there is a metadata slot that contains a prompt to 🌈 generate 🌈 an "enhanced" version of the image when forwarded to my AI model, only €20 per prompt
||Nothing in this proposal shall be considered an offer of product or technical services, a gurantee of quality, or a warranty of fitness for any purpose or of merchantability||
|
|
2024-11-04 07:11:20
|
Sorry but I don't think I'm going to invest, for these main reasons:
1. Not enough 🚀🚀🚀 rocket emojis 🚀🚀🚀, how do I know if it's going to be 🚀blazingly fast🚀?
2. How can you use ✨AI✨ without the ✨✨✨sparkle emojis✨✨✨?
3. Not written in 🦀rust
|
|
2024-11-04 07:12:05
|
<:rust:854096515727753266>🦀<:rust:854096515727753266>🦀<:rust:854096515727753266>🦀
|
|
|
Nova Aurora
|
|
CrushedAsian255
Sorry but I don't think I'm going to invest, for these main reasons:
1. Not enough 🚀🚀🚀 rocket emojis 🚀🚀🚀, how do I know if it's going to be 🚀blazingly fast🚀?
2. How can you use ✨AI✨ without the ✨✨✨sparkle emojis✨✨✨?
3. Not written in 🦀rust
|
|
2024-11-04 07:14:10
|
My bad, I'm never gonna get VC funding for the future of ~~my wallet~~ image encoding at this rate
|
|
|
CrushedAsian255
|
|
Nova Aurora
My bad, I'm never gonna get VC funding for the future of ~~my wallet~~ image encoding at this rate
|
|
2024-11-04 07:17:25
|
Here, let me fix it for you
🚀🚀🚀 JPEG XL IS NOW AN AI FIRST IMAGE FORMAT
I would like to propose a new 🚀 **blazingly fast, super secure** ✨ AI based ✨ extension to JPEG XL, written in <:rust:854096515727753266> Rust! 🦀
This extension adds a metadata slot that uses ✨AI✨ to generate an enhanced version of the image when forwarded to my AI model, only €20 per prompt. It's 🚀blazingly fast and 🔒super secure (trust me).
|
|
2024-11-04 07:17:51
|
VCs: 🤑🤑🤑💸💸💸
|
|
2024-11-04 07:18:51
|
<@794205442175402004> what do you think of our proposal?
|
|
2024-11-04 07:19:08
|
can we have the $3 billion of funding to set this up? Please????
|
|
|
_wb_
|
2024-11-04 08:05:56
|
Needs more buzzwords. Where's the VR/AR in this? And the blockchains?
|
|
|
CrushedAsian255
|
|
_wb_
Needs more buzzwords. Where's the VR/AR in this? And the blockchains?
|
|
2024-11-04 08:49:24
|
FINE (your demands mean i had to raise prices a bit)
🚀🚀🚀 JPEG XL IS NOW AN AI FIRST IMAGE FORMAT
I would like to propose a new 🚀 **blazingly fast, super secure** ✨ AI based ✨ extension to JPEG XL, written in <:rust:854096515727753266> Rust! 🦀
This extension adds a metadata slot that uses ✨AI✨ to generate an enhanced version of the image when forwarded to my AI model, only $200.00 per token in prompt per pixel per image generated. It's 🚀blazingly fast and by using revolutionary **BLOCKCHAIN TECHNOLOGY** your photos are 🔒 *super secure* (trust me). This technology also allows you ✨JPEG XL with AI ✨ images to be compatible in the AR VR Metaverse Spatial Computing Next Generation Oculus Vision Pro Max Ultra virtual reality dimension!!! Oh, and it runs in the !! CLOUD !! as a SaaS distributed edge computing matrix network protocol!
|
|
|
jonnyawsom3
|
|
_wb_
Needs more buzzwords. Where's the VR/AR in this? And the blockchains?
|
|
2024-11-04 09:54:26
|
You gave me a flashback to a VR game with a cryptocurrency no one used, until one day it's value increased by 10000x bringing a swarm of cryptobros to the door while everyone ran to sell sell sell
|
|
|
Nova Aurora
|
|
CrushedAsian255
FINE (your demands mean i had to raise prices a bit)
🚀🚀🚀 JPEG XL IS NOW AN AI FIRST IMAGE FORMAT
I would like to propose a new 🚀 **blazingly fast, super secure** ✨ AI based ✨ extension to JPEG XL, written in <:rust:854096515727753266> Rust! 🦀
This extension adds a metadata slot that uses ✨AI✨ to generate an enhanced version of the image when forwarded to my AI model, only $200.00 per token in prompt per pixel per image generated. It's 🚀blazingly fast and by using revolutionary **BLOCKCHAIN TECHNOLOGY** your photos are 🔒 *super secure* (trust me). This technology also allows you ✨JPEG XL with AI ✨ images to be compatible in the AR VR Metaverse Spatial Computing Next Generation Oculus Vision Pro Max Ultra virtual reality dimension!!! Oh, and it runs in the !! CLOUD !! as a SaaS distributed edge computing matrix network protocol!
|
|
2024-11-04 07:46:38
|
We use ethereum gas to provide the AI processing, in order to ensure the *consensus* in how your image should look <:YEP:808828808127971399>
|
|
2024-11-04 08:06:16
|
It also allows you to automatically create an NFT of your image <:YEP:808828808127971399>
|
|
|
jonnyawsom3
|
2024-11-08 03:10:11
|
Maybe I should go visit Hello Games and give them a stern talking to....
|
|
2024-11-08 03:10:14
|
|
|
2024-11-08 03:20:21
|
They uploaded 8K PS5 screenshots for the last patch notes on their site, even though there's no fullscreen button and they can only take up half of the screen at most
|
|
|
spider-mario
|
2024-11-08 03:20:36
|
they’re just waiting for jxl in chrome before taking the step to lossy
|
|
2024-11-08 03:20:54
|
(just in case: I don’t actually know that, I’m just joking)
|
|
|
jonnyawsom3
|
2024-11-08 03:21:14
|
Progressive 206 Partial Content request
|
|
2024-11-08 03:25:28
|
In the release log where you choose what update to look at, they have preview images underneath the paragraph describing it... All 4K images, 10MB+ each, no lazy loading, no lube https://www.nomanssky.com/release-log/
|
|
|
Quackdoc
|
|
|
|
2024-11-08 03:25:35
|
this bloody hurts
|
|
|
jonnyawsom3
|
|
In the release log where you choose what update to look at, they have preview images underneath the paragraph describing it... All 4K images, 10MB+ each, no lazy loading, no lube https://www.nomanssky.com/release-log/
|
|
2024-11-08 03:25:55
|
The one at the top has the 8K images
|
|
2024-11-08 03:26:46
|
hhhhhhhhhh
```File: No-Mans-Sky-PS5-Pro-Screen-1.png (57291841 bytes)
chunk IHDR at offset 0x0000c, length 13
7680 x 4320 image, 32-bit RGB+alpha, non-interlaced
chunk IDAT at offset 0x00025, length 64778
zlib: deflated, 32K window, fast compression```
|
|
|
Quackdoc
|
2024-11-08 03:26:47
|
this took so long to load on my phone [av1_kekw](https://cdn.discordapp.com/emojis/758892021191934033.webp?size=48&quality=lossless&name=av1_kekw)
|
|
|
jonnyawsom3
|
2024-11-08 03:27:14
|
Please Sean, Alpha too? I can take your updates but not your memory usage
|
|
|
Quackdoc
|
2024-11-08 03:27:54
|
I need an ide ssd for my crappy netbook so i can try and load this page in it [av1_kekw](https://cdn.discordapp.com/emojis/758892021191934033.webp?size=48&quality=lossless&name=av1_kekw)
|
|
2024-11-08 03:30:06
|
its having issues loading on my bloody desktop wtf is this
|
|
|
jonnyawsom3
|
2024-11-08 03:30:53
|
I always had issues loading the big updates because of all the videos loading and autoplaying at once causing my GPU to hit it's HW decode limit
|
|
2024-11-08 03:31:14
|
Now they're going after the CPU with 8K images at the same time, god help us
|
|
2024-11-08 03:31:55
|
I might *actually* @ him or find a contact or something, because jesus christ they need to learn the basics of optimization
|
|
2024-11-08 03:35:26
|
15MB off and half the decode time with e1, can halve the filesize but add half the decode time with e7
Naturally lossy blows it's socks off with 10x smaller size and half the decode time
|
|
2024-11-08 03:35:34
|
Hrmm... That's not right :P
|
|
|
Quackdoc
|
2024-11-08 03:37:56
|
rip all the images on the page, transcode them to jxl and see how much space is saved [av1_dogelol](https://cdn.discordapp.com/emojis/867794291652558888.webp?size=48&quality=lossless&name=av1_dogelol)
|
|
|
jonnyawsom3
|
|
Quackdoc
rip all the images on the page, transcode them to jxl and see how much space is saved [av1_dogelol](https://cdn.discordapp.com/emojis/867794291652558888.webp?size=48&quality=lossless&name=av1_dogelol)
|
|
2024-11-08 03:55:33
|
`Original 136MB, ECT 95.4MB, JXL Lossless 71.7MB, JXL Lossy 15.7MB`
|
|
|
Quackdoc
|
2024-11-08 03:55:58
|
nice lol
|
|
|
jonnyawsom3
|
|
Progressive 206 Partial Content request
|
|
2024-11-08 04:24:20
|
Scratch that https://github.com/libjxl/libjxl/issues/3823
|
|
|
CrushedAsian255
|
2024-11-09 11:14:52
|
<@206628065147748352> in JXL oxide how do you store just a large array in the heap? Like how in C you can do
my_struct* array = malloc(sizeof(my_struct)*10000)
|
|
2024-11-09 11:15:09
|
I’m trying to learn rust in the scope of data compression
|
|
|
Tirr
|
|
CrushedAsian255
<@206628065147748352> in JXL oxide how do you store just a large array in the heap? Like how in C you can do
my_struct* array = malloc(sizeof(my_struct)*10000)
|
|
2024-11-09 04:53:44
|
```rust
let mut floats = vec![0.0f32; size];
```
<https://doc.rust-lang.org/std/vec/struct.Vec.html>
|
|
|
CrushedAsian255
|
|
Tirr
```rust
let mut floats = vec![0.0f32; size];
```
<https://doc.rust-lang.org/std/vec/struct.Vec.html>
|
|
2024-11-09 10:32:02
|
is there a way to make a fixed-length Vec?
|
|
|
lonjil
|
|
CrushedAsian255
is there a way to make a fixed-length Vec?
|
|
2024-11-09 11:00:12
|
what do you mean by fixed length vec?
|
|
|
CrushedAsian255
|
2024-11-09 11:00:34
|
like how malloc() gives you a fixed length array and you get a thin pointer to it?
|
|
2024-11-09 11:01:02
|
can you have something like a `Box<[f32; 100000]>` ?
|
|
|
lonjil
|
|
CrushedAsian255
|
2024-11-09 11:01:56
|
how do you init one?
|
|
|
lonjil
|
2024-11-09 11:03:04
|
the easiest way to make an array on the heap is `Box::new([1, 2, 3])`
|
|
2024-11-09 11:03:11
|
just, making an array and putting it on the heap
|
|
2024-11-09 11:04:55
|
If you want something more like malloc, where you provide a size and then get a pointer back, you want a boxed slice, and the easiest way to do that is `Vec::with_capacity(n).into_boxed_slice()` giving you a `Box<[T>`
|
|
|
CrushedAsian255
|
|
lonjil
If you want something more like malloc, where you provide a size and then get a pointer back, you want a boxed slice, and the easiest way to do that is `Vec::with_capacity(n).into_boxed_slice()` giving you a `Box<[T>`
|
|
2024-11-09 11:38:17
|
will this be optimised by the compiler?
|
|
|
lonjil
|
2024-11-09 11:38:44
|
optmized how?
|
|
2024-11-09 11:39:02
|
probably
|
|
|
CrushedAsian255
|
2024-11-09 11:39:06
|
to just a malloc()
|
|
|
lonjil
|
2024-11-09 11:39:25
|
Since the actual `Vec` struct only exists locally, easyish to optimize
|
|
|
CrushedAsian255
|
2024-11-09 11:39:45
|
rust seems complex
|
|
|
lonjil
|
2024-11-09 11:40:37
|
you could alloc directly, though that gives you a raw pointer so requires a bit of unsafe
|
|
|
CrushedAsian255
|
2024-11-09 11:41:40
|
can i just put my entire code in an unsafe?
|
|
2024-11-09 11:42:14
|
or have i just re-invented C
|
|
|
lonjil
|
2024-11-09 11:45:20
|
I tried it on Godbolt
|
|
2024-11-09 11:45:28
|
didn't compile to just a malloc
|
|
2024-11-09 11:45:39
|
because there's some error handling nonsense as well 😄
|
|
|
CrushedAsian255
|
|
lonjil
I tried it on Godbolt
|
|
2024-11-09 11:47:24
|
compiler explorer?
|
|
|
lonjil
|
2024-11-09 11:47:29
|
yeah
|
|
2024-11-09 11:53:55
|
wait, please ignore everything I just said 😂
|
|
2024-11-09 11:54:11
|
I'm sleepy af, the above code does not work
|
|
|
CrushedAsian255
|
|
lonjil
I'm sleepy af, the above code does not work
|
|
2024-11-09 11:55:37
|
your knowledge is a bit.. rusty?
|
|
|
lonjil
|
2024-11-09 11:55:49
|
no im just tired
|
|
2024-11-09 11:56:06
|
and I accidentally read what I believe is an incorrect but upvoted answer on stackoverflow
|
|
2024-11-10 12:00:56
|
<@386612331288723469> here's something that looks correct ```rust
pub fn alloc_i32_slice(n: usize) -> Box<[i32]> {
vec![0; n].into_boxed_slice()
}
```
|
|
|
CrushedAsian255
|
|
lonjil
<@386612331288723469> here's something that looks correct ```rust
pub fn alloc_i32_slice(n: usize) -> Box<[i32]> {
vec![0; n].into_boxed_slice()
}
```
|
|
2024-11-10 12:01:35
|
is there something like `.into_boxed_array()` ?
whenever using the slice doesn't it do bounds checking?
|
|
|
lonjil
|
2024-11-10 12:01:52
|
array access also bounds checks
|
|
2024-11-10 12:04:08
|
but you can just use `unsafe { x.get_unchecked(idx) }` to bypass bounds checking 😉
|
|
2024-11-10 12:18:57
|
behold, my definitely correct and not bad Rust code ```rust
use std::{
alloc::{self, handle_alloc_error, Layout},
mem::transmute,
};
fn alloc_array<const N: usize>() -> Box<[i32; N]> {
unsafe {
let layout = Layout::new::<[i32; N]>();
let ptr = alloc::alloc_zeroed(layout);
if ptr.is_null() {
handle_alloc_error(layout)
}
let ptr = transmute::<*mut u8, *mut [i32; N]>(ptr);
Box::from_raw(ptr)
}
}
fn main() {
let blah = alloc_array::<45>();
println!("{:?}", blah);
}
```
|
|
|
RaveSteel
|
2024-11-11 06:04:08
|
https://www.hq.eso.org/public/images/eso1242a/
The full 3.9GB TIFF converted to JXL at e7 weighs in at 2.4GB and takes a whopping 27 seconds to load using nomacs, a Qt based image viewer.
At e1, 2.6GB, it still takes around 5 seconds.
vipsdisp took 35 seconds at e1 and had not finished loading even after 4 minutes at e7
|
|
|
CrushedAsian255
|
2024-11-11 06:07:46
|
does nomacs use chunked decoding?
|
|
|
RaveSteel
|
2024-11-11 06:10:31
|
No idea
|
|
2024-11-11 06:10:48
|
But I was expecting vipsdisp to beat nomacs
|
|
2024-11-11 06:10:56
|
because it often has in the past
|
|
|
jonnyawsom3
|
2024-11-11 11:07:11
|
Funny thing is my 200MP image takes around the same time to decode. I should really replace my CPU...
|
|
|
Quackdoc
|
2024-11-11 02:50:10
|
does anybody have that link of the manga page that has an entire manga in just pure images?
|
|
2024-11-11 02:51:47
|
nvm found it
|
|
|
RaveSteel
|
|
Quackdoc
nvm found it
|
|
2024-11-11 02:54:31
|
Can you link iT please?
|
|
|
Quackdoc
|
2024-11-11 02:55:08
|
yeah sure when my PC starts responding lol
|
|
2024-11-11 02:58:11
|
https://m.grass.moe/chapter/lacking_54
|
|
2024-11-11 02:59:24
|
I got jxl-oxide working with servo using the image integration and uh, it crashed my PC
|
|
2024-11-11 02:59:31
|
[av1_kekw](https://cdn.discordapp.com/emojis/758892021191934033.webp?size=48&quality=lossless&name=av1_kekw)
|
|
|
RaveSteel
|
2024-11-11 02:59:46
|
Thanks
|
|
|
Quackdoc
|
2024-11-11 04:39:56
|
so yeah, using jxl with servo is... risky
|
|
2024-11-11 04:40:25
|
it uses tons of system resources lol
|
|
2024-11-11 04:41:46
|
using gb's corpus page hurts a little bit, but it's more or less fine, using that gross.moe page on the otherhand is bloody rough
|
|
2024-11-11 06:58:47
|
well this isn't right
|
|
|
ProfPootis
|
2024-11-12 08:58:50
|
anyone know of any readers for android that can decode jxl in a .cbz container (or any other cb format)
|
|
|
Quackdoc
|
2024-11-12 09:04:03
|
tachiyomi can In a container, I can't remember which one tho
|
|
2024-11-12 09:04:07
|
mihon*
|
|
2024-11-12 09:04:24
|
I think cb was added
|
|
|
HCrikki
|
2024-11-12 03:25:09
|
i tried in mihon (successor of tachiyomi) before and it worked. iinm the issue of reading from within cbz was since fixed
|
|
|
jonnyawsom3
|
2024-11-12 04:09:36
|
<@604964375924834314> could that ICC tool you made help compress dark images? Or would the fact the file is flagged as 24bit mean there will always be banding unless dithered
|
|
|
novomesk
|
|
CrushedAsian255
does nomacs use chunked decoding?
|
|
2024-11-13 10:39:50
|
loading depends on Qt plugin (usually from kimageformats). I think the chunked decoding was not implemented there.
Most probably RaveSteel is using patched sources to avoid limit preventing to load too big images.
Opening speed could be even higher when future libjxl API allows requesting data in various pixel formats directly.
Now it is possible to get RGB(A) and then the app converts pixels to BGRA.
|
|
|
jonnyawsom3
|
2024-11-13 11:47:11
|
Loading the DC until zooming, and then doing so with cropped decoding would also speedup
|
|
|
CrushedAsian255
|
|
Loading the DC until zooming, and then doing so with cropped decoding would also speedup
|
|
2024-11-13 11:53:02
|
Maybe it should become a rule for images above a certain size to have some kind of dc frame
|
|
2024-11-13 11:53:06
|
Either that or Scrooge
|
|
2024-11-13 11:53:13
|
Squeeze*
|
|
|
jonnyawsom3
|
2024-11-13 12:00:30
|
Having the option of a non-upsampled DC would help lower memory usage a ton for previewing images too
|
|
2024-11-13 12:01:39
|
Since all images have the 1:8 DC anyway
|
|
|
CrushedAsian255
|
2024-11-13 12:05:45
|
All VarDCT images*
|
|
|
RaveSteel
|
|
novomesk
loading depends on Qt plugin (usually from kimageformats). I think the chunked decoding was not implemented there.
Most probably RaveSteel is using patched sources to avoid limit preventing to load too big images.
Opening speed could be even higher when future libjxl API allows requesting data in various pixel formats directly.
Now it is possible to get RGB(A) and then the app converts pixels to BGRA.
|
|
2024-11-13 01:01:57
|
I am not using any patched Software, but I am setting a Qt environment variable to allow loading images over 256MP
|
|
|
Quackdoc
|
2024-11-13 03:20:29
|
MAN, I converted all my gifs to jxl but forgot to some how lable them, I probably should have changed the file extension to .jxla or something, how do you go about "standardizing" more file extensions anyways?
|
|
2024-11-13 03:31:07
|
wait these numbers are weird one sec
|
|
|
Oleksii Matiash
|
|
Quackdoc
MAN, I converted all my gifs to jxl but forgot to some how lable them, I probably should have changed the file extension to .jxla or something, how do you go about "standardizing" more file extensions anyways?
|
|
2024-11-13 03:31:22
|
Earlier I named my jxls as jxl (native lossy jxl), jxll (native lossless jxl), jxlj (jpeg-in-jxl), but later I modified my de-jxl script to run jxlinfo first and get the idea what is inside jxl to determine correct output format
|
|
|
Quackdoc
|
2024-11-13 03:32:11
|
for me, I dont particularly care if something is lossless or not, but animated is fairly important to me
|
|
|
Oleksii Matiash
|
2024-11-13 03:32:29
|
It was mostly done because there are too many stupid apps, that look only to extension, and it is impossible to tell them that these extensions are jxl too
|
|
|
Quackdoc
|
2024-11-13 03:36:46
|
I think for now ill just actually keep the gif since I don't have all that many of them anyways
|
|
|
Crite Spranberry
|
2024-11-13 03:58:40
|
It would be cool to have something other than gif but nobody wants to support it
|
|
|
Quackdoc
|
2024-11-13 04:10:34
|
the largest issue is sorting between "animated" and "not animated"
|
|
|
dogelition
|
2024-11-13 05:02:17
|
discord supports hdr for emotes and profile pictures now, just need to upload a hdr png e.g. generated by `djxl`
|
|
2024-11-13 05:02:47
|
(presumably they just stopped stripping icc profiles from those, so the specific requirement for hdr would be that the icc profile has a `cicp` tag)
|
|
|
jonnyawsom3
|
2024-11-13 05:14:50
|
This cannot end well knowing the average Discord user
|
|
|
Quackdoc
|
|
dogelition
discord supports hdr for emotes and profile pictures now, just need to upload a hdr png e.g. generated by `djxl`
|
|
2024-11-13 05:18:19
|
that sounds horrid
|
|
|
jonnyawsom3
|
|
<@604964375924834314> could that ICC tool you made help compress dark images? Or would the fact the file is flagged as 24bit mean there will always be banding unless dithered
|
|
2024-11-13 11:28:51
|
<@604964375924834314> giving you another poke since you just posted, hope you don't mind
|
|
|
spider-mario
|
2024-11-13 11:29:24
|
ah, right, sorry
|
|
2024-11-13 11:30:23
|
in its current state, I doubt that it could, but I have been made aware of a theoretical possibility which, however, wouldn’t work in Chrome
|
|
2024-11-13 11:30:44
|
turns out that some ICC profiles have a white point with Y<1
|
|
|
jonnyawsom3
|
2024-11-13 11:31:38
|
Huh.... Interesting
|
|
|
spider-mario
|
2024-11-13 11:32:46
|
but Chrome renders them differently from other software (I don’t remember for sure in which direction, I’ll try to remember to check tomorrow)
|
|
|
|
s5ss
|
|
Quackdoc
the largest issue is sorting between "animated" and "not animated"
|
|
2024-11-14 01:25:45
|
I did it this way "xxxx.gif.jxl" (animated jxl) "xxxx.jpg.jxl" (jpeg-in-jxl) "xxxx.png.jxl" (lossless jxl)
|
|
|
Quackdoc
|
|
s5ss
I did it this way "xxxx.gif.jxl" (animated jxl) "xxxx.jpg.jxl" (jpeg-in-jxl) "xxxx.png.jxl" (lossless jxl)
|
|
2024-11-14 01:26:00
|
yeah that's what im doing for now
|
|
|
spider-mario
|
|
spider-mario
but Chrome renders them differently from other software (I don’t remember for sure in which direction, I’ll try to remember to check tomorrow)
|
|
2024-11-14 01:37:51
|
ah, Chrome/skcms renders them dark, lcms2 and Adobe don’t <@238552565619359744>
|
|
2024-11-14 01:38:19
|
and the ICC spec mentions some cases where the luminance of the white point might be greater than 1, but it’s not clear to me whether it’s legal for it to be less
|
|
2024-11-14 01:44:20
|
https://crbug.com/skia/40044611
|
|
|
jonnyawsom3
|
2024-11-14 01:48:29
|
2 years later the bug has a lead
|
|
|
_wb_
|
2024-11-14 10:25:51
|
I made a plot
|
|
2024-11-14 10:30:51
|
Not sure if I should keep that bump for cameras, it's based on the 102-megapixel Fujifilm GFX100 which was released in 2019, while today in 2024 pretty much the highest resolution camera around is the Sony α7R V at 61 megapixels.
My conclusion is they went ahead and broke that 100 megapixel barrier and then decided ~50 megapixels is actually enough.
|
|
|
spider-mario
|
2024-11-14 10:33:54
|
the GFX 100 line is still going
|
|
2024-11-14 10:34:14
|
https://www.dpreview.com/products/fujifilm/slrs/fujifilm_gfx100sii 2024
|
|
2024-11-14 10:35:11
|
and it’s more affordable than it used to be
|
|
2024-11-14 10:35:39
|
certainly more affordable than the Phase One IQ4 with its 150 megapixels
|
|
|
_wb_
|
2024-11-14 10:42:29
|
right but that one is also from 2019
|
|
2024-11-14 10:43:37
|
point is: there doesn't seem to be any camera released after 2019 that has a higher resolution than those ones
|
|
2024-11-14 10:46:58
|
my hypothesis is that for both phones and cameras, we've reached the point of "enough pixels", and any further improvement in fidelity is not going to come from higher resolution but from more color precision / dynamic range / etc
|
|
2024-11-14 10:48:40
|
the other option is that these curves will keep going up like they have for 3 decades now
|
|
|
spider-mario
|
|
_wb_
point is: there doesn't seem to be any camera released after 2019 that has a higher resolution than those ones
|
|
2024-11-14 11:25:56
|
higher, no, but as high, yes (GFX 100S II), so should it really go back down?
|
|
2024-11-14 11:26:16
|
Sony never went that high, Fujifilm continued to
|
|
|
lonjil
|
|
_wb_
Not sure if I should keep that bump for cameras, it's based on the 102-megapixel Fujifilm GFX100 which was released in 2019, while today in 2024 pretty much the highest resolution camera around is the Sony α7R V at 61 megapixels.
My conclusion is they went ahead and broke that 100 megapixel barrier and then decided ~50 megapixels is actually enough.
|
|
2024-11-14 11:55:33
|
the Fujifilm GFX 100 cameras have larger sensors, so it makes sense that they have more megapixels.
|
|
2024-11-14 11:56:05
|
And fidelity isn't necessarily the only reason to increase sensor resolution; another is ability to crop.
|
|
2024-11-15 12:02:52
|
I believe the GFX 100 cameras use Sony sensors, with the exact same pixel design as in the a7R V
|
|
2024-11-15 12:04:39
|
Designing sensor pixels is complicated work, so ideally you want to design as few different pixel designs as possible with each new generation. Smaller sensors need small pixels to have a high enough resolution, so larger sensors get higher resolutions almost for free.
|
|
|
jonnyawsom3
|
|
lonjil
And fidelity isn't necessarily the only reason to increase sensor resolution; another is ability to crop.
|
|
2024-11-15 12:31:08
|
https://x.com/CDisillusion/status/1848581815331635322
|
|
|
Oleksii Matiash
|
|
spider-mario
Sony never went that high, Fujifilm continued to
|
|
2024-11-15 04:54:31
|
Sony does not produce MF cameras, even the smallest MF, as Fuji does. However, Sony produces all these MF sensors now, for Fuji, P1, Hassel, whatever
|
|
|
|
salrit
|
2024-11-15 08:22:26
|
If I am running the modular mode (say for a single channel image, such as grey-scale), in which stage does the block-size is determined, I mean the block sizes that the image is going to be divided? -- for JXL
|
|
|
CrushedAsian255
|
2024-11-15 08:22:56
|
Block size for modular?
|
|
|
|
salrit
|
2024-11-15 08:23:30
|
Or is it just for the VarDCT , I mean lossy ?
|
|