JPEG XL

Info

rules 57
github 35276
reddit 647

JPEG XL

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

General chat

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

Voice Channels

General 2147

Archived

bot-spam 4380

off-topic

DZgas Ж
2023-04-06 12:09:42
no ram error
Traneptora
2023-04-06 12:10:23
software does not need documentation that says if you try to do stupid things with it then it might not work
DZgas Ж
2023-04-06 12:10:25
2023-04-06 12:11:14
yes, I see that this image is large, but can I find out where the Limit is written, and what is it based on?
Traneptora
2023-04-06 12:11:53
I found it *immediately* from google
2023-04-06 12:11:55
`((Width * 8) + 1024)*(Height + 128) < INT_MAX`
2023-04-06 12:12:03
just because you are bad at doing your own research doesn't mean that the software sucks
DZgas Ж
2023-04-06 12:12:04
I have friends who have at least 128 gigabytes of RAM. but the software just doesn't work.
Traneptora `((Width * 8) + 1024)*(Height + 128) < INT_MAX`
2023-04-06 12:13:19
what? doesn't that make sense? the limit is not shown here
2023-04-06 12:14:04
INT_MAX is 2147483647
2023-04-06 12:14:37
in pixels is 2147 megapixel
190n
2023-04-06 12:14:57
it's not pixels tho
Traneptora `((Width * 8) + 1024)*(Height + 128) < INT_MAX`
2023-04-06 12:15:13
the LHS of this expression isn't measuring pixels
2023-04-06 12:15:58
your image has fewer than 2147 megapixels but it fails the size limit due to whatever that is calculating (i guess something with rgba 16-bit channels and some padding?)
Traneptora
2023-04-06 12:16:08
that would be my best guess
2023-04-06 12:16:21
as this ends up being `8 * (width + 128) * (height + 128)`
2023-04-06 12:16:33
and 16-bit rgba is 8 bytes per pixel
190n
Traneptora as this ends up being `8 * (width + 128) * (height + 128)`
2023-04-06 12:17:20
oh it does lol
Traneptora
2023-04-06 12:17:21
even without the padding, in 16-bit RGBA your image dimensions take up `3136607544` bytes, which is more than `2^32 - 1`
190n
2023-04-06 12:17:25
wonder why it's written out that way in code
Traneptora
2023-04-06 12:17:35
I don't know, I'm guessing gyan doshi copied it directly from the check
2023-04-06 12:17:42
when answering the question
DZgas Ж
2023-04-06 12:18:13
((1091 * 8) + 1024)*(359373 + 128) = 3505853752
2023-04-06 12:18:29
``` 3505853752 > 2147483647```
Traneptora
2023-04-06 12:18:32
yup
2023-04-06 12:18:56
it's measuring bytes required
2023-04-06 12:19:14
might be related to GPU code which could still potentially have 32-bit issues
DZgas Ж
2023-04-06 12:19:53
> On a machine with 32-bit integers
Traneptora
2023-04-06 12:20:40
which is basically every machine
2023-04-06 12:21:01
`sizeof(int) == 4` is true on every architecture in the last 20 years
DZgas Ж
2023-04-06 12:22:09
But anyway, just look at them. they just don't solve this problem <:PepeOK:805388754545934396>
Traneptora yup
2023-04-06 12:29:15
so yes. in my practice, everything worked out with the theory - can't work with the image in my cases more than 1280x190000
Traneptora software does not need documentation that says if you try to do stupid things with it then it might not work
2023-04-06 12:29:59
I completely disagree with you
Traneptora just because you are bad at doing your own research doesn't mean that the software sucks
2023-04-06 12:31:29
Well, if the program does not work because it has limitations in the code of work in a maximum of 32 bit values - of course software sucks
2023-04-06 12:32:55
Even the dumb Paint-net has a block chunks structure allow you to work with all these images, even though it can't JUST save a Png with a size larger than 65535
2023-04-06 12:46:24
although it is worth mentioning that paint-net has a size limit, this is it, but it has it over the entire height+width (I just don't have enough memory to create such canvas), which means that the maximum coordinates are 36 bits
2023-04-06 12:47:53
but this no kidding, it's literally I can work with an image, it takes only 1.5 GB RAM and I can work with it - it's not a problem at all.
improver
2023-04-06 02:16:00
jxl could if decoder was sane not use that much ram
2023-04-06 02:17:24
but like actually implementing all the details, especially extra features like patches, splines and filters with awareness of current view field and zoom factor is an effort
2023-04-06 02:20:17
afaik vardct provides sort of progressive steps, and even in case of modular you could use tiles, resizing each one before store & reusing space for next one
2023-04-06 02:21:27
but then applying patches and filtering the same way as you'd get doing filtering and resizing stuff only then could be tricky
2023-04-06 02:24:20
it's like, kinda a hack, to not actually decode stuff fullres for display, but in considerable amount of cases you cant really display fullres image if its large, resorting to either resize or part of it
w
2023-04-06 02:24:30
so in other words, jxl can but it cant
2023-04-06 02:24:36
png has decode by row and interlacing
2023-04-06 02:24:38
jpeg has blocks
improver
2023-04-06 02:24:44
it can but its not exactly easy
w
2023-04-06 02:24:45
jxl has nothing
2023-04-06 02:24:46
right now
improver
2023-04-06 02:24:59
png cant if img width is limiting factor
w
2023-04-06 02:25:37
actually it can is a bad word
2023-04-06 02:25:43
it has the potential
2023-04-06 02:25:46
but it can't
improver
2023-04-06 02:27:06
fair. id say more potential than png and jpg. historically formats didn't have much potential for this, so its kinda under-explored territory in general imo
2023-04-06 02:27:30
i think the way avif is doing tiling would allow it too
w
2023-04-06 02:27:36
except i wouldnt want to live in anticipation forever
2023-04-06 02:28:54
for editing people end up just using uncompressed
improver
2023-04-06 02:28:59
i wanted to do a demo at some point but like this winter is too hard to do anything than bare minimum. i kinda see how but no energy
w
2023-04-06 02:29:25
i don't think it's worth the effort
2023-04-06 02:30:42
the parts that make the codec are too hard individually. it would be helpful if those parts were as easy as importing a library
improver
2023-04-06 02:30:42
you probably are right. i doubt it'd go further than being a demo even if done, a lot of software is just not designed to take advantage of something like this
w
2023-04-06 02:31:02
compared to creating a png encoder and decoder, which can be done in a matter of minutes
improver
2023-04-06 02:34:08
png-simple like format but with tiles would be.. interesting
DZgas Ж
improver jxl could if decoder was sane not use that much ram
2023-04-06 09:02:06
it does not consume memory, takes 2 gigabytes to display the finished image
2023-04-06 09:04:43
When jxl is read sequentially in the case of progressive decoding, it is decoded with macroblocks whose size is the maximum DCT block, i.e. 256x256 pixels
Jyrki Alakuijala
DZgas Ж oh well https://en.wikipedia.org/wiki/List_of_Fourier-related_transforms
2023-04-07 08:01:25
Fourier has many nice properties but one rather nasty property that makes it usually worse than dct -- it assumes an infinite loop of the signal, whereas dct assumes the signal to be just a sample from the middle
DZgas Ж
Jyrki Alakuijala Fourier has many nice properties but one rather nasty property that makes it usually worse than dct -- it assumes an infinite loop of the signal, whereas dct assumes the signal to be just a sample from the middle
2023-04-07 09:10:37
I just wanted to show that there were a lot of "ideas" themselves. But in practice, only "dct" is used for all image codecs (excluding jpeg2000) and "mdct" for all audio codecs (excluding speech codecs)
2023-04-07 09:12:29
Of course, I'm sure that someone is doing research study somewhere. But is it really that bad?...
DZgas Ж
2023-04-07 09:13:43
Real meme
Jyrki Alakuijala
2023-04-07 09:54:51
at a time with pik's development we tried log-gabor transforms
2023-04-07 09:55:11
they look very organic, they detoriated towards old photography look
2023-04-07 09:55:26
but are slow to compute
2023-04-07 09:55:44
and also not that effective at high quality since you need some overlap
spider-mario
2023-04-07 10:27:07
https://sciencebasedmedicine.org/an-sbm-advocate-goes-to-washington/
2023-04-07 10:27:13
a good article on so-called “integrative” medicine
DZgas Ж
2023-04-07 01:21:08
How to print all value of x265-params in ffmpeg ?
Traneptora
DZgas Ж How to print all value of x265-params in ffmpeg ?
2023-04-07 02:03:27
`x265 --help`
2023-04-07 02:03:33
they're the same parameters
DZgas Ж
Traneptora they're the same parameters
2023-04-07 02:05:25
Okay. it's not a problem anymore. it's just that the latest ffmpeg builds are not detecting hist-threshold parameters. I have a different problem at the moment. SceneCut does not work. at all. for the last 3 hours i cannot understand why it does not work. on any parameters
2023-04-07 02:06:11
<@853026420792360980> https://cdn.discordapp.com/attachments/587033245061873759/1093873552287092766/OUTPUT_edit.mp4
2023-04-07 02:07:01
I absolutely cannot get HEVC to create a keyframe here. I've read all the documentation. I've looked at the source code. I've asked around. but I can't figure out how to do it.
2023-04-07 02:08:57
<@853026420792360980> Usually logic works like this - find parameters at which codec will make the keyframe by mistake on every frame in general - then go to decrease this parameter --- but I have not found such a value! codec at any values does not behave in such a way that I can use it
2023-04-07 02:10:28
I can set the value to 2147483647 but it just doesn't work the way it's written
Traneptora
2023-04-07 02:10:45
maybe x265 has a bug in its scenecut detection? idk ¯\_(ツ)_/¯
2023-04-07 02:10:51
I'm not familiar with x265
DZgas Ж
Traneptora maybe x265 has a bug in its scenecut detection? idk ¯\_(ツ)_/¯
2023-04-07 02:11:13
~Six months?
Traneptora
2023-04-07 02:11:29
what?
DZgas Ж
2023-04-07 02:11:50
it does not work on either the old or the new ffmpeg
Traneptora
2023-04-07 02:12:04
well it would depend on the version of libx265 linked in
DZgas Ж
Traneptora well it would depend on the version of libx265 linked in
2023-04-07 02:14:43
it also does not work on ffmpeg from 3 years ago
jonnyawsom3
2023-04-07 02:15:59
I know AV1 supposedly has scene transitions disabled in the current ffmpeg, maybe it's just a feature that's never quite worked right for years
DZgas Ж
I know AV1 supposedly has scene transitions disabled in the current ffmpeg, maybe it's just a feature that's never quite worked right for years
2023-04-07 02:17:04
Scene detection does not depend on FFMPEG, x265 codec does it itself
Traneptora
DZgas Ж it also does not work on ffmpeg from 3 years ago
2023-04-07 02:17:36
perhaps it's been a long-standing bug in x265?
2023-04-07 02:17:41
idk
2023-04-07 02:17:52
FFmpeg doesn't handle the scene detection, x265 does
DZgas Ж
2023-04-07 02:17:53
the thing is, what I'm doing is compressing the game, all the compression is literally based on scene change detection. this allows it to be compressed a hundred times
DZgas Ж <@853026420792360980> https://cdn.discordapp.com/attachments/587033245061873759/1093873552287092766/OUTPUT_edit.mp4
2023-04-07 02:18:13
this
Traneptora
2023-04-07 02:18:38
okay?
DZgas Ж
Traneptora perhaps it's been a long-standing bug in x265?
2023-04-07 02:18:47
🙂
w
2023-04-07 02:19:15
maybe it just doesnt want to put a scenecut there
DZgas Ж
w maybe it just doesnt want to put a scenecut there
2023-04-07 02:20:07
What does it want? IT has to, I have to make it!
w
2023-04-07 02:20:19
it doesnt have to
2023-04-07 02:20:22
so it wont
2023-04-07 02:20:23
???
DZgas Ж
2023-04-07 02:20:56
😡
2023-04-07 02:21:36
I need to check ffmpeg from 10 years ago
2023-04-07 02:22:56
Okay..... need to find the archives
2023-04-07 02:25:59
https://www.videohelp.com/software/ffmpeg/old-versions
2023-04-07 02:35:58
I tried HEVC six years ago and it's exactly the same - it doesn't work
Traneptora
2023-04-07 02:36:16
use a different encoder then?
DZgas Ж
Traneptora use a different encoder then?
2023-04-07 02:57:42
What encoder has a keyframe detection setting? ahahah. maybe VP9 ahahah
jonnyawsom3
2023-04-07 03:10:03
I know ffmpeg doesn't handle the detection, I just find it interesting neither of them seem to work
Traneptora
DZgas Ж What encoder has a keyframe detection setting? ahahah. maybe VP9 ahahah
2023-04-07 03:17:03
kvazaar has scenecut detection if you want it to be HEVC
2023-04-07 03:17:13
but why are you so insistent that there must be an I-frame at that specific point?
2023-04-07 03:17:35
and why can't you just lower the threshold until it puts one there
DZgas Ж
Traneptora but why are you so insistent that there must be an I-frame at that specific point?
2023-04-07 03:18:06
The whole compression principle is based on the fact that the key frame will have a QP of 25 while the P/B frames are 35-40
2023-04-07 03:18:18
2023-04-07 03:19:53
wait
2023-04-07 03:19:56
bad sample
Traneptora
2023-04-07 03:20:03
I'm not going to watch it anyway
DZgas Ж
2023-04-07 03:20:56
Traneptora I'm not going to watch it anyway
2023-04-07 03:21:01
ok
gb82
2023-04-08 09:08:11
https://imageoptim.com/color-profiles.html
2023-04-08 09:08:17
Absolutely insane that this is their reasoning
improver
2023-04-08 09:14:29
ICC is bloat lol
2023-04-08 09:16:56
>However, ImageOptim does not convert image pixels to the sRGB color space, because that's a slightly lossy operation. loll
2023-04-08 09:17:35
apparently removing color profile which is critical to display image correctly is not a lossy operation...
gameplayer55055
improver ICC is bloat lol
2023-04-08 09:58:09
still many people with TN and VA garbage that can hardly cover at least some of srgb and surrealistic oleds too
improver
2023-04-09 12:06:24
that message was kinda half true half repeating message of the article in salty way. i like writing ambiguous stuff which can be interpreted in either direction & still not be wrong :>
2023-04-09 12:06:54
the real annoying point was not converting to sRGB on ICC strip
2023-04-09 12:08:16
like either strip ICC & convert to sRGB, or don't do either. doing only ICC stripping results in pretty much always broken files & you need original file to know what ICC profile was used to recover stuff
2023-04-09 12:08:21
so it's definitely lossy
gb82
2023-04-09 05:21:13
I think the article I linked accurately explains ImageOptim's reasoning. I just disagree with it
zamfofex
2023-04-09 06:12:27
It’s not an unreasonable take. Most users don’t have screens that can display color profiles accurately, and there is software that doesn’t handle them well. The argument is that using color profiles should be avoided because there are programs that don’t handle them well, and few users would be benefitted from using them.
2023-04-09 06:16:38
You might argue that “the problem is with the programs” rather than with the people wanting to use color profiles. And I don’t disagree, but the reality is that, as unideal as it might be, the problem is there, and it’s not trivial to solve (as a social problem, i.e. making it well known and getting people to care). The premise, I think, is to live with it and accept it by working around it, rather than to hope people and programs will change to cater to your needs (even if your needs are not unreasonable).
2023-04-09 06:17:48
I feel like generally people won’t be so passionate about solving mindset problems unless they are moral problems (e.g. GNU with free software).
_wb_
2023-04-09 06:26:46
Stripping without conversion is not an option for CMYK, and for RGB spaces it only gives somewhat reasonable results if the space is not too different from sRGB. For Adobe 1998 or Display P3, you can do that, and it will basically mostly just desaturate the image. For something like ProPhoto or HDR spaces (or XYB), just stripping without conversion is horrible.
gb82
2023-04-09 06:28:11
Why not just make it a *super* accessible option, disabled by default, & inform the user? It is a Mac app after all, & every Mac sold right now has a P3 display
_wb_
2023-04-09 06:28:26
Stripping without conversion is never a good idea imo. If you're worried about conversion being lossy, then that sounds strange to me, because the alternative is way more lossy than the quantization error of going from one integer space to another.
gb82
2023-04-09 06:29:41
Also, isn't every iPhone photo taken now HDR by default?
2023-04-09 06:29:51
I don't have an iPhone so can't check
_wb_
gb82 Also, isn't every iPhone photo taken now HDR by default?
2023-04-09 06:48:12
I don't think they produce 'real' hdr images in the sense of RGB pixels with a hdr tf. I think they do the 'backwards compatible' thing where the main image is a tone mapped sdr image, and then there's an additional channel with scaling factors that you can use to reconstruct a hdr image.
2023-04-09 06:48:54
Basically like RGBE, if I understand correctly
zamfofex
_wb_ Stripping without conversion is never a good idea imo. If you're worried about conversion being lossy, then that sounds strange to me, because the alternative is way more lossy than the quantization error of going from one integer space to another.
2023-04-09 07:10:37
I also don’t think stripping is a good solution at all. But at the same time, an argument could be made that you can restore the color profile on your own. Not a good argument if the resulting image is user‐facing, though.
gb82
_wb_ I don't think they produce 'real' hdr images in the sense of RGB pixels with a hdr tf. I think they do the 'backwards compatible' thing where the main image is a tone mapped sdr image, and then there's an additional channel with scaling factors that you can use to reconstruct a hdr image.
2023-04-09 07:15:35
That’s pretty cool. Is there any real downside to doing this as compared to having ‘real’ hdr?
_wb_
gb82 That’s pretty cool. Is there any real downside to doing this as compared to having ‘real’ hdr?
2023-04-09 07:35:20
Yes. It's less precise. In 'real' HDR (with sufficient bitdepth) the RGB components are independent, while in RGBE they share the exponent/scaling factor. So if one component is very bright but another isn't, you have very little precision left in the darker component.
2023-04-09 07:37:45
For delivery of final images it's probably ok, but if you still want to do editing, I think 'real' HDR (say in fp16 or fp32) is way better than 'backwards compatible' HDR in 8-bit RGBE.
gb82
2023-04-09 07:46:58
Gotcha. & 8-bit HDR isn’t really supposed to be a thing either way right? Isn’t it supposed to be higher bit depth bc the extra color values are more important with higher dynamic range?
_wb_
2023-04-09 07:55:53
8-bit RGB is certainly not enough for HDR. With 8-bit RGBE you can get a bit further, but the main advantage I guess is that you can make it fallback gracefully to SDR and legacy software. Though that also means that in practice, the E will often be just ignored and it's essentially just an SDR image in practice.
gb82
2023-04-09 07:58:56
Are there any significant issues with real HDR that pushed Apple toward this solution? Couldn’t they have something tonemap & transcode their photos down to SDR equivalents instead, as an option when sending/exporting them? Also does Apple’s use of HEIC really impact their images’ quality per bit meaningfully?
2023-04-09 08:00:48
Sorry, lots of questions <:SadOrange:806131742636507177>
_wb_
2023-04-09 08:15:55
I don't know anything about Apple's decision processes or rationale. My guess is they went for hevc hardware (which is useful for video anyway, and I suppose the royalties are something Apple can handle, either through cross-licensing that makes it cheap/free for them, or by just charging their customers for it), and then tried to make the best use of it they could for still images too. Which means doing things in tiles and in 8-bit 4:2:0, because that's all the hardware can handle (at least the common denominator of the hardware they have deployed and still want to support). And then doing HDR separately makes sense, and also maps nicely to the "HDR-JPEG" approach (JPEG XT) which also does it that way. Just guessing though.
spider-mario
2023-04-09 08:18:13
> The majority of typical consumer monitors have a color profile similar to the standard sRGB profile, and can't display any “better” profiles. not true, Display-P3 is more and more common, notably on phones
2023-04-09 08:18:36
and keeping the *image’s* color profile (or at least converting accurately to sRGB) benefits all screens, sRGB or wider
gb82
2023-04-09 08:18:52
Huh, interesting. The fact that they use HEIC at all in a world where it is so unpopular is fascinating to me because there must be a benefit to that cost considering nothing supports it. It'd be interesting to see a smartphone put in the effort to spit out higher fidelity, 'real' HDR photos, even if their image quality "isn't worthy" (or medium fidelity to save space)
_wb_
2023-04-09 08:21:04
And yes, heic is bad for quality, but then again we are talking phone cameras here, which are doing tons of signal processing anyway so pixels are heavily processed anyway. The smoothing/smearing effect of heic may even be considered beneficial rather than problematic in their overall use case, and they probably measure things in terms of PSNR where heic always looks very good, so they might be fooling themselves into thinking that heic can really reduce bpp that much compared to jpeg.
gb82
2023-04-09 08:22:28
I could see AVIF working really well for smartphone photography in that case, considering how smeary smartphone photos tend to be. I shoot RAW on my Pixel because of it
_wb_
spider-mario > The majority of typical consumer monitors have a color profile similar to the standard sRGB profile, and can't display any “better” profiles. not true, Display-P3 is more and more common, notably on phones
2023-04-09 08:40:06
I suppose it may have been true at the time that was written? <@826537092669767691> maybe it's time to update that... Also I don't think I have ever seen icc profiles of 100kb or higher that aren't CMYK ones (which often are 1 mb or so). I am not sure if it's a good idea to use sRGB without icc profile — I would recommend to use tinysrgb or something like that on the web, so you can be sure the image is rendered consistently across browsers. Untagged images are supposed to be rendered as sRGB, but they still aren't always, especially on mobile...
2023-04-09 08:42:20
Btw why are we discussing this in <#806898911091753051>, lol
gameplayer55055
gb82 Also, isn't every iPhone photo taken now HDR by default?
2023-04-09 08:59:41
my xiaomi has hdr but it is 50/50 hdr. so it does many photos, combines them and saves to jpeg, so the puny matrix has abit less noises and you dont have white white sky or black trees. but still its jpeg, but with such a hack.
2023-04-09 09:00:30
if i import RAW and do some curves thingy, then the sun on it burns the eyes the same way as you would look at it
2023-04-09 09:01:46
still these standards arent established. i hope someone decides to promote XDR screens the same way as they promote mega pixels
_wb_ 8-bit RGB is certainly not enough for HDR. With 8-bit RGBE you can get a bit further, but the main advantage I guess is that you can make it fallback gracefully to SDR and legacy software. Though that also means that in practice, the E will often be just ignored and it's essentially just an SDR image in practice.
2023-04-09 09:02:33
yes, photoshop allows to set fallback for hdr and thats nice
It’s not an unreasonable take. Most users don’t have screens that can display color profiles accurately, and there is software that doesn’t handle them well. The argument is that using color profiles should be avoided because there are programs that don’t handle them well, and few users would be benefitted from using them.
2023-04-09 09:04:06
i think its only for profs / enthusiasts. but some AV company/studio decides to use only one format everywhere?
w
2023-04-09 09:11:43
hdr = (hdr capture =/= hdr format =/= wide gamut)
gameplayer55055 my xiaomi has hdr but it is 50/50 hdr. so it does many photos, combines them and saves to jpeg, so the puny matrix has abit less noises and you dont have white white sky or black trees. but still its jpeg, but with such a hack.
2023-04-09 09:12:32
this would be hdr capture, not hdr format, but not a hack
2023-04-09 09:14:16
the subject is too complex for the term hdr that is used too much too broadly
2023-04-09 09:14:49
wikipedia page is decent but it doesnt help against confusion <https://en.wikipedia.org/wiki/High_dynamic_range>
gameplayer55055
w hdr = (hdr capture =/= hdr format =/= wide gamut)
2023-04-09 09:31:30
lol
2023-04-09 09:31:43
reminds me hiend
w
2023-04-09 09:32:00
HD
gameplayer55055
w HD
2023-04-09 09:32:11
intel HD graphics
2023-04-09 09:32:25
<:trolw:1015162529225392128>
DZgas Ж
2023-04-09 10:08:13
avx-only SHIT
2023-04-09 10:09:30
https://github.com/kspalaiologos/bzip3/releases/tag/1.3.0 I really don't understand why IT's not signed as avx-only build. and signed simply as x64 WOW, well, I have x64 and it doesn't work for me - solve your problems
nathanielcwm
2023-04-09 10:21:27
are there any new cpus that don't have avx tho? i would understand avx2 being missing but not avx
DZgas Ж
2023-04-09 10:21:51
Both. but this is not a problem. This is not a topic of discussion because NON-AVX devices are not banned anywhere and there is no "recommendation" not to use these devices anywhere.
jonnyawsom3
gb82 I could see AVIF working really well for smartphone photography in that case, considering how smeary smartphone photos tend to be. I shoot RAW on my Pixel because of it
2023-04-09 10:22:51
I don't know if my phone hits a processing timeout limit or something, but now that it's 5 years old I swear the photos have far less detail than they used to. So I also shoot in RAW every time I care about detail. Has the bonus of correcting overexposure and Telegram even supports direct upload and conversion retaining the 'original' settings
DZgas Ж
2023-04-09 10:23:35
other users is who? does someone have a github?
nathanielcwm are there any new cpus that don't have avx tho? i would understand avx2 being missing but not avx
2023-04-09 10:24:33
don't have to. there are no such requirements. I literally don't have to have AVX because.
nathanielcwm
2023-04-09 10:25:18
even the pentium is pretty bare bones and that's not that old <:monkaMega:809252622900789269>
DZgas Ж
2023-04-09 10:26:06
<@456226577798135808>Do you have a github?
nathanielcwm
2023-04-09 10:26:49
i forgot the g4560 has no avx and I also have one <:kekw:808717074305122316>
DZgas Ж
2023-04-09 10:27:46
The old processors are 32 bits. Technically, any 64x processor cannot be considered old. Because it can run any current programs
nathanielcwm
DZgas Ж The old processors are 32 bits. Technically, any 64x processor cannot be considered old. Because it can run any current programs
2023-04-09 10:28:28
you just disproved it with this entire discussion <:KekDog:805390049033191445>
2023-04-09 10:28:47
it doesn't seem intentional tho
DZgas Ж
nathanielcwm you just disproved it with this entire discussion <:KekDog:805390049033191445>
2023-04-09 10:29:13
because the program is not x64 compatible
2023-04-09 10:31:59
🙏
nathanielcwm
nathanielcwm you just disproved it with this entire discussion <:KekDog:805390049033191445>
2023-04-09 10:32:33
`"CC=x86_64-w64-mingw32-gcc --host x86_64-w64-mingw32 --enable-static-exe", "gcc-mingw-w64-x86-64"` that's their compile flags i wonder if just changing the march to x86-64-v2 would be enuf to stop the auto vectorisation
DZgas Ж
2023-04-09 10:33:09
It would be correct to write like this - This is not x64 **compatible **program, it should be signed as AVX-only
nathanielcwm
2023-04-09 10:33:52
it doesn't seem like they have any handwritten assembly (well according to github)
DZgas Ж
2023-04-09 10:35:20
it will be hard for me to believe that this person does not know how to compile the program for AVX and for SSE at once - but maybe the new build will be just like that. and then it will be a real x64
nathanielcwm `"CC=x86_64-w64-mingw32-gcc --host x86_64-w64-mingw32 --enable-static-exe", "gcc-mingw-w64-x86-64"` that's their compile flags i wonder if just changing the march to x86-64-v2 would be enuf to stop the auto vectorisation
2023-04-09 10:36:49
I'm still laughing out loud with x86-64-v2 - it's very funny.
DZgas Ж It would be correct to write like this - This is not x64 **compatible **program, it should be signed as AVX-only
2023-04-09 10:39:24
<@456226577798135808>you can add this phrase as well:
nathanielcwm
DZgas Ж I'm still laughing out loud with x86-64-v2 - it's very funny.
2023-04-09 10:39:31
?
2023-04-09 10:40:30
your cpus have SSSE3 and SSE4 right?
DZgas Ж
nathanielcwm your cpus have SSSE3 and SSE4 right?
2023-04-09 10:41:46
does it matter? my chip is x64 - that's enough
nathanielcwm
2023-04-09 10:42:37
what does github actions run now i wonder
2023-04-09 10:44:57
just says a 2 core cpu <:kekw:808717074305122316>
DZgas Ж
2023-04-09 10:45:38
Yes. Yes.
2023-04-09 10:46:17
nathanielcwm
2023-04-09 10:46:48
well that explains it <:KekDog:805390049033191445>
2023-04-09 10:49:28
> ...that said, you're not going to get good performance on these CPUs, since bzip3 leverages ever-so-increasing cache sizes and fast memory. Acceptable single core performance is also a plus because it speeds up the BWT post-coder. The entire point of bzip3 was to work good on modern machines (say, 2016+), maybe using something else might be a good choice for your friend if the performance ends up not being satisfactory.
DZgas Ж
2023-04-09 10:52:17
An acquaintance of mine asked me an hour ago to destroy out bzip3 ☝️ That's exactly what I'm going to do. <:Thonk:805904896879493180> because we both feel that there is something very impractical going on here
2023-04-09 10:53:52
In the sense that. Oh, that looks good...... where is brotli 😠
2023-04-09 10:56:04
Or, for example, this. here it says (parallel) - is the another codecs in this example also parallel?
2023-04-09 10:59:00
Of course it doesn't say how many threads. This looks like manipulation at all. I'm sure in this 👆 example an 8 core bzip3 is slower than a 1 core zstd
w
2023-04-09 10:59:12
it does say wall clock time
DZgas Ж
2023-04-09 10:59:54
wall clock <:FeelsReadingMan:808827102278451241>
w
2023-04-09 11:00:08
which, yes, is unvaluable
DZgas Ж
w which, yes, is unvaluable
2023-04-09 11:00:46
*useless
2023-04-09 11:07:06
well
2023-04-09 11:08:50
<@456226577798135808> bzip3-x86_64.exe & bzip3-i686.exe -- Windows builds don't work at all. They give up files that are 0 bytes in size
2023-04-09 11:09:47
This..... looks like a 32 bit build compiled without x64 but with AVX
2023-04-09 11:09:51
🙂
MSLP
2023-04-09 11:12:15
I guess you'll have to wait for next release https://github.com/kspalaiologos/bzip3/commit/a7351434f6a44852d40edb0d92edf455d0892e9f
DZgas Ж
MSLP I guess you'll have to wait for next release https://github.com/kspalaiologos/bzip3/commit/a7351434f6a44852d40edb0d92edf455d0892e9f
2023-04-09 11:14:47
👴
2023-04-09 11:15:35
https://tenor.com/view/thanos-snap-gif-25378716
2023-04-09 11:30:30
nope
2023-04-09 11:30:58
I don't have the faintest idea how to build this on msys2
2023-04-09 11:32:08
And I do not understand why the manual says ./configure but the file is called ./configure.ac
MSLP
2023-04-09 11:34:03
you first'd need to run bootstrap.sh, for this you need to have automake & friends installed
DZgas Ж
MSLP you first'd need to run bootstrap.sh, for this you need to have automake & friends installed
2023-04-09 11:34:29
2023-04-09 11:35:41
2023-04-09 11:35:52
I can't understand why this
MSLP
2023-04-09 11:35:58
it's probably easier to go with a package from release, not from git tree, since it already have configure generated
DZgas Ж
MSLP it's probably easier to go with a package from release, not from git tree, since it already have configure generated
2023-04-09 11:37:25
What does that mean? The release package is literally the same as the repo.
MSLP
2023-04-09 11:37:27
try going with one of compressed source releases https://github.com/kspalaiologos/bzip3/releases
2023-04-09 11:37:52
no, release has configure script generated
2023-04-09 11:37:59
and git tree doesn't
DZgas Ж
2023-04-09 11:38:23
?
MSLP
2023-04-09 11:38:42
hmmm, tar.xz has one
DZgas Ж
2023-04-09 11:39:31
Oh, damn .
2023-04-09 11:39:51
this
2023-04-09 11:40:03
not the sources.
gameplayer55055
2023-04-09 11:40:53
dumb question: why so many archive formats
DZgas Ж
2023-04-09 11:41:20
linux schozrfrenia
gameplayer55055
DZgas Ж linux schozrfrenia
2023-04-09 11:41:27
lol
MSLP
2023-04-09 11:42:15
it's compression-geek thingy. For my personal taste it lacks tar.lz 🤪
DZgas Ж
2023-04-09 11:42:28
Only a schizophrenic could have created this 👉 .tar.7z
2023-04-09 11:53:00
ok I have no idea what the executable file's dependencies are, so take the entire folder.I have no idea what the executable file's dependencies are, so take the full folder.
2023-04-09 11:53:15
now
2023-04-09 11:54:19
I have done tests. yes. the format does work better than all existing codecs.... did you think i would say that? it plays back with good old PPMd. bad.
MSLP
DZgas Ж ok I have no idea what the executable file's dependencies are, so take the entire folder.I have no idea what the executable file's dependencies are, so take the full folder.
2023-04-09 11:55:00
u can go with: `./configure --enable-static-exe` to produce static executable
DZgas Ж
MSLP u can go with: `./configure --enable-static-exe` to produce static executable
2023-04-09 11:57:08
Great
DZgas Ж I have done tests. yes. the format does work better than all existing codecs.... did you think i would say that? it plays back with good old PPMd. bad.
2023-04-09 12:00:05
bzip3 493 225 ppmd 464 660
2023-04-09 12:00:52
brotli 614 218 zstd 632 791
2023-04-09 12:01:37
LZMA 702 972
2023-04-09 12:03:13
it must be said that BZIP**2** loses in general to all these algorithms both in speed and compression
2023-04-09 12:03:56
and lzma is not designed to compress text at all
MSLP
DZgas Ж I have done tests. yes. the format does work better than all existing codecs.... did you think i would say that? it plays back with good old PPMd. bad.
2023-04-09 12:06:47
what do you mean by: "it plays back with good old PPMd. bad" ?
2023-04-09 12:07:16
why is this bad. I'm a complete ignorant on this.
DZgas Ж
2023-04-09 12:12:40
So that's it. In general we can say that bzip3 is the best at all. That said, PPMd which has been around for 20+ years is better than bzip3 at everything. It's faster. For the same memory consumption it compresses 5-10% stronger, you can even make 1 gigabyte of memory. But it also compresses better at lower consumption. Minus as I think one, PPMd as simitric algorithm takes a lot of time and as much memory to uncompress. Which may be the only plus of bzip3 I can see............... ahahahahaha bzip3 Also simitric and it takes the same amount of time to decompress ahahaha. Well of course I laughed because NEW ANOTHER algorithm is no better than the existing one. I am NOT satisfied.
2023-04-09 12:14:23
In general the whole post is built on munipulations, there is no PPMD or BROTLI in bzip3 tests on githab. It talks about paralleling while other algorithms are shown in one thread. This is all very bad.
2023-04-09 12:15:49
And of course showing in text compression tests an algorithm that is not designed for text compression - LZMA - is very, very manipulative
MSLP what do you mean by: "it plays back with good old PPMd. bad" ?
2023-04-09 12:16:27
I meant to say that bzip3 loses
2023-04-09 12:16:42
PPMd is best compress
MSLP
DZgas Ж So that's it. In general we can say that bzip3 is the best at all. That said, PPMd which has been around for 20+ years is better than bzip3 at everything. It's faster. For the same memory consumption it compresses 5-10% stronger, you can even make 1 gigabyte of memory. But it also compresses better at lower consumption. Minus as I think one, PPMd as simitric algorithm takes a lot of time and as much memory to uncompress. Which may be the only plus of bzip3 I can see............... ahahahahaha bzip3 Also simitric and it takes the same amount of time to decompress ahahaha. Well of course I laughed because NEW ANOTHER algorithm is no better than the existing one. I am NOT satisfied.
2023-04-09 12:23:38
damn, decompress speeds are indeed a bummer
gameplayer55055
2023-04-09 12:28:19
so much complicated linux thing
MSLP u can go with: `./configure --enable-static-exe` to produce static executable
2023-04-09 12:29:13
it sounds like linux.exe
2023-04-09 12:29:19
msys2 thingery?
MSLP
2023-04-09 12:30:46
no, just this program configure thingery to statically link libbz3 into exe, and not load it from .dll/.so
2023-04-09 12:34:42
what I mean it isn't universal across different packages, only specific bzip3 configure option
DZgas Ж
2023-04-09 01:06:29
based on the results of the tests and discussion, I can say that the much better general purpose algorithm is still ZSTD
gameplayer55055
2023-04-09 01:36:56
why not to just use ZIP
Traneptora
2023-04-09 02:03:12
Zstandard has a better ratio than deflate, but for distributing a bundle like this you really only need zip or targz or something like that
DZgas Ж
gameplayer55055 why not to just use ZIP
2023-04-09 02:42:50
it died
gameplayer55055
2023-04-09 02:43:29
?
2023-04-09 02:43:32
i use it
MSLP
2023-04-09 02:45:35
not a great chance zip will die soon
_wb_
2023-04-09 02:46:01
zip is pretty much the only archive format that just works out of the box on any platform
DZgas Ж
2023-04-09 02:49:55
I use zip exclusively for compatibility with anything when my friend is on linux or vinux or ыnux or wherever
MSLP
2023-04-09 02:51:16
ye, and that is a pretty widespread use case, with windows and mac users too
gameplayer55055
DZgas Ж I use zip exclusively for compatibility with anything when my friend is on linux or vinux or ыnux or wherever
2023-04-09 03:26:00
same
2023-04-09 03:26:09
and i use zip to share many files
2023-04-09 03:26:10
lol
DZgas Ж
2023-04-09 03:47:05
I don't understand why linux has a TAR culture at all. just use zip for legacy and 7z for lzma-zstd and that's it.
_wb_
2023-04-09 03:49:59
Zip does two things: storing multiple files in one file (like tar) and compressing (like gz)
MSLP
DZgas Ж I don't understand why linux has a TAR culture at all. just use zip for legacy and 7z for lzma-zstd and that's it.
2023-04-09 03:50:17
just because zip doesn't support file permissions. too bad 7z also doesn't.
_wb_
2023-04-09 03:51:19
If you don't need compression (e.g. because the files are already compressed), it's somewhat silly to combine the two tasks
2023-04-09 03:53:14
I mean, most compression formats do have a fallback mode to deal with incompressible inputs, but you still end up trying and failing, which makes it a bit slow to create a zip file
2023-04-09 03:54:02
Tar is made for tape archiving, so no random access, right?
MSLP
2023-04-09 03:54:41
yep, to list compressed tar contents, you have to decompress entire file, which sucks
_wb_
2023-04-09 03:55:24
Does something exist like tar but with random access, full permissions and other niceties like symlinks?
MSLP
2023-04-09 03:56:33
I'd say "dar", but then it doesn't do solid archives
_wb_
2023-04-09 03:56:55
There are probably ways to just put a whole filesystem into a file, but is there something popular and with some tooling that makes it easy to use?
MSLP
2023-04-09 03:57:13
http://dar.linux.free.fr/
2023-04-09 03:57:39
easy-to-use is questionable tho
DZgas Ж
MSLP just because zip doesn't support file permissions. too bad 7z also doesn't.
2023-04-09 05:31:35
how good it is that it is.
2023-04-09 05:32:12
I don't like it when they forbid me to do something, e.g. to remove drivers when they are run like in manjaro
2023-04-09 05:32:18
🙂
2023-04-09 05:33:47
And of course I will never understand why I should have permissions on the archives when the file system should do it
MSLP
2023-04-09 05:34:23
well, just because you wanna keep them
DZgas Ж
_wb_ Does something exist like tar but with random access, full permissions and other niceties like symlinks?
2023-04-09 05:34:48
7z 💯
2023-04-09 05:35:32
7zip is the best, I have not seen any other format that is better
2023-04-09 05:35:55
it can replace all existing archive formats
2023-04-09 05:39:52
2023-04-09 05:40:41
And, of course, the built-in encryption system
2023-04-09 05:43:13
bad moment is, and that's why I sometimes use RAR - deleting data of identical files, a very useful thing when you compress a lot of very similar files
2023-04-09 05:44:43
Since we no longer use disks or unstable connections, or old hard drives that don't check their errors, creating a recovery file in RAR already seems useless
username
2023-04-09 05:45:34
a friend of mine backed up a project they where working on as a .7z
2023-04-09 05:45:56
then it got corrupt
2023-04-09 05:46:01
now all that data is gone
DZgas Ж
2023-04-09 05:46:07
lol
username
2023-04-09 05:47:04
to repair .7z files you need to do hex-editing or something similar
2023-04-09 05:47:12
.rar does not have this problem
DZgas Ж
2023-04-09 05:48:02
I have no idea where you kept the files if they got corrupted but yes RAR would be more suitable for data paranoid
gameplayer55055
2023-04-09 05:48:28
<:Suicide_revolver:855454994475122718>
username
2023-04-09 05:48:41
I have had multiple friends who have had failing hard drives that silently corrupt data
2023-04-09 05:48:53
it's pretty common
gameplayer55055
2023-04-09 05:48:55
i think if .apk is zip then zip is good
username I have had multiple friends who have had failing hard drives that silently corrupt data
2023-04-09 05:49:17
i have never heard about this irl, only yt
DZgas Ж
2023-04-09 05:49:24
I have 4 harddisks and I have important data saved on 3 of them
gameplayer55055
2023-04-09 05:49:39
important data? i have none lol
2023-04-09 05:50:04
except crappy webserver where my assignments are stored
2023-04-09 05:50:11
so if it fails i get F
DZgas Ж
2023-04-09 05:50:13
Wouldn't want to lose 80 hours of music I've been collecting for 4 years ✍️
gameplayer55055
2023-04-09 05:50:19
that's the worst thing can happen to me
DZgas Ж
2023-04-09 05:50:48
If I had been working on a project you can be sure I would have saved it 10 times.
gameplayer55055
DZgas Ж Wouldn't want to lose 80 hours of music I've been collecting for 4 years ✍️
2023-04-09 05:50:59
don't melomaniacs have the shells full of CD/s vinyl or tapes
DZgas Ж
2023-04-09 05:51:10
bruh
2023-04-09 05:52:08
I'm too smart to be a believer.
gameplayer55055
2023-04-09 05:52:20
lol
DZgas Ж
2023-04-09 05:52:41
opus 128 👍
gameplayer55055
2023-04-09 05:52:49
there's an non zero probability that NASA satellite falls on your house destroying all data including
2023-04-09 05:53:15
but backups are still important
2023-04-09 05:55:55
don't be me: having 3 laptops, a PC, flash drive, portable hdd, a webserver and all of these have random garbage, and duplicated many times so sometimes i throw away all files i didn't need for a year
DZgas Ж
2023-04-09 05:56:34
No. My data is not that important. it's worth saying that many people overestimate their shit
gameplayer55055
2023-04-09 05:58:18
exactly
jonnyawsom3
username I have had multiple friends who have had failing hard drives that silently corrupt data
2023-04-09 06:41:34
I had it happen, only realised it was dying when windows started doing disk repairs on every boot and UI elements were failing
gb82
gameplayer55055 my xiaomi has hdr but it is 50/50 hdr. so it does many photos, combines them and saves to jpeg, so the puny matrix has abit less noises and you dont have white white sky or black trees. but still its jpeg, but with such a hack.
2023-04-09 06:55:57
Yeah, the Pixels do HDR+ processing & the iPhones do Smart HDR. It's not really an HDR photo that will display as HDR on the right screen, just multiple exposures layered with processing. Samsung devices do this very aggressively
gameplayer55055
gb82 Yeah, the Pixels do HDR+ processing & the iPhones do Smart HDR. It's not really an HDR photo that will display as HDR on the right screen, just multiple exposures layered with processing. Samsung devices do this very aggressively
2023-04-09 06:56:36
+
2023-04-09 06:56:49
btw i dislike phones because indoors the photos are crappy
2023-04-09 06:56:56
outdoors the photos are decent tho
gb82
2023-04-09 06:57:39
The Pixel maintains the dynamic range multiple exposures provide in the RAW photos. So I just manually edit them to make them look good. I think phone photos look like smeary crap 95℅ of the time
gameplayer55055
2023-04-09 06:59:15
raw on mobile?
2023-04-09 06:59:56
its like a balloon instead rocket
2023-04-09 07:02:06
ive tried that, noise is incredible + optics issues. all black places are full of green snow
2023-04-09 07:02:33
modern phones have cool algorithms that show the user what he loves to look at
jonnyawsom3
2023-04-09 07:10:15
My phone's raw retains the slight green tint from it's optics, keeps the exposure perfect with no editing while somehow the normal photo is washed out, and naturally keeps every detail since it's not applying a messy denoiser
gameplayer55055
2023-04-09 07:26:45
i dislike phone photography
2023-04-09 07:27:13
selfes / street photo ok
2023-04-09 07:27:23
everything else is noisy crap
2023-04-09 07:29:47
w
2023-04-09 08:39:03
small sensor -> less light -> increase sensitivity -> more noise -> increase resolution -> pixels are smaller -> less light
spider-mario
2023-04-09 09:12:55
“less light” is enough for “more noise” (or let’s say “worse SNR”), no need to involve sensitivity
2023-04-09 09:13:41
and smaller pixels means less light per pixel, but if the sensor area is the same, still roughly the same amount of light for a given fraction of the image (with today’s gapless microlenses which result in essentially a 100% fill factor)
2023-04-09 09:14:32
(except possibly at very low f-numbers due to pixel vignetting; backside illumination helps with that)
2023-04-09 09:16:23
one factor that may negatively affect the performance of smaller sensors is optics: https://www.strollswithmydog.com/equivalence-sharpness-spatial-resolution/
2023-04-09 09:16:39
for one thing, diffraction may be a problem sooner
w
2023-04-09 09:17:53
my conclusion is that it's already been decided that phone cameras are *good enough* for most people and when something like megapixels is brought up, it's just bait
gameplayer55055
w small sensor -> less light -> increase sensitivity -> more noise -> increase resolution -> pixels are smaller -> less light
2023-04-09 09:30:25
-> more megapixels -> more advertising -> ??? -> PROFIT
2023-04-10 06:14:15
<a:PepeHackerman:806632585429909514>
DZgas Ж
2023-04-10 10:55:51
works
2023-04-10 10:57:00
Are there any people with a ThreadRipper or something who would like to compress a couple of days av1 for fun?
gb82
2023-04-11 06:49:46
You’ll prob have better luck just using Google colab
Jyrki Alakuijala
2023-04-11 08:41:17
is there value in bzip3 -- I looked at it superficially and it seemed more a marketing trick to name it as if it was some sort of next version of bzip2
DZgas Ж 7zip is the best, I have not seen any other format that is better
2023-04-11 08:45:00
7zip is a huge collection of stuff -- it is like building a house by choosing that the foundation should have steel pillars, concrete pillars, wooden poles, shallow footing, some deep footing, etc. -- it can be ok to build, but there is going to be some increase in long term cost and some diversity in behavior in operation
DZgas Ж
gb82 You’ll prob have better luck just using Google colab
2023-04-11 08:47:46
there are 2 CPU cores. My 12 year old PC is faster.
yoochan
2023-04-11 09:07:59
for archiving I'm a fan of lzip (and plzip)
spider-mario
2023-04-11 12:08:44
how about lrzip?
gb82
DZgas Ж there are 2 CPU cores. My 12 year old PC is faster.
2023-04-11 01:48:14
but you can just leave it running for free
Fraetor
_wb_ Does something exist like tar but with random access, full permissions and other niceties like symlinks?
2023-04-11 08:23:56
Squashfs images are sort of this.
_wb_ zip is pretty much the only archive format that just works out of the box on any platform
2023-04-11 08:24:59
Unfortunately most linux server images don't actually have unzip preinstalled, so tar does make sense for linux releases.
2023-04-11 08:26:10
Tar also has the advantage of because it is compressed as a stream you often get better compression than zip as similar files can be deduplicated.
Traneptora
_wb_ Does something exist like tar but with random access, full permissions and other niceties like symlinks?
2023-04-11 08:28:14
pxz
spider-mario
Fraetor Tar also has the advantage of because it is compressed as a stream you often get better compression than zip as similar files can be deduplicated.
2023-04-11 10:52:20
.zip.gz
Traneptora
2023-04-12 02:58:05
I wrote a script to sort files by extension before tar+gzip to help the lz77 deduplication process
2023-04-12 02:58:22
as gzip dictionary is small (32k)
Demez
2023-04-12 03:17:55
i have a few of my own image conversion scripts, one that i use often is one that converts a png to max quality webp lossless, and keeps all exif data by extracting it to an xmp file with exiftool, and adding it to the webp with webpmux it's kinda dumb that cwebp doesn't have an option to copy exif data normally, and that i have to do this roundabout way
_wb_
Fraetor Squashfs images are sort of this.
2023-04-12 07:34:50
right. What I like about the tar + gz approach though is how it separates the two aspects (a multi-file container and compression), while squashfs and the usual archive formats (zip, 7z, rar etc) are doing both at the same time, which is a less 'modular' approach
2023-04-12 07:36:00
but I guess it's tricky to have random read access, easy adding/removing of files, and a modular approach all at the same time...
Demez
2023-04-12 08:06:51
nope, only ICC profile, seems like it can't copy it on windows platforms at least, unsure about linux, which is odd
spider-mario
Traneptora I wrote a script to sort files by extension before tar+gzip to help the lz77 deduplication process
2023-04-12 11:02:30
right, 7z has the command-line option `-ms=e` to do something similar
2023-04-12 11:02:57
(`-ms=on` is all solid, `-ms=off` is not solid, `-ms=e` is solid on a per-extension basis)
2023-04-12 11:04:40
I like that 7-zip supports this “hybrid” approach to solid compression, where you can group certain files together compression-wise without having to make the whole archive thus
Traneptora
2023-04-12 12:26:05
strictly speaking tar+gzip does too as both can be concatenated
2023-04-12 12:26:09
this is what .pxz takes advantage of
spider-mario
2023-04-12 07:47:26
can you easily seek to the files with a specific extension without having to decompress more than needed?
MSLP
2023-04-12 08:20:53
don't know about ".pxz", but tarlz does something like that in "--no-solid" mode
2023-04-12 08:27:10
(i mean the "enchanted" tarlz <https://www.nongnu.org/lzip/tarlz.html> not simple tar + lzip)
Traneptora
spider-mario can you easily seek to the files with a specific extension without having to decompress more than needed?
2023-04-13 12:14:17
to some degree, yea. it uses some GNU tar extensions like filename entries and takes advantage of XZ's concatenation (like gzip) to manage it
2023-04-13 12:14:23
but I'm not sure all of the implementation details
2023-04-13 12:14:39
I just know it recognizes itself but it can be treated as a .tar.xz
DZgas Ж
2023-04-15 02:21:04
It turns out there's a good way to display 18,000 image previews with links to them, and it's HTML only, is a really cool thing <map>, and I wonder why it's not used more often nowadays...
Traneptora
2023-04-15 03:17:37
because 18,000 previews with a <map> requires one image with all 18000 previews, which is a really bad idea
DZgas Ж
Traneptora because 18,000 previews with a <map> requires one image with all 18000 previews, which is a really bad idea
2023-04-15 08:15:58
It doesn't fit in one file. Gif has a limit of 65535, jpeg too. And png larger than 65535 is simply not displayed in firefox, it is literally banned
2023-04-15 08:17:12
Therefore, I use images of 15x15 images of 80x pieces on the site
2023-04-15 08:17:46
80x15x15= 18000
zamfofex
2023-04-15 08:44:17
`<map>` is quite neat from what I remember reading about it. I remember that it allows link areas to have distinctive shapes, even!
DZgas Ж
2023-04-15 08:52:57
Waterfox is AVX-only? lol
2023-04-15 08:57:18
it's even worse.
2023-04-15 08:59:05
2023-04-15 09:00:29
and again, the phrase x64 compatible has nothing to do with real x64 processors.
2023-04-15 09:02:01
But they didn't write literally anything. Generally. -- This software for Windows - Well, Windows works for me, but YOUR software does not.
2023-04-15 09:05:10
fuck them
2023-04-15 09:09:25
i see it
2023-04-15 09:09:36
I remind that to run Windows, the minimum requirements of the SSE2 instructions (2000). And the All Windows system with all its drivers will work
2023-04-15 09:10:44
I didn't have any problems with running any Linux system either
_wb_
2023-04-15 09:11:22
Is this inherent to waterfox or is it just a limitation of the Windows build/installer they offer?
DZgas Ж
_wb_ Is this inherent to waterfox or is it just a limitation of the Windows build/installer they offer?
2023-04-15 09:12:34
Judging by the comments of the developers it is literally hardcoded
2023-04-15 09:13:34
I can't make a build of firefox, it's not enough to live time...
zamfofex
2023-04-15 09:15:53
What is your goal, ultimately? I suppose you want a “modern enough” Firefox fork that supports JPEG XL, is that right?
DZgas Ж
What is your goal, ultimately? I suppose you want a “modern enough” Firefox fork that supports JPEG XL, is that right?
2023-04-15 09:16:56
yes
MSLP
2023-04-15 09:19:37
hmm, have you tried Librewolf? I don't use, but they merged this: https://gitlab.com/librewolf-community/browser/source/-/merge_requests/47
DZgas Ж
MSLP hmm, have you tried Librewolf? I don't use, but they merged this: https://gitlab.com/librewolf-community/browser/source/-/merge_requests/47
2023-04-15 09:29:33
well. no, the latest librewolf-112.0-1 does not support Jpeg XL
MSLP
DZgas Ж well. no, the latest librewolf-112.0-1 does not support Jpeg XL
2023-04-15 09:34:51
Linux build for 111.0 seems support it, after changing `image.jxl.enabled` to `true` in about:config
DZgas Ж
MSLP Linux build for 111.0 seems support it, after changing `image.jxl.enabled` to `true` in about:config
2023-04-15 09:35:39
lol
2023-04-15 09:36:23
👆 Is that a discrimination
2023-04-15 09:38:54
there are literally two browsers in the world with out-of-the-box support JXL: Thorium and Palemoon
MSLP
2023-04-15 09:41:00
Sadly, looks librewolf relies solely on firefox nightly code, which doesn't support animated jxls
zamfofex
DZgas Ж lol
2023-04-15 09:44:06
You should be able to change it by double‐clicking on the “false”.
w
2023-04-15 09:44:50
problem is it's not "out-of-the-box support"
DZgas Ж
You should be able to change it by double‐clicking on the “false”.
2023-04-15 09:46:26
It's not a problem. the problem is that if I say that librewolf can be used to view Jpeg XL, it will be a lie. - The user will download the browser, open the image, And won't see him. It's disgusting.
zamfofex
2023-04-15 09:48:24
I don’t think it would be a lie. I understand it’s not as convenient or straight forward, but you can definitely use the program to view JPEG XL images.
2023-04-15 09:48:48
In the sense that viewing JPEG XL images can be done by using the browser.
w
2023-04-15 09:49:33
so can chrome, if you patch it yourself
DZgas Ж
I don’t think it would be a lie. I understand it’s not as convenient or straight forward, but you can definitely use the program to view JPEG XL images.
2023-04-15 09:49:44
the thing is. what should you answer me to the question - why did the developers turn off jpeg xl by default?
zamfofex
2023-04-15 09:49:55
You could argue it doesn’t “support JPEG XL images”, but not that it can’t be used for viewing them.
DZgas Ж
2023-04-15 09:51:33
For me, it is quite equivalent to the fact that this software is turned off = it is not there at all. Because in the same way I can put the jpeg xl extension on any other browser - for this it will be necessary to do some business - this devalues the fact that Jpeg XL was added to librewolf in general 🥱
MSLP
DZgas Ж the thing is. what should you answer me to the question - why did the developers turn off jpeg xl by default?
2023-04-15 09:51:57
It's default firefox-nightly setting, so they just didn't change it. Also as they're privacy-focused I don't think they will change that unless firefox changes that, because of browser fingerprinting
w
2023-04-15 09:52:12
i agree with dzgas here
2023-04-15 09:52:17
the browser can't view jxl
2023-04-15 09:52:21
the browser with the setting can view jxl
zamfofex
2023-04-15 09:53:22
I say that “the browser with the setting” is still “the browser”. What you’re saying is just like saying that a website doesn’t have a dark theme because it isn’t the default.
w
2023-04-15 09:53:59
saying dark "theme" is like saying dark "setting"
2023-04-15 09:54:03
it's not a dark browser
2023-04-15 09:54:10
it's a browser with a dark setting
DZgas Ж
2023-04-15 09:54:46
topic 👉 🥱
w
2023-04-15 09:55:00
but that value is different to different people
DZgas Ж
2023-04-15 09:55:46
Instead of recommending librewolf, I will say this: there is **palemoon**, there is **Thorium**, and there is an **extension **that you can install on any of your browsers.
zamfofex
2023-04-15 09:56:13
(Which I’m working on updating right now, by the way! 😄)
MSLP
DZgas Ж Instead of recommending librewolf, I will say this: there is **palemoon**, there is **Thorium**, and there is an **extension **that you can install on any of your browsers.
2023-04-15 09:56:59
ye, in terms of jxl support librewolf can be only recommended to "power users", not general public
w
2023-04-15 09:57:18
it has libre in it so it must be bad
zamfofex
w saying dark "theme" is like saying dark "setting"
2023-04-15 09:59:08
I will say: I think I understand what you mean now. Where the setting is in effect a change to the user agent itself (as in, it changes how the user agent behaves in the eyes of the user).
w
2023-04-15 09:59:36
users understand changing a theme, a setting designed to be changed
2023-04-15 09:59:43
users dont understand changing a developer flag
zamfofex
2023-04-15 10:00:51
That’s reasonable. I suppose it’s a matter of how the setting is presented, then? If it were on the settings page of the browser, would that change your opinion?
w
2023-04-15 10:01:04
no because nobody knows what the hell a jxl setting is
zamfofex
2023-04-15 10:01:24
I see.
w
2023-04-15 10:02:09
to me it just sounds like the browser doesnt *support* it
2023-04-15 10:02:13
it supports the capability of it
2023-04-15 10:02:18
but it doesnt actually support the usage of it
MSLP
w no because nobody knows what the hell a jxl setting is
2023-04-15 10:02:20
lol, reminds me of this: https://youtu.be/jmaUIyvy8E8
w
2023-04-15 10:02:58
user tries jxl doesnt worK
2023-04-15 10:03:00
moves on
zamfofex
w to me it just sounds like the browser doesnt *support* it
2023-04-15 10:03:08
I just don’t think it’s fair to say that they browser can’t display JPEG XL images. I think it’s fine it doesn’t support them, in the sense that it doesn’t encourage or endorse their use.
w
2023-04-15 10:04:00
would you say that windows photo viewer can display jxl
zamfofex
2023-04-15 10:05:25
I don’t know. But I suppose your point is that it needs an additional user action (be it changing the setting, or be it installing something) to display them.
w
2023-04-15 10:05:56
it can display anything, with a plugin, and to some people, they don't know that, so it just means it can't
zamfofex
2023-04-15 10:07:32
I understand.
w
2023-04-15 10:08:19
by that logic, if it doesnt work by default, it's almost as if it won't work at all
zamfofex
2023-04-15 10:09:36
Yeah, I see what you mean.
_wb_
2023-04-15 10:47:36
The word "support" is a bit ambiguous in English imo. I would say a browser supports dark mode also if it is in light mode by default and it is a setting you need to change. There is "support" like in "football supporter" (rooting for something / endorsing / trying to push it), and there is "support" like in "support beam" (something functional that is there so you can build on top of it). In software, I think typically "supporting a feature" is meant in the second sense and not really the first sense, though it's probably always a bit of a mix because adding a feature always implies some kind of endorsement.
jonnyawsom3
2023-04-15 01:25:59
You definitely don't usually see browsers improving on supported formats, just going "Yeah, we have that now"
gb82
2023-04-16 05:34:55
https://blog.pkh.me/p/39-improving-color-quantization-heuristics.html
zamfofex
2023-04-16 05:45:30
Is “quantization” the same as “dithering”, and isn’t it a reasonably well solved area?
_wb_
2023-04-16 06:59:27
Palette quantization is trickier than simple dithering of high bit depth using lower bit depth
yoochan
2023-04-16 08:42:24
Quantization is "how do I choose a reduced set of colors which could best represent the full set of the original picture". Dithering is a trick of signal processing which consists of moving error from low frequency (banding) to high frequency (grain) by introducing HF noise, or any other more suited method. Because humans prefer it this way (works for audio too)
spider-mario
2023-04-16 08:51:35
it’s not just that: it decorrelates the error from the signal
2023-04-16 08:52:17
e.g. if the signal is a constant 0.4: without dithering, you would just quantize all samples to 0, so the error would be a constant 0.4: 100% distortion
2023-04-16 08:52:52
but if you dither, you get a quantized signal that is 0, 60% of the time, and 1, 40% of the time, so it has the correct average of 0.4
2023-04-16 08:52:58
it just fluctuates around it (noise)
2023-04-16 08:54:36
https://www.aes.org/e-lib/browse.cfm?elib=4523 > The work was motivated by some common misunderstandings about digital systems. It is commonly believed that small signals or signal details are lost if they are smaller than the quantizing step. Expanding on previous arguments, it is shown that this is not true when the signal to be quantized contains a wide-band noise dither with an amplitude of approximately the step size. The introduction traces the use of dither from video quantization through to its use in audio. quantization error is studied in some detail and the effect of dither is analyzed theoretically and experimentally. By examples of quantized signals it is shown that the dither effectively turns signal distortion into low-level wide-band noise by linearizing the averaged quantizer staircase function, which is as perceived by the ear. https://sjeng.org/ftp/SACD.pdf > All analogue-to-digital and digital-to-analogue conversions and intermediate digital signal processing steps were performed in the linear, multi-bit PCM format, using internal processing wordlengths greater than the desired final numerical precision. One primary benefit of this format is the fact that such systems can be rendered completely linear, with infinite resolution below the least significant bit (LSB), by the adoption of proper dithering at each quantizing, or (in the case of editing and signal processing) at each requantizing, stage. Such dithering, with the optimal triangular probability density function (TPDF) dither, in principle completely eliminates all distortion, noise modulation, and other signal-dependent artefacts, leaving a storage system with a constant, signal-independent, and hence benign noise floor (see [3] and [4]). This is now well understood, and such practices have been the norm in the industry for over a decade.
2023-04-16 08:55:17
https://www.strollswithmydog.com/sub-bit-signal/
2023-04-16 08:58:18
https://youtu.be/cIQ9IXSUzuM?t=695
DZgas Ж
2023-04-16 10:28:54
<:BlobYay:806132268186861619> this guy
2023-04-16 12:29:38
https://www.youtube.com/watch?v=ZVT02Ljnv0U
2023-04-16 12:30:00
it's just amazing how few views there are here
_wb_
2023-04-16 12:49:12
Monty is great, sucks he got fired from Mozilla together with the rest of the Daala folks in that big 2020 layoff round. They would probably have made animated avif work in firefox much earlier, and perhaps they could have provided some pushback against the silly political games that led to jxl still not being supported in firefox and chrome. These folks have scientific and ethical integrity, which I always admire.
DZgas Ж
_wb_ Monty is great, sucks he got fired from Mozilla together with the rest of the Daala folks in that big 2020 layoff round. They would probably have made animated avif work in firefox much earlier, and perhaps they could have provided some pushback against the silly political games that led to jxl still not being supported in firefox and chrome. These folks have scientific and ethical integrity, which I always admire.
2023-04-16 01:13:44
It sounds sad. And besides, I can't find any of his videos or works for the last 3 years.
bonnibel
2023-04-16 02:56:00
i actually spent yesterday messing around with quantization & dithering it was pretty simple for hi-res b&w screentone manga though, a 4-colour palette did really well, was pretty much visually indistinguishable ...too bad the source scan was full of moire
2023-04-16 03:03:47
you do have to make the palette yourself though bc the algorithms ive tried tend to do really bad with it, they tend to lighten the black a lot which is especially noticeable since theres large continuous swathes of it
Traneptora
2023-04-16 03:43:53
2023-04-16 03:43:58
my favorite error message
nec
2023-04-17 07:04:17
For modern encoders this should be enough.
2023-04-17 07:05:07
96 cores, 1152mb of cache.
spider-mario
2023-04-17 07:08:51
perhaps best for encoding many images at the same time
zamfofex
2023-04-17 08:41:21
Hmmm. 😅
elfeïn
Hmmm. 😅
2023-04-17 08:56:59
awww
spider-mario perhaps best for encoding many images at the same time
2023-04-17 08:57:23
Many, MANY images at the same time.
nec For modern encoders this should be enough.
2023-04-17 08:57:39
Where did you get that? Lol
DZgas Ж
nec For modern encoders this should be enough.
2023-04-17 11:10:34
This won't help with online streaming<:ReeCat:806087208678588437>
Traneptora
2023-04-18 12:05:11
>light mode
Nova Aurora
Hmmm. 😅
2023-04-18 06:20:01
https://tenor.com/view/reaction-my-eyes-cant-unsee-burn-gif-7225082
elfeïn
_wb_ Monty is great, sucks he got fired from Mozilla together with the rest of the Daala folks in that big 2020 layoff round. They would probably have made animated avif work in firefox much earlier, and perhaps they could have provided some pushback against the silly political games that led to jxl still not being supported in firefox and chrome. These folks have scientific and ethical integrity, which I always admire.
2023-04-18 06:24:53
Mozilla is very very weird these days. Couple years ago, lots of press, lots of community involvement. Now, very little.
_wb_
2023-04-18 06:27:57
> In 2020, after returning to the position of CEO, her salary had risen to over $3 million (in 2021, her salary rose again to over $5 million[15]). In the same year the Mozilla Corporation laid off approximately 250 employees due to shrinking revenues. (from https://en.wikipedia.org/wiki/Mitchell_Baker)
2023-04-18 06:31:11
I don't know anything about the internals, but to me it looks like Mozilla went from something that was primarily a community project to something that is basically just like any other company, with managers doing layoffs so they can give themselves higher wages etc.
Demez
2023-04-18 06:32:47
the whole thing is just awful
nec
elfeïn Where did you get that? Lol
2023-04-18 06:44:42
It's amd epyc-9684x. Around 1300$.
diskorduser
nec For modern encoders this should be enough.
2023-04-18 07:47:26
Is it yours?
elfeïn
_wb_ I don't know anything about the internals, but to me it looks like Mozilla went from something that was primarily a community project to something that is basically just like any other company, with managers doing layoffs so they can give themselves higher wages etc.
2023-04-18 07:49:23
Lol that's so great. Yup just what the world needed. Awesome. Is it just a fact of life that all large bodies where management is deferred tend toward uniformity with the rest of society?
nec It's amd epyc-9684x. Around 1300$.
2023-04-18 07:53:59
I could afford that if I saved for a few years maybe. If I moved out of my apartment, I could afford it almost instantly (paycheck wise)
spider-mario
2023-04-18 11:24:57
Brisette (April 1998 - 18 April 2016)
Dacoar
2023-04-18 11:32:00
hello im an telecomunications student of in the politecnic university of madrid, and I have to do a project on the FLIF compression format. My question is it related with JPEG XL, and if so, can someone tell me a brief story of its creation, because I dont find that much info about the subject
Master Of Zen
nec For modern encoders this should be enough.
2023-04-18 01:42:22
impressive nails)
Dacoar
2023-04-18 02:13:47
yeah I have read the wikipedia but the information there was very scarce and doesn’t even mention who the creators where and how was the process
2023-04-18 02:15:26
so we had to investigate a bit to reach this discord
MSLP
Dacoar hello im an telecomunications student of in the politecnic university of madrid, and I have to do a project on the FLIF compression format. My question is it related with JPEG XL, and if so, can someone tell me a brief story of its creation, because I dont find that much info about the subject
2023-04-18 02:36:12
I stumbled across the PDF from the trials for JPEG XL: https://infoscience.epfl.ch/record/270332 Btw, does someone know what were the five other proposals, besides selected PIK and FUIF?
Dacoar
2023-04-18 02:39:13
oh yes sorry didn’t realized
_wb_
2023-04-18 02:40:22
https://docs.google.com/presentation/d/1LlmUR0Uoh4dgT3DjanLjhlXrk_5W2nJBDqDAMbhe8v8/edit#slide=id.gb8ddd4f56d_0_6 here is some info