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

on-topic

Whatever else

DZgas Ж
_wb_ 90 megabytes sounds like it has debug symbols
2023-02-19 08:42:02
I'm using this https://github.com/libjxl/libjxl/blob/main/doc/developing_in_windows_msys.md ```cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=OFF \ -DJPEGXL_ENABLE_BENCHMARK=OFF -DJPEGXL_ENABLE_PLUGINS=ON \ -DJPEGXL_ENABLE_MANPAGES=OFF -DJPEGXL_FORCE_SYSTEM_BROTLI=ON \ -DJPEGXL_FORCE_SYSTEM_GTEST=ON ..```
sklwmp what CPU are you running, so I can maybe attempt to make a build for you?
2023-02-19 08:48:02
I don't think that's necessary. I will use my builds exclusively in order to get the latest version before my tests. for which neither productivity nor compactness is needed. And besides, there are daily builds here https://artifacts.lucaversari.it/libjxl/libjxl/
spider-mario you can change `CMAKE_BUILD_TYPE` to `Release` in `CMakeCache.txt` directly and then rebuild
2023-02-19 08:54:15
yes, it helped... now cjxl size only 5000 kb
2023-02-19 09:07:52
But to run, still need the libraries in the folder
2023-02-19 09:10:00
2023-02-22 07:36:57
I think it's time to do a couple more comparative tests of jxl avif <:AV1:805851461774475316>
gb82
2023-02-22 08:06:16
I've been doing one like once a day
DZgas Ж
2023-02-22 05:14:28
looks ordinary
2023-02-22 05:22:58
https://encode.su/threads/3397-JPEG-XL-vs-AVIF?p=78265&viewfull=1#post78265
2023-02-22 05:25:05
> cjxl.exe -e 9 -d 1.25 > avifenc.exe -j 4 -d 10 -y 444 -s 5 --min 20 --max 30 I think the length of the team is very indicative. that jpeg xl is so simple.
_wb_
2023-02-22 06:23:11
likely cjxl -e 6 gives results that are pretty much just as good as -e 9
DZgas Ж
2023-02-22 06:23:20
nightmare-funny meme
_wb_
2023-02-22 06:23:41
lol
DZgas Ж nightmare-funny meme
2023-02-22 07:29:39
Did you make that or does it come from somewhere?
DZgas Ж
_wb_ Did you make that or does it come from somewhere?
2023-02-22 07:30:04
what exactly?
2023-02-22 07:30:49
the text I made and fun avif compress. I'm meme creator
2023-02-22 07:32:36
in my bio there is a link to my telegram group with 1000 people where I make memes or just drop out another memes.
2023-02-22 07:35:53
or anything
gb82
2023-02-22 07:38:21
2023-02-22 07:38:52
once again, ssimu2 vertically & bpp horizontally
_wb_
2023-02-22 07:40:34
What image is that? Kind of strange to see ssimu2 saturate already at 1bpp, must be a rather simple image I suppose?
2023-02-22 07:41:23
Non-photographic, I would assume
sklwmp
2023-02-23 01:05:03
kind of weird graphs, this is a photo with some detail in the front, but a good amount of background blur with simple almost one-color surfaces
2023-02-23 05:02:24
Is there a good image dataset for compression tests? Like, a large dataset where we could possibly compare jxl, avif, jpegli, libjpeg, mozjpeg, etc.
gb82
_wb_ What image is that? Kind of strange to see ssimu2 saturate already at 1bpp, must be a rather simple image I suppose?
2023-02-23 05:32:13
It was photographic. A headshot of Rey from the Force Awakens at 1080x800
Traneptora
2023-02-23 06:23:06
how do people generate those graphs?
w
2023-02-23 06:28:40
very carefully
spider-mario
Traneptora how do people generate those graphs?
2023-02-23 07:13:34
do you mean the data behind the graphs, or the graphs from the data?
Traneptora
2023-02-23 07:18:58
both
2023-02-23 07:19:18
the graphs look similar enough that I'm guessing there's some common tool doing the graphing
HLBG007
sklwmp kind of weird graphs, this is a photo with some detail in the front, but a good amount of background blur with simple almost one-color surfaces
2023-02-23 07:20:18
https://discord.com/channels/794206087879852103/794206170445119489/1077639613167980564
spider-mario
2023-02-23 07:38:12
the last graph looks as though it’s from some spreadsheet software, maybe Excel
2023-02-23 07:38:24
(the fonts and icons are a bit Microsoft-like + it doesn’t look like Google Sheets)
2023-02-23 07:39:40
I would tend to use either something like that or gnuplot, but there are plenty of other options (e.g. matplotlib, plotly)
_wb_
2023-02-23 07:52:24
Plotly is nice to make interactive html plots
sklwmp
Traneptora how do people generate those graphs?
2023-02-24 12:46:25
not sure about the others, but i generated my data using a script from one of the people at the AV1 Discord, i sent it here (https://discord.com/channels/794206087879852103/794206170445119489/1077113705050947635) i just used excel to graph it
gb82
Traneptora how do people generate those graphs?
2023-02-24 02:32:28
cav1ar from the AV1 discord wrote me the script
diskorduser
2023-02-24 04:13:23
Is there any Firefox fork for Android with jxl and Firefox accounts sync support?
gb82
2023-02-24 05:50:39
firefox nightly
2023-02-24 05:50:47
go to `about:config` & enable the JXL flag
diskorduser
2023-02-24 08:16:32
Hmm. I don't want nightlies.
privateidentity
2023-02-27 09:59:31
If I wanted to test the compression on a gif, what would be the easiest way to do that? When I try use https://squoosh.app/ I just get still images.
_wb_
2023-02-27 10:08:12
`cjxl input.gif output.jxl` ?
privateidentity
_wb_ `cjxl input.gif output.jxl` ?
2023-02-27 10:19:42
Thanks for your help I'm running on arm Mac can I run any of these? https://github.com/libjxl/libjxl/releases/
2023-02-27 10:27:55
well that was simple enough thank you very much.
2023-02-27 10:27:56
<:Kaiju_GoodJob:945878924913684490> <:Praykaiju:916507434795815002>
2023-02-27 10:28:24
sadly the gif became larger, time play around with the options I guess
_wb_
2023-02-27 10:30:43
well-optimized gifs can be tricky to make smaller in jxl. You can try `-e 9 -g 3` and possibly add `-I 0 -P 0` to see if that helps...
privateidentity
_wb_ well-optimized gifs can be tricky to make smaller in jxl. You can try `-e 9 -g 3` and possibly add `-I 0 -P 0` to see if that helps...
2023-02-27 10:37:02
Nice, using both ```-e 9 -g 3 -I 0 -P 0``` the file size was reduced by 22% from the original size. Using those options is the compression still lossless?
2023-02-27 10:40:38
Also are these options documented somewhere, this file appears to not have them documented. https://github.com/libjxl/libjxl/blob/44778c6902084bd239c5fb8eaa53bfd90dd9face/doc/man/cjxl.txt
2023-02-27 10:47:56
Just noticed the animation isn't working for them either, could be the viewer I am using tho
_wb_
privateidentity Nice, using both ```-e 9 -g 3 -I 0 -P 0``` the file size was reduced by 22% from the original size. Using those options is the compression still lossless?
2023-02-27 11:35:34
yes, cjxl should be lossless by default when starting from gif. You can add `-d 0` to be sure.
privateidentity Just noticed the animation isn't working for them either, could be the viewer I am using tho
2023-02-27 11:37:33
best to report the bug to the viewer you are using... I know some viewers don't do animation, but if it shows gifs with animation then it should also show jxl (and apng, and webp) with animation, imo.
privateidentity
_wb_ best to report the bug to the viewer you are using... I know some viewers don't do animation, but if it shows gifs with animation then it should also show jxl (and apng, and webp) with animation, imo.
2023-02-27 11:53:00
I'm using xnview, do you have an example animated .jxl that is known to work I can test the software with. I looked in the server and couldn't find an example. https://www.xnview.com/en/xnviewmp/
_wb_ yes, cjxl should be lossless by default when starting from gif. You can add `-d 0` to be sure.
2023-02-27 11:53:53
when using the -d 0 option the size increases, seems like the smaller file size might have been caused by compression then.
novomesk
privateidentity I'm using xnview, do you have an example animated .jxl that is known to work I can test the software with. I looked in the server and couldn't find an example. https://www.xnview.com/en/xnviewmp/
2023-02-27 02:10:15
Animated JXL http://188.121.162.14/jxl/animation.jxl https://github.com/libjxl/conformance/tree/master/testcases/animation_icos4d https://github.com/libjxl/conformance/tree/master/testcases/animation_newtons_cradle
privateidentity
novomesk Animated JXL http://188.121.162.14/jxl/animation.jxl https://github.com/libjxl/conformance/tree/master/testcases/animation_icos4d https://github.com/libjxl/conformance/tree/master/testcases/animation_newtons_cradle
2023-02-27 02:24:25
Thanks for those resources, it allowed me to test the app and it's broken and does not play animation.jxl. I'll have to email the app dev and let them know.
novomesk
privateidentity Thanks for those resources, it allowed me to test the app and it's broken and does not play animation.jxl. I'll have to email the app dev and let them know.
2023-02-27 02:58:38
PhotoQt on Windows plays animations.
privateidentity
2023-02-28 12:37:44
fwiw I loaded the .jxl files as images into a local html page then viewed them in Firefox Nightly and they were static. So the reference animation.jxl and the others I made
username
privateidentity fwiw I loaded the .jxl files as images into a local html page then viewed them in Firefox Nightly and they were static. So the reference animation.jxl and the others I made
2023-02-28 12:50:38
firefox nightly's support for jpeg-xl is very limited it's missing support for transparency, animation, progressive decoding and color profiles. a list of browsers that currently support jpeg-xl is in this tweet https://twitter.com/jonsneyers/status/1626878007091527680
privateidentity
username firefox nightly's support for jpeg-xl is very limited it's missing support for transparency, animation, progressive decoding and color profiles. a list of browsers that currently support jpeg-xl is in this tweet https://twitter.com/jonsneyers/status/1626878007091527680
2023-02-28 01:05:46
Thanks for that clarification, my mistake
2023-02-28 01:17:14
Just tried Thorium I've experienced the future in animation form
2023-02-28 01:17:16
<:4pepeWickedCool:900275195728760863>
Demiurge
sklwmp Is there a good image dataset for compression tests? Like, a large dataset where we could possibly compare jxl, avif, jpegli, libjpeg, mozjpeg, etc.
2023-03-01 07:15:31
https://github.com/eclipseo/eclipseo.github.io/tree/2f93d184577d273cac729e778d73fdcc8a93d0a8/image-comparison-web/comparisonfiles/subset1/Original
diskorduser
2023-03-01 12:29:43
https://twitter.com/lxer_feed/status/1630854786835701764?t=XkmBD-983IEb79abTy68Hw&s=19
2023-03-01 12:30:00
Radiance image format? What is that
_wb_
2023-03-01 12:42:39
OpenEXR?
yoochan
2023-03-01 12:48:17
looks like this : http://paulbourke.net/dataformats/pic/ 1 byte of mantissa for R,G and B and a 4th bit of exponent shared by all
2023-03-01 12:52:18
by the way <@794205442175402004> 🙂 I sent a pull request for the community website of jxl few days ago, I don't even know if I did it properly (I'm not familiar with pull request but it seems still open) are you the reviewer/merger ?
_wb_
2023-03-01 01:33:32
thanks for pinging me, I don't check my github notifications frequently so I tend to miss stuff
yoochan
2023-03-01 01:36:32
no problem, if I can help
DZgas Ж
2023-03-01 05:49:01
how beautiful look it would be if there were line-by-line block decoding... <:banding:804346788982030337>
diskorduser
2023-03-01 05:56:05
libxl dll . 🤔. 😆
spider-mario
2023-03-03 03:34:44
https://mortenhannemose.github.io/lena/
_wb_
2023-03-03 04:07:09
Haha and it's actually quite good as a test image too, nice mix of very easy blurry stuff, fine details, high-contrast textures, low-contrast textures, etc
DZgas Ж
2023-03-06 02:31:45
optipng -- 286 bytes jxl -e 10 -- 206 bytes 1 bit bmp paq8px -- 158 bytes
yoochan
2023-03-06 08:44:23
nice, it performs better than a tightly optimized png !
Fox Wizard
2023-03-06 09:16:01
Isn't optipng kinda meh though?
2023-03-06 09:23:11
I got 208 bytes with ect
DZgas Ж
DZgas Ж optipng -- 286 bytes jxl -e 10 -- 206 bytes 1 bit bmp paq8px -- 158 bytes
2023-03-06 12:02:45
webp -- 434 bytes
ator
DZgas Ж optipng -- 286 bytes jxl -e 10 -- 206 bytes 1 bit bmp paq8px -- 158 bytes
2023-03-06 01:30:09
For compressing 1-bit monochrome bitmaps, you should try JBIG2 and TIFF with G4 fax.
DZgas Ж
ator For compressing 1-bit monochrome bitmaps, you should try JBIG2 and TIFF with G4 fax.
2023-03-06 08:45:45
Of course, these 2 codecs are literally the only 2 things that are written on any site about binary image compression. But apparently the jbig2 ready build for Windows simply does not exist on the Internet. I couldn't find it anywhere at all. at the same time, I can't build it, because? because. Why don't the creators publish ready-made binaries on github? because it's a fucking open source. so i just can't say anything about this algorithm. There are binaries for **webp**, there are binaries for **optipng**, there are binaries for **cjxl**, and there are also binaries on **paq8px**. But JBIG2 decided that no one should use it.
jonnyawsom3
2023-03-06 09:00:16
Many, many times I find a great looking project on github, only to find they didn't bother to upload a 1MB exe precompiled
_wb_
2023-03-06 09:13:24
JBIG2 can be used in pdf iirc. Also I think imagemagick can do it, not sure though.
DZgas Ж
2023-03-06 09:13:42
https://github.com/anotatta/jbig2enc/releases
_wb_
2023-03-06 09:14:01
JBIG2 is a very specific codec though, doing only 1-bit black and white and nothing else.
2023-03-06 09:15:10
It's quite good at it, but it's a rather niche thing to be good at. Even if you are interested in grayscale, you generally want to have shades of gray, not just binary color.
DZgas Ж
DZgas Ж https://github.com/anotatta/jbig2enc/releases
2023-03-06 09:15:43
person forked and build it, BUT IT's WITHOUT LIBRARIES, I've been piecing together each library for half an hour. as it turned out, the best place is fedora pkgs
_wb_
2023-03-06 09:18:15
Scanners and fax machines used to do 1-bit quite often but that was mostly to save memory and because they assumed the data to be mostly black text anyway (and they didn't really care about antialiasing, as long as the text remained legible). Or that's what I assume happened.
DZgas Ж
2023-03-06 09:18:56
for some reason on PKGS.org a website for downloading has been written download - download-ib01.fedoraproject.org - this should be replaced with archives.fedoraproject.org to make everything work
_wb_
2023-03-06 09:19:24
Bilevel images as they are called (hence JBIG: it's the JPEG BI-level Graphics format, or at least I think that's what it means)
spider-mario
DZgas Ж person forked and build it, BUT IT's WITHOUT LIBRARIES, I've been piecing together each library for half an hour. as it turned out, the best place is fedora pkgs
2023-03-06 09:20:52
given that it was built using msys2, perhaps the easiest solution would be to install msys2 as well
2023-03-06 09:20:56
it’s generally quite useful anyway
2023-03-06 09:21:19
I find fish a much more comfortable shell than cmd.exe or PowerShell
DZgas Ж
spider-mario given that it was built using msys2, perhaps the easiest solution would be to install msys2 as well
2023-03-06 09:21:51
it doesn't work, you know what kind of library liblept-5.dll ? it was very difficult to find her
spider-mario
2023-03-06 09:22:08
my guess would be leptonica
2023-03-06 09:22:21
“An open source C library for efficient image processing and image analysis operations”
_wb_
2023-03-06 09:22:48
I think the concept of bilevel images is kind of obsolete. Sure there are still images like that and occasionally it's exactly what you want, but to dedicate a special-purpose codec to it or even to spend much effort specifically optimizing for it, I think that's kind of pointless in 2023. We don't really have any capturing devices nor display devices anymore that do 1-bit only, afaik. Or it has to be something quite niche or quite retro.
DZgas Ж
2023-03-06 09:24:22
libwebp-7.dll 👏
HLBG007
2023-03-06 09:26:32
https://www.google.com/search?q=jbig2+xerox
DZgas Ж
2023-03-06 09:26:39
hey, why doesn't CJXL support webm on input m? here in an unknown low-codec JBIG for which there are not even binaries. libwebp is required to run
_wb_
2023-03-06 09:32:15
cjxl is not meant to be imagemagick, taking any input format. It is a reference encoder, it should take some very widely used formats as input (pnm and png, and jpg for jpeg recompression) but other than that I think it should only support other formats if that's needed for specific format features that are missing in the other input formats.
2023-03-06 09:32:36
WebP can do nothing that APNG cannot do, and we already support APNG.
DZgas Ж
DZgas Ж https://github.com/anotatta/jbig2enc/releases
2023-03-06 09:32:48
yep its jbig2 build is dead 0xc000007b
_wb_ cjxl is not meant to be imagemagick, taking any input format. It is a reference encoder, it should take some very widely used formats as input (pnm and png, and jpg for jpeg recompression) but other than that I think it should only support other formats if that's needed for specific format features that are missing in the other input formats.
2023-03-06 09:36:02
I'm just laughing at the fact that the forgotten JBIG2, which has not been updated globally for a dozen years, suddenly supports WEBP
HLBG007
2023-03-06 09:38:37
https://en.wikipedia.org/wiki/JBIG2 Disadvantages When used in lossy mode, JBIG2 compression can potentially alter text in a way that's not discernible as corruption. This is in contrast to some other algorithms, which simply degrade into a blur, making the compression artifacts obvious.[15] Since JBIG2 tries to match up similar-looking symbols, the numbers "6" and "8" may get replaced, for example. In 2013, various substitutions (including replacing "6" with "8") were reported to happen on many Xerox Workcentre photocopier and printer machines. Numbers printed on scanned (but not OCR-ed) documents had potentially been altered. This has been demonstrated on construction blueprints and some tables of numbers; the potential impact of such substitution errors in documents such as medical prescriptions was briefly mentioned. German computer scientist David Kriesel and Xerox were investigating this. Xerox subsequently acknowledged that this was a long-standing software defect, and their initial statements in suggesting that only non-factory settings could introduce the substitution were incorrect. Patches that comprehensively address the problem were published later in August, but no attempt has been made to recall or mandate updates to the affected devices – which was acknowledged to affect more than a dozen product families. Documents previously scanned continue to potentially contain errors making their veracity difficult to substantiate. Following publicity about the potential for errors authorities in some countries made statements to prevent the use of JBIG2. In Germany the Federal Office for Information Security has issued a technical guideline that says the JBIG2 encoding "MUST NOT be used" for "replacement scanning".[22] In Switzerland the Coordination Office for the Permanent Archiving of Electronic Documents (Koordinationsstelle für die dauerhafte Archivierung elektronischer Unterlagen) has recommended against the use of JBIG2 when creating PDF documents.
DZgas Ж
Many, many times I find a great looking project on github, only to find they didn't bother to upload a 1MB exe precompiled
2023-03-06 09:41:00
we need to send fuck such developers. I don't waste a second on this. let your "creativity" remain forgotten with 0 stars in github
2023-03-06 09:42:07
Well, or more competently -- *You made a website but didn't make a binary* well good luck with the promotion
_wb_
2023-03-06 09:43:42
AVIF, HEIC and JXL could also be used to do bad lossy compression by using intra block copy and patches in a too aggressive way and replacing an 8 by a 6. It is a property of a bad encoder, not a bad codec.
spider-mario
2023-03-06 09:44:57
jbig2enc builds fine on msys2+mingw with this patch applied: https://github.com/agl/jbig2enc/issues/64#issuecomment-468192089 and the proper libraries installed
2023-03-06 09:45:12
though it probably spent way more time in autotools than in g++
2023-03-06 09:45:24
why are autotools so slow
DZgas Ж
2023-03-06 09:46:12
> bad encoder Given my *deep *knowledge of JPEG XL, I would say that LIBJXL has not implemented half of the format's capabilities in 5 years of development, But your assessment may be lower
HLBG007
2023-03-06 09:48:21
That's why I always say lossless has to be the new lossy.
2023-03-06 09:48:24
People rely on an encoder too carelessly. They archived entire files which were subsequently destroyed. the dilema was then big because of jbig2 with the unfortunate pattern matching.
DZgas Ж
spider-mario jbig2enc builds fine on msys2+mingw with this patch applied: https://github.com/agl/jbig2enc/issues/64#issuecomment-468192089 and the proper libraries installed
2023-03-06 09:51:24
You know, I downloaded MSYS, I downloaded the project, the project says, "If you're running msys" just run: ./autogen.sh
spider-mario
2023-03-06 09:53:31
there is a slight complication with msys2 vs. linux which is the msys vs. toolchains split
2023-03-06 09:53:58
you generally want to do package management in an “msys2” shell and build stuff in e.g. a “mingw64” shell
2023-03-06 09:54:24
you would use the msys2 shell to install, say, `mingw-w64-x86_64-autotools` to do that
2023-03-06 09:54:32
and `mingw-w64-x86_64-libwebp`, and so on
2023-03-06 09:57:04
ah, `pacman -S mingw-w64-x86_64-toolchain` (in the msys2 shell) is probably a good place to start
DZgas Ж
2023-03-06 09:57:49
how good that we live in a world where for build needs the consultation of a Jpeg XL core developer
spider-mario ah, `pacman -S mingw-w64-x86_64-toolchain` (in the msys2 shell) is probably a good place to start
2023-03-06 10:06:50
maybe I can do without an extra gigabyte of libraries
2023-03-06 10:16:08
OK, build it. however, I do not know how to create a program with libraries inside. and also I don't know what libraries are needed at all, so I moved all 70 library files to a folder and it worked
DZgas Ж optipng -- 286 bytes jxl -e 10 -- 206 bytes 1 bit bmp paq8px -- 158 bytes
2023-03-06 10:42:13
jbig2 -- 279 bytes
2023-03-06 10:42:42
IS THAT ALL? oh come on!
sklwmp
DZgas Ж we need to send fuck such developers. I don't waste a second on this. let your "creativity" remain forgotten with 0 stars in github
2023-03-07 01:45:10
You're being quite demanding on people who are probably doing things out of their own creativity, putting in their own time and effort to create a project. Yes, it would be very nice if they provided compiled binaries and it would definitely help regular users use their project more widely. If that's their goal, then that's a good thing. But some people just don't have the time to compile binaries for each major operating system, or even for Windows, because it's painful, takes up time and electricity, and needs a lot of work to assure static libs, no compilation errors, etc. Again, open source comes without any guarantees, so I believe that frustration is best directed at contributing to the project and helpfully suggesting, rather than rant as if you have a right to force other people to work for you on a passion project.
2023-03-07 01:45:31
For larger projects, yes, binaries are almost necessary, but for smaller things, sometimes, they're just not worth the hassle.
190n
2023-03-07 01:49:32
i mean it's still at least as much work to set that up lol
MSLP
DZgas Ж optipng -- 286 bytes jxl -e 10 -- 206 bytes 1 bit bmp paq8px -- 158 bytes
2023-03-07 02:15:33
In this particular case (plain black and white palette) i was able to squeeze out a few more bytes out of jxl: minus 6 bytes - to 200 bytes with "--override_bitdepth 1" and minus 3 more bytes - down to 197 bytes by changing "#000000" color component to "#7f7f7f" (with "--override_bitdepth 1")
2023-03-07 02:24:24
oh, it's even 196 bytes with -e 10, I was going with -e 5 before
sklwmp
2023-03-07 03:30:38
Definitely. MSYS2 environments make it easier, but it's still pretty annoying.
Demez
2023-03-07 08:16:30
I actually dislike msys2 lol, I've always had issues with it
DZgas Ж
sklwmp You're being quite demanding on people who are probably doing things out of their own creativity, putting in their own time and effort to create a project. Yes, it would be very nice if they provided compiled binaries and it would definitely help regular users use their project more widely. If that's their goal, then that's a good thing. But some people just don't have the time to compile binaries for each major operating system, or even for Windows, because it's painful, takes up time and electricity, and needs a lot of work to assure static libs, no compilation errors, etc. Again, open source comes without any guarantees, so I believe that frustration is best directed at contributing to the project and helpfully suggesting, rather than rant as if you have a right to force other people to work for you on a passion project.
2023-03-07 09:01:44
people don't need sources at all, nobody needs them. only the program and its functions are needed
sklwmp You're being quite demanding on people who are probably doing things out of their own creativity, putting in their own time and effort to create a project. Yes, it would be very nice if they provided compiled binaries and it would definitely help regular users use their project more widely. If that's their goal, then that's a good thing. But some people just don't have the time to compile binaries for each major operating system, or even for Windows, because it's painful, takes up time and electricity, and needs a lot of work to assure static libs, no compilation errors, etc. Again, open source comes without any guarantees, so I believe that frustration is best directed at contributing to the project and helpfully suggesting, rather than rant as if you have a right to force other people to work for you on a passion project.
2023-03-07 09:04:06
but the trend is this. that no one is doing this. just look at this https://github.com/drowe67/codec2 there's nothing build here? who is to blame for this?
2023-03-07 09:06:29
and now look at the releases here https://github.com/PurpleI2P/i2pd/releases/tag/2.46.1
2023-03-07 09:07:14
and I am sure that this should be in absolutely every project if its authors want it to be used 👆
_wb_
2023-03-07 09:10:27
Packaging is the task of distros. Maintaining software is already enough of a task, no need to demand that every project author also maintains up to date binaries for your favorite platform.
yoochan
DZgas Ж people don't need sources at all, nobody needs them. only the program and its functions are needed
2023-03-07 09:15:08
I do need the sources, nobody less one... 😄 windows having no "distros" do we have an official packager for c/djxl ?
DZgas Ж
_wb_ Packaging is the task of distros. Maintaining software is already enough of a task, no need to demand that every project author also maintains up to date binaries for your favorite platform.
2023-03-07 09:17:54
Does it look like an unknown project? no, if your project has support and popularity, be kind enough to make binaries for all platforms that you can.
yoochan
2023-03-07 09:18:30
would you mind to contribute yourself to this ?
DZgas Ж
2023-03-07 09:19:11
most often this happens at a time when people are creating hundreds of builds for themselves. but the author still does not post a single ready-made solution
_wb_
2023-03-07 09:20:29
Windows is just a bad distro, I don't understand why you would pay for it. There are many free distros doing a much better job at packaging software.
yoochan
2023-03-07 09:21:43
I agree 😄 last time I booted under windows was... last year, yet some windows users exists, perhaps DZgas could be our packager 🙂
DZgas Ж
yoochan would you mind to contribute yourself to this ?
2023-03-07 09:21:47
Do you think that **I** should make ready-made binary for the author of project? doesn't that sound funny?
yoochan
2023-03-07 09:22:16
well, somebody has to do it
2023-03-07 09:22:27
if you don't, we'll have to find someone else
DZgas Ж
yoochan I agree 😄 last time I booted under windows was... last year, yet some windows users exists, perhaps DZgas could be our packager 🙂
2023-03-07 09:23:15
Don't worry. paid windows is really the worst distribution ||🌚||
yoochan well, somebody has to do it
2023-03-07 09:23:51
author
yoochan
2023-03-07 09:24:13
authors
DZgas Ж
2023-03-07 09:24:22
maybe
yoochan
2023-03-07 09:24:42
as an open source project, there is only what people bring in
2023-03-07 09:25:01
but I understand your frustration....
DZgas Ж
2023-03-07 09:25:02
authors of Jpeg XL did this https://artifacts.lucaversari.it/libjxl/libjxl/
yoochan
2023-03-07 09:27:06
wonderful !
DZgas Ж
yoochan as an open source project, there is only what people bring in
2023-03-07 09:27:53
it's just hard for me to understand. why, in this case, do people post code on github, in general. They do not description and that's it. No builds. usually there are not even instructions. you just have to know everything and everything here (to know everything that the author of the code knows) in order to use it
yoochan
2023-03-07 09:27:54
is it really from jpexl authors ? what do you miss from this artifactory repo ?
DZgas Ж
yoochan is it really from jpexl authors ? what do you miss from this artifactory repo ?
2023-03-07 09:28:20
yes it's repo of <@179701849576833024>
yoochan
2023-03-07 09:28:30
ah nice !
veluca
2023-03-07 09:28:59
it's just a script that downloads the gh artefacts, nothing too fancy
yoochan
2023-03-07 09:29:19
personally I use github to sync work in progress 😄 I'm not alone, it explains the mess of some projects, even if public
2023-03-07 09:29:40
so github produces artifacts ?
2023-03-07 09:30:25
I'm lost, what are you missing DZgas ?
DZgas Ж
2023-03-07 09:30:51
builds
yoochan
2023-03-07 09:31:03
like this ? https://github.com/libjxl/libjxl/releases
DZgas Ж
2023-03-07 09:31:17
yes
yoochan
2023-03-07 09:31:32
but not exactly like this ? 😄
veluca
2023-03-07 09:31:46
you need to set it up for your project
2023-03-07 09:31:53
and it's usually a massive pain to do so
yoochan
2023-03-07 09:32:16
you want the last release ? how are these tagged binaries made veluca ? manually ?
DZgas Ж
DZgas Ж and now look at the releases here https://github.com/PurpleI2P/i2pd/releases/tag/2.46.1
2023-03-07 09:32:31
although this... one of the biggest I've seen. I would even say that the packages were overdone for linux.
yoochan you want the last release ? how are these tagged binaries made veluca ? manually ?
2023-03-07 09:33:28
for 99% of projects on github, it can be said - AT LEAST SOMETHING
veluca
yoochan you want the last release ? how are these tagged binaries made veluca ? manually ?
2023-03-07 09:33:39
it starts like this :P ``` luca@zrh ~ $ cat /data/github-get-artifacts/get_artifacts.py #!/bin/python import requests import os import dateutil.parser import email.utils import subprocess from pprint import pprint ```
2023-03-07 09:33:55
it just looks at all the pipeline runs and downloads the outputs
yoochan
2023-03-07 09:34:23
but are they cross compiled for windows ? or do you have a dedicated machine ?
veluca
yoochan but are they cross compiled for windows ? or do you have a dedicated machine ?
2023-03-07 09:34:46
github does it
yoochan
2023-03-07 09:35:35
nice !
2023-03-07 09:36:02
doing mostly python I never dug this kind of feature of github 😄
w
2023-03-07 09:49:38
it's open source, why dont YOU do it
sklwmp
2023-03-07 09:51:14
also, the entire point of open source is that the *sources* are open and available...
yoochan
2023-03-07 09:55:14
as a devil's advocate, even if it's not my case, I can understand that a **user ** of a soft (especially on windows) expect binaries... hopefully, github provide them
veluca
2023-03-07 09:55:45
I'd argue 99% of users couldn't care less about it being open source, too
yoochan
2023-03-07 09:56:09
except the ones on this discord I guess 😄
w
2023-03-07 09:56:27
but also most of those people are people who don't like to pay for things
2023-03-07 09:57:02
maybe it's the assumption of open source meaning free and open source
sklwmp
yoochan as a devil's advocate, even if it's not my case, I can understand that a **user ** of a soft (especially on windows) expect binaries... hopefully, github provide them
2023-03-07 09:57:27
true, i do expect binaries too, i just also understand that i probably shouldn't be so antagonistic towards the developers...
veluca I'd argue 99% of users couldn't care less about it being open source, too
2023-03-07 09:57:56
yea, i'm not really an open source purist or anything, if proprietary software works better, then of course use that whatever is best for the use case
DZgas Ж
2023-03-07 10:11:51
OPEN SOURCE now means no developer responsibility. you need to you do it
2023-03-07 10:12:37
no. I will not waste time on this and will find another ready-made solution.
w
2023-03-07 10:12:46
it always meant that
DZgas Ж
w it always meant that
2023-03-07 10:13:18
are you under 20 years old?
w
2023-03-07 10:13:24
because why would anyone do anything for free
DZgas Ж
w because why would anyone do anything for free
2023-03-07 10:14:15
I don't agree with your This vision of the world
w
2023-03-07 10:14:33
software isn't charity
DZgas Ж
w software isn't charity
2023-03-07 10:15:12
What does this mean?
2023-03-07 10:15:44
why does github exist?
w
2023-03-07 10:16:27
to increase productivity
DZgas Ж
w to increase productivity
2023-03-07 10:16:51
productivity of anything for free?
w
2023-03-07 10:17:07
productivity of entities
2023-03-07 10:17:08
to make more money
DZgas Ж
w because why would anyone do anything for free
2023-03-07 10:17:59
any
w software isn't charity
2023-03-07 10:21:53
Well, that's it. and what does open source have to do with it?
w
2023-03-07 10:22:32
nothing. open source means nothing for users
DZgas Ж
2023-03-07 10:23:06
ok
w nothing. open source means nothing for users
2023-03-07 10:23:52
why do open source at all?
2023-03-07 10:24:49
✍️
w
2023-03-07 10:25:25
to get other people to do the work
yoochan
2023-03-07 10:27:14
no even wrong 😄
2023-03-07 10:27:49
the more politically correct version of this is : so that every one can contribute
DZgas Ж
2023-03-07 10:29:52
> nothing for users > do the work
w
2023-03-07 10:30:05
regular users, other developers
DZgas Ж
w regular users, other developers
2023-03-07 10:30:33
in this case, you can use statistics on the number of people you are talking about
2023-03-07 10:31:07
1%
2023-03-07 10:31:13
0.01% ?
w
2023-03-07 10:31:35
it's for creators. same can be said for other art stuff
2023-03-07 10:31:41
like what is a normal user gonna do with stock footage
DZgas Ж
2023-03-07 10:32:31
> stock footage nothing. they no longer exist. use neural networks
w
2023-03-07 10:34:36
🤷‍♂️
yoochan
DZgas Ж > nothing for users > do the work
2023-03-07 10:40:53
for the users, there is the releases : https://github.com/libjxl/libjxl/releases
w
2023-03-07 10:41:20
you should be grateful there are releases
2023-03-07 10:41:39
*free releases
DZgas Ж
w you should be grateful there are releases
2023-03-07 10:42:29
If there were no ready-made releases here, I would have sent this format to fuck -- 2 years ago
w
2023-03-07 10:43:51
it's not like this format is not financially motivated
DZgas Ж
w it's not like this format is not financially motivated
2023-03-07 10:44:45
Oh, come on. It was only necessary to create the most powerful codec in the world
spider-mario
2023-03-07 11:26:37
WSL2 conflicts with VirtualBox
2023-03-07 11:26:45
I’m having to stick with WSL1 because of that
2023-03-07 11:27:01
I’m not sure whether it is even possible to set up on new installs
DZgas Ж
2023-03-07 06:19:30
No
diskorduser
2023-03-10 03:10:03
Is image magick's -quality 90 equal to -d 1.0?
DZgas Ж
diskorduser Is image magick's -quality 90 equal to -d 1.0?
2023-03-10 03:11:45
cjxl (libjxl) - yes
diskorduser
2023-03-10 03:34:24
Looks like WIC is broken.
username
2023-03-10 03:41:13
in windows photo viewer with the jxl wic codec dark areas get messed up
2023-03-10 03:41:38
although this seems like more the fault of windows photo viewer then the wic codec
2023-03-10 03:41:53
since I tried the wic codec in other programs and it worked fine
_wb_
2023-03-10 06:33:10
Likely a colorspace issue of some kind
username
2023-03-10 06:34:16
I have noticed that windows photo viewer has issues with third party codecs
2023-03-10 06:34:37
for example if you use the webp codec then every webp you open will become very dark
Demez
2023-03-10 08:55:12
oddly enough, in windows vista it works just fine lol
diskorduser
2023-03-10 09:52:53
Probably it depends on the source image and the way it is encoded. The source is a jpeg from fujifilm 24mp camera and I used imagemagick to downscale it to 50% and converted it to jxl using imagemagick.
Demez
2023-03-10 09:57:55
I think it's just any jxl or webp
username
2023-03-10 09:59:17
yeah theres just something wrong with how windows photo viewer handles things
diskorduser
2023-03-10 10:10:16
Now I have used ` -set colorspace RGB -colorspace sRGB -strip` to magick conversion.
2023-03-10 10:14:44
oh no. it looks bright now.
_wb_
2023-03-10 02:42:57
imagemagick has a bug where it writes sRGB png files incorrectly using only the gAMA chunk and not the sRGB chunk
2023-03-10 02:43:15
and it very confusingly lies about it too when you do `identify`
ator
diskorduser Now I have used ` -set colorspace RGB -colorspace sRGB -strip` to magick conversion.
2023-03-10 04:38:04
colorspace RGB in imagemagick is a linear colorspace
2023-03-10 04:38:30
and then you ask imagemagick to convert it to sRGB which applies a power function
Traneptora
2023-03-11 02:12:46
you can use TweakPNG (windows only, but works in wine) to manually add an sRGB chunk
spider-mario
2023-03-11 02:17:08
TweakPNG is nice, I’ve used it quite a few times
diskorduser
2023-03-12 11:35:17
I am encoding a screenshot to jxl. vardct e9 produces bigger file than e7.
2023-03-12 11:36:05
`❯ du -la 32K ./e9.jxl 24K ./e7.jxl 128K ./2fa backup codes.png 184K . `
jonnyawsom3
2023-03-12 11:37:19
With VarDCT e3 or e4 will currently sometimes give smaller sizes than anything else
diskorduser
2023-03-12 11:42:41
e3 and e4 is bigger than e7
jonnyawsom3
2023-03-12 11:44:43
As I said, sometimes
diskorduser
2023-03-12 11:45:09
hmm right
DZgas Ж
diskorduser I am encoding a screenshot to jxl. vardct e9 produces bigger file than e7.
2023-03-12 01:53:19
haha classic. Give the screenshot img
diskorduser
DZgas Ж haha classic. Give the screenshot img
2023-03-12 02:07:49
2023-03-12 02:08:31
These backup codes are not in use. I have regenerated new ones.
DZgas Ж
diskorduser
2023-03-12 02:08:56
aww
2023-03-12 02:09:50
literally "artificial image"
2023-03-12 02:11:17
14-byte Exif ✍️
diskorduser
2023-03-12 02:13:22
~/Music/tmp ❯ ./cjxl ssss.png s.jxl JPEG XL encoder v0.9.0 c4927fbf [AVX2,SSE4,SSSE3,SSE2] Read 850x650 image, 127609 bytes, 126.6 MP/s Encoding [VarDCT, d1.000, effort: 7], Compressed to 24475 bytes (0.354 bpp). 850 x 650, 1.10 MP/s [1.10, 1.10], 1 reps, 4 threads. ~/Music/tmp ❯ ./cjxl ssss.png e9.jxl -e 9 JPEG XL encoder v0.9.0 c4927fbf [AVX2,SSE4,SSSE3,SSE2] Read 850x650 image, 127609 bytes, 144.3 MP/s Encoding [VarDCT, d1.000, effort: 9], Compressed to 28726 bytes (0.416 bpp). 850 x 650, 0.20 MP/s [0.20, 0.20], 1 reps, 4 threads.
DZgas Ж
2023-03-12 02:14:23
and use --gaborish=0 for best
2023-03-12 02:16:22
and --epf=0 for best bytes
diskorduser
2023-03-12 02:17:02
hmm. still slightly larger than e7.
2023-03-12 02:18:37
still slightly bigger than e7
DZgas Ж
2023-03-12 02:19:24
i say for e7
diskorduser
2023-03-12 02:19:37
oh ok ok
2023-03-12 02:19:57
yeah nice compression
DZgas Ж
2023-03-12 02:28:49
2023-03-12 02:28:58
for some reason e9 has made more unnecessary and inefficient blocks
_wb_
2023-03-12 02:46:22
This is not really an image where dct is useful at all. Avif will likely use palette blocks all over the place here. We should make jxl use modular on an image like this, or at least in the region with the white background.
DZgas Ж
_wb_ This is not really an image where dct is useful at all. Avif will likely use palette blocks all over the place here. We should make jxl use modular on an image like this, or at least in the region with the white background.
2023-03-12 02:58:42
Only Modular gives more file size than would like. about 3 times more than necessary. e7 works well. it's not that important. it is important to know why the stronger e9 algorithm gives a worse quality than e7 here.
diskorduser
2023-03-12 03:07:24
Modular gives 40kb size.
DZgas Ж
diskorduser Modular gives 40kb size.
2023-03-12 03:24:39
2 times more <:PepeOK:805388754545934396>
diskorduser
2023-03-12 03:29:07
53kb at e7. 46kb at e9.
DZgas Ж
2023-03-12 04:28:16
Modular always e9 is too powerful, it will be better than any
2023-03-12 04:28:49
although there may be times between e2-e5 when a more powerful function compresses worse on Modular
monad
diskorduser I am encoding a screenshot to jxl. vardct e9 produces bigger file than e7.
2023-03-20 06:53:56
butteraugli thinks the e9 encode has lower max norm and is closer to the target distance than the e7 encode. The cost is more bits. This is an expected result.
spider-mario
2023-03-21 05:54:04
oh no, DPReview is closing
username
2023-03-21 07:04:01
<@794205442175402004> I remember you saying that you don't check github notifications that much so I am here to tell you that currently there is a pull request that someone has made for the jxl community site https://github.com/jxl-community/jxl-community.github.io/pull/10
2023-03-21 07:04:28
one of the reasons I bring this to your attention is because I plan to do a pull request of my own once this one is reviewed
_wb_
2023-03-21 07:24:38
Thanks!
2023-03-21 07:34:34
Merged it
username
2023-03-21 07:36:31
I will continue on the pull request I was working on, no ETA for when I will be done but I will ping you once I am
2023-03-21 10:18:35
<@794205442175402004> my pull request is finished! feel free to review it whenever https://github.com/jxl-community/jxl-community.github.io/pull/11
2023-03-21 10:25:03
(I waited until the other pull request was merged since mine might have conflicted)
2023-03-21 10:46:13
I should probably mention that I did not touch the images on the test page
Moritz Firsching
2023-03-22 12:14:42
Yes, there is user of highway other than libjxl in Chrome
zamfofex
2023-03-22 04:25:27
https://twitter.com/hikari_no_yume/status/1633014129806942208
afed
2023-03-22 04:31:00
https://www.rollingstone.com/music/music-news/riaa-vinyl-units-surpass-cds-1234693223/
improver
2023-03-22 04:48:20
vinyls are just much more interesting as a medium. CDs are p much always either same or worse than lossless internet downloads, what's value in that in current year
2023-03-22 04:52:49
with vinyl you get different sound at least, which often has worse signal to noise ratio but that's something that human brain can filter out easily & that may actually add up to effect of having "warmer" sound
yoochan
2023-03-22 05:41:34
You could add some noise/warmness/whatever and burn it to a cd
2023-03-22 05:44:39
The only real selling point of vinyl is the quality of the jacket
_wb_
2023-03-22 05:51:57
I guess it might also be a more 'fun' physical object to own / show to people, and I suppose in some genres like hiphop there is value in being able to do scratching and other turntable effects.
2023-03-22 05:55:12
in terms of fidelity, there's no value though — just like film photography has no better fidelity than digital photography.
jonnyawsom3
2023-03-22 06:12:37
Some people like to hold what they own
improver
2023-03-22 06:27:21
mmmmmmmm holding physical harddrive zraid array with over 1TB of flacs :>
jonnyawsom3
2023-03-22 06:30:20
Holding my active and writing hard drive dock full of all the family photos
improver
2023-03-22 07:03:46
i messed up more drives than i'd like to admit by touching them while they're spinning :<
Traneptora
2023-03-22 09:45:26
the value of vinyl exists but again it's stuff like album art, or physical object value
2023-03-22 09:45:32
not in fidelity
2023-03-22 09:46:29
you get people who disbelieve the sampling theorem but that's essentially a rejection of digital audio as a whole
2023-03-22 09:46:41
not of CDs
improver
2023-03-22 10:05:03
it's usually just a (imo warranted) resistance to people who smugily proclaim that digital is all everyone should use because quality
2023-03-22 10:05:25
when in fact quality provided by vinyl is fully sufficient except when records get old ofc
2023-03-22 10:06:29
like u know that rebellious urge to confuse & discard knowledge of people who evidently don't care about values you care about
2023-03-22 10:12:21
though i don't even see much of that nowadays its like you gotta go out of your way to find groups who do that
2023-03-22 10:15:01
one could legit argue that cheap DACs could sound worse than proper turntable but thats like idk if anyone do argue that either
monad
2023-03-23 06:01:58
and good ears
Jyrki Alakuijala
2023-03-23 05:05:07
there are audio systems that are very good on all agreed metrics but sound wrong
2023-03-23 05:07:19
the audio signal (the number values in a .wav file or on cd) is the 2nd derivative of the loudspeaker displacement, and the loudspeaker itself a harmonic oscillator (i.e., 2nd order), but eq-corrections are done with 1st order systems -- the power spectrum is ok, but the bass is shifted in time and around the oscillation it has truly weird time behaviour
2023-03-23 05:07:49
once JPEG XL is completely deployed we will fix audio? 😄 yes or no?! 😄
afed https://www.rollingstone.com/music/music-news/riaa-vinyl-units-surpass-cds-1234693223/
2023-03-23 05:17:30
I'm an old fashioned digital person. I bought about 100 audio cds per year during last 4 years (I bought 'collections' off from people giving up their physical media).
2023-03-23 05:18:58
someone could make a jpeg xl vinyl -project for 2023-04-01 fools', a project that would put a 'label in the center of the virtual disc' and then put a wav-file audio circling it -- with tools to convert to and from wav
2023-03-23 05:19:58
jpeg xl audio compression
jonnyawsom3
2023-03-23 05:21:46
Jpeg audio... It just sounds wrong xD
Jyrki Alakuijala
2023-03-23 05:26:58
monad and good ears
2023-03-23 05:28:42
good audio gear/musical instruments is like good food, easy to get used to -- but something that you will miss once you experienced it long enough
jonnyawsom3
2023-03-23 05:29:58
Ohh, right. You mean turn the audio into image data surrounding the label. I thought you meant on physical vinyl again
Demez
2023-03-23 05:30:32
jpeg audio sounds like it would be worse than mp3 lol
jonnyawsom3
2023-03-23 05:32:05
I cant help but think of this https://youtu.be/jmaUIyvy8E8
yoochan
improver when in fact quality provided by vinyl is fully sufficient except when records get old ofc
2023-03-23 06:13:27
Not only when the record get old, but scritches, wows and flutter (due to fluctuations in the speed of rotation) are a pain, solved only by the most expensive turntables
2023-03-23 06:16:36
CD is high quality music for the proletarians 😅 the only paradox is mixing. CDs have a much wider dynamic range but are often mixed far too loud (cf loudness war) whereas vinyls, targeting audiophiles are perfectly mixed... The problem lies in the studio, not the support
improver
2023-03-23 06:33:07
scratches which shall be considered physical damage can happen on CDs too. physical damage is its own thing. and audio CD players can have their own issues too. fair point that bad things can happen on vinyl more likely but that wasn't the point i was making
2023-03-23 06:34:52
the point was that personal experiences wise vinyl can end up being better for arguably statistically wrong reasons due to handling & equipment selection biases of buyer, which may end up adding to audiophilic collective experiences of it
spider-mario
improver scratches which shall be considered physical damage can happen on CDs too. physical damage is its own thing. and audio CD players can have their own issues too. fair point that bad things can happen on vinyl more likely but that wasn't the point i was making
2023-03-23 07:03:51
minor scratches on CDs do not affect the sound at all
2023-03-23 07:04:01
whereas scratches that affect the sound of vinyl are pretty much unavoidable
2023-03-23 07:04:28
(or dust, or…)
yoochan
2023-03-23 07:06:31
And the irony is strong here, if present day audiophiles don't choose the audio quality above everything else 😁 but I understand your point
spider-mario
2023-03-23 07:17:15
on that note, I need to rip the best CD set ever
_wb_
Jyrki Alakuijala someone could make a jpeg xl vinyl -project for 2023-04-01 fools', a project that would put a 'label in the center of the virtual disc' and then put a wav-file audio circling it -- with tools to convert to and from wav
2023-03-23 07:35:53
Make an online conversion tool and it could actually get used, if it works well enough. There are plenty of platforms (forums etc) that allow you to share images easily but not sound. This could be a way to circumvent such limitations...
spider-mario
spider-mario on that note, I need to rip the best CD set ever
2023-03-23 07:36:11
masterpiece
_wb_
2023-03-23 07:36:40
Bonus points if it is somewhat robust to recompression, or maybe if it can even survive being printed to physical paper and photographed with a phone.
2023-03-23 07:42:00
Uncompressed audio is about 10 megabytes per minute, right? For stereo 16-bit 44.1 kHz. So an uncompressed song is about the same as an uncompressed 10 megapixel photo...
2023-03-23 07:46:11
If you pick the image width so the tempo of the song fits well (assuming constant tempo), there might be some spatial correlation in the image already if you just treat the uncompressed audio as an uncompressed image
2023-03-23 07:47:30
I suppose frequency transforms can help too to turn the 1D sound into something more 2D-ish
yoochan
2023-03-23 07:48:50
Like a jpegxl wav giant qr code?
_wb_
2023-03-23 07:53:04
Yeah, something like that. But less redundant and error-correcting. I want it to be convertible even if you do lossy transcoding on the image, so you can hear the compression artifacts
2023-03-23 07:53:30
Btw my April's fool tweet from two years ago: https://twitter.com/jonsneyers/status/1377508854024523778?t=s22-fr81KOUSIahAhsZXiw&s=19
2023-03-23 07:54:51
If my jokes become reality, maybe I should tweet the opposite thing this time around 🙂
fab
2023-03-23 08:30:14
The bombzen isn't in the av1 server
2023-03-23 08:30:41
I already encoded hydrium 0.2.0 audio
2023-03-23 08:30:48
Now I will do libjxl
gb82
2023-03-31 05:34:16
https://raphlinus.github.io/color/2021/01/18/oklab-critique.html
username
2023-04-01 03:17:13
<@794205442175402004> I have made a new pull request for the jpegxl.info site feel free to request any changes I make to it before you merge it
2023-04-01 03:18:28
such as if I should change the wording for the new description I wrote for the site's metadata embed thing (I don't remember what the standard is called)
2023-04-01 03:30:33
or if the position of the bit depth info should be changed for example
_wb_
2023-04-01 05:08:26
Thanks! LGTM
username
2023-04-01 05:19:53
<@794205442175402004> oh my I just noticed that the places for the webp and jpeg are swapped for the wide-gamut test..... i'm sorry for the mistake here is the fixed html file since it's such a small line change I don't think I should submit a full pull request for it.
2023-04-01 05:20:30
apologies for the mistake. I didn't fully validate the line placements
_wb_
2023-04-01 05:20:47
I'm on holidays, only have phone, so please do make a PR, is easier for me
username
_wb_ I'm on holidays, only have phone, so please do make a PR, is easier for me
2023-04-01 05:28:46
alright done!
2023-04-08 04:23:24
as of today/yesterday discord now compresses images sent through it
2023-04-08 04:23:51
this means recompressing JPEGs
2023-04-08 04:24:05
and also recompressing PNGs
2023-04-08 04:24:25
and it doesn't even make the new JPEGs progressive.... they are baseline
2023-04-08 04:24:49
also when it takes in a PNG it doesn't spit out anything lower then 24-bit
2023-04-08 04:25:37
which means if this image is sent in discord it becomes around **5 times** bigger in size now
improver
2023-04-08 05:01:30
waaa
username
username which means if this image is sent in discord it becomes around **5 times** bigger in size now
2023-04-08 06:40:46
due to discord's new system this image becomes around **5 times bigger** when sent in discord, compare it with the one in the rar file
monad
2023-04-08 06:51:42
wat
2023-04-08 06:54:46
It was already weird having heavily degraded previews with larger file sizes than original (GIF).
username
monad It was already weird having heavily degraded previews with larger file sizes than original (GIF).
2023-04-08 07:04:50
those where just thumbnails now discord is messing with the actual full files
DZgas Ж
2023-04-08 09:06:00
2023-04-08 09:08:25
Thank you discord for doing unnecessary useless work and wasting your time even though no one asked you to 🤝
gameplayer55055
2023-04-08 09:11:19
wasting our time? that's not a problem because noone asked, but witg the DISCORD NITRO we will ASK and allow you to share additional 257th channel of RGB
Traneptora
2023-04-08 11:29:47
oh, rip
2023-04-08 11:29:52
you'd think they'd at least keep OG if it's smaller
username
2023-04-08 11:31:26
I'm going to have to do more testing but from first glance discord looks very dumb
Demez
2023-04-09 12:06:11
imo this one of the worst discord changes so far
jonnyawsom3
2023-04-09 12:59:43
So they made PNG non-lossless... Truly *an* update of all time
username
So they made PNG non-lossless... Truly *an* update of all time
2023-04-09 01:40:02
pixel wise they have the same values (unless there is a color profile because discord discards them now)
2023-04-09 01:40:12
speaking of: https://cdn.discordapp.com/attachments/1075919445538652223/1094435516168032286/discord-before.webp https://cdn.discordapp.com/attachments/1075919445538652223/1094435517208199240/discord-after.webp
2023-04-09 01:40:23
^ a little before and after
2023-04-09 01:40:47
discord just ruins PNG and JPEG files
2023-04-09 01:41:05
WebP and GIF are unaffected
Traneptora
2023-04-09 02:30:24
is discord stripping ICC profiles now too?
zamfofex
2023-04-09 04:13:44
Just `mv image.png image.bin` 😄
improver
2023-04-09 04:20:05
someone should make something like a userscript that uploads as .bin in addition to normal
2023-04-09 04:21:04
haven't played w javascript things much myself tho
zamfofex
2023-04-09 04:22:38
It could be neat to have a a bot that will show thumbnails for e.g. `.png.bin` and `.jpeg.bin` files.
improver
2023-04-09 04:26:45
that'd require you to upload stuff that way which either means userscript or actually renaming your files.. which would be unreasonable usability harm for yourself
2023-04-09 04:28:02
& you can't use bot in every server, or private chats
zamfofex
2023-04-09 04:41:30
That’s fair enough.
2023-04-09 04:41:50
A potential solution is to just upload the image elsewhere and just post a link on Discord.
improver
2023-04-09 04:43:03
yeah that'd be nicer. userscript for that :^)
w
2023-04-09 04:58:52
2023-04-09 04:58:59
my prophoto green doesnt work in discord anymore...
JendaLinda
2023-04-09 10:21:13
I've noticed few days ago Discord already bloating my pngouted files.
jonnyawsom3
improver that'd require you to upload stuff that way which either means userscript or actually renaming your files.. which would be unreasonable usability harm for yourself
2023-04-09 10:24:47
Not sure if they changed it but you used to be able to edit the extension inside the upload dialogue without affecting the original file
JendaLinda
2023-04-09 10:28:02
Anyway. I discovered an interesting quirk in Gimp regarding color profiles. If the image is converted from a custom color profile to sRGB, there's a possibility for random by-one error. It occurs seemingly randomly with the same image and the same settings.
Demez
2023-04-09 10:31:18
unrelated, but that reminds me of kritas broken lossless webp export, in which it is always lossy or something
JendaLinda
2023-04-09 10:49:42
Color space conversion is not consistent among different programs, so slight rounding error is acceptable, but I'd expect consistency at least when using one program, following the same steps.
2023-04-09 11:01:07
Not being able to export lossless webp is bad. That''s why I test the tools I use.
Traneptora
JendaLinda Anyway. I discovered an interesting quirk in Gimp regarding color profiles. If the image is converted from a custom color profile to sRGB, there's a possibility for random by-one error. It occurs seemingly randomly with the same image and the same settings.
2023-04-09 01:59:17
that's likely a bug more than anything else weird going on
2023-04-09 01:59:29
if it's not doing the same thing on the same image it's probably reading from uninitialized memory that wasn't properly zeroed
JendaLinda
2023-04-09 03:04:44
I performed several attempts and Gimp produces exactly two different outputs for one input image.
2023-04-09 03:16:53
Those outputs are alternating after a few attempts. It doesn't make difference if I do multiple conversions during single Gimp session or if I close and reopen Gimp after each conversion. It seems like it was influenced by system time or something.
Traneptora
2023-04-09 03:24:28
It's likely influenced by whatever happened to be in RAM
JendaLinda
2023-04-09 03:50:28
As I said, there are exactly two possible results and they are alternating quite regularly.
username
2023-04-09 04:03:27
I have some very very very bad news about discord's new image ruining system
Traneptora
2023-04-09 04:03:37
hm?
username
2023-04-09 04:04:07
it seems as though they have gone across all of their servers and replaced every single image uploaded to their platform with ruined versions
Traneptora
2023-04-09 04:04:22
<:DunktsukiStare:759697530786938901>
username
2023-04-09 04:04:27
larger PNGs and uglier JPEGs
2023-04-09 04:04:39
also the JPEGs that are spit out are all baseline
Traneptora
2023-04-09 04:04:48
...y?
MSLP
2023-04-09 04:05:02
are the xyb jpegs broken?
username
2023-04-09 04:05:05
yes
Traneptora
2023-04-09 04:05:13
are ICCs stripped?
username
2023-04-09 04:05:19
yes
Traneptora
2023-04-09 04:05:26
fuck
username
2023-04-09 04:06:03
https://discord.com/channels/794206087879852103/1020724883241574472/1074995333916020777
2023-04-09 04:06:13
there is an example
2023-04-09 04:06:27
that image was uploaded months ago
Traneptora
2023-04-09 04:06:57
ugh
2023-04-09 04:07:05
what amateurs
2023-04-09 04:08:05
all the apple users with P3 displays weren't a sizeable enough portion ofthe userbase, apparently
2023-04-09 04:08:46
does it lossyify lossless webp now too?
_wb_
username it seems as though they have gone across all of their servers and replaced every single image uploaded to their platform with ruined versions
2023-04-09 04:09:49
wow. that is silly. very silly.
2023-04-09 04:10:45
just stripping all icc profiles and recompressing even the _originals_, that is.... wow
username
Traneptora does it lossyify lossless webp now too?
2023-04-09 04:11:08
WebP and GIF are safe for now but GIF is probably on the chopping block next while WebP might not be touched at all
_wb_ just stripping all icc profiles and recompressing even the _originals_, that is.... wow
2023-04-09 04:11:28
years and years worth of images are now ruined...........
_wb_
2023-04-09 04:11:52
do they also do this for people who actually paid, what's it called, "nitro" to be able to upload bigger files?
username
2023-04-09 04:11:52
this is all such a big shame
Traneptora
2023-04-09 04:12:17
I presume so. I have nitro so I can check
2023-04-09 04:12:30
nitro classic*
2023-04-09 04:12:40
the cheap one
_wb_
2023-04-09 04:12:58
at cloudinary we have one holy rule: never touch the originals
Traneptora
2023-04-09 04:13:03
but later. currently walking to store
_wb_
2023-04-09 04:13:23
if you mess something up in derived stuff like thumbnails, that's one thing
username
2023-04-09 04:13:40
it used to just be thumbnails and that was fine
2023-04-09 04:13:50
now it is everything on discord
Traneptora
2023-04-09 04:13:50
I figure that's standard. changing og is unrecoverable
_wb_
2023-04-09 04:14:06
ruining _originals_, that's just so very, very bad
Traneptora
2023-04-09 04:14:18
amateurs
username
2023-04-09 04:14:52
maybe there is some hope they have the originals backed up internally just in case?
2023-04-09 04:15:03
although I doubt it knowing discord
MSLP
2023-04-09 04:16:02
this remainds me of: http://ascii.textfiles.com/wp-content/uploads/2023/03/image-6.png
_wb_
2023-04-09 04:18:05
Oh boy. Imagine a discord server that is being used just to share digital art — they just lost their entire archive?!
username
2023-04-09 04:18:49
oh people use discord for stuff like that all the time
2023-04-09 04:19:25
some people even use discord to host images for other places
2023-04-09 04:20:12
and some people upload professional work to discord even
_wb_
2023-04-09 04:20:22
Pixel art specifically is super silly: discord will require more storage for the lossy versions of such images than for the originals...
username
2023-04-09 04:20:43
they don't make PNG files lossy
2023-04-09 04:20:50
they recompress them in a dumb way
2023-04-09 04:21:02
that makes them larger if they where already optimized
_wb_
2023-04-09 04:21:33
They keep the pixel values? But still strip the icc?
username
2023-04-09 04:21:56
they recompress lossless PNGs as a lossless PNG without considering anything else
2023-04-09 04:22:09
so the icc is lost
_wb_
2023-04-09 04:22:39
E.g. all MacOS screenshots will be wrong if you just strip the DisplayP3 profile they have
username
2023-04-09 04:23:35
they don't even do a size comparison to see if their "optimized" PNGs are smaller or not
2023-04-09 04:23:51
which is why so many of them become larger when put in discord now
_wb_
2023-04-09 04:25:24
I'm less worried about size than about correctness. But it's of course extra stupid if they ruin the image _and_ they end up using more storage and bandwidth...
jonnyawsom3
2023-04-09 04:27:19
Ohh, *ohhhh*, I just realised. This'll be why my client has been locking up and freezing when pasting any image copied to the clipboard. It'd be re-compressing the file before it's uploaded, also explains why I've had multiple crashes as soon as I try to paste larger files
Traneptora
2023-04-09 04:28:17
it's done server side
2023-04-09 04:28:37
so this shouldn't cause more clie client crashes
JendaLinda
2023-04-09 04:30:34
So they're just passing all images through MS Paint?
username
JendaLinda So they're just passing all images through MS Paint?
2023-04-09 04:37:39
in a way you could say they pretty much are but just in a slightly more advanced way
JendaLinda
2023-04-09 04:38:29
Anyway, there's no point reencoding PNGs if there's no optimizer program used. On the other hand, PNG optimizations are pretty CPU heavy.
jonnyawsom3
Traneptora it's done server side
2023-04-09 05:06:40
Interesting timing, but it seems you're right judging by networks logs. On mobile it definitely compresses clientside, even has a progress bar for it, so I assumed on computers with more power they'd have done the same
_wb_
2023-04-09 05:09:34
Do they do lossy transcoding of jpegs or lossless?
username
_wb_ Do they do lossy transcoding of jpegs or lossless?
2023-04-09 05:10:39
they reencode jpegs into baseline ones with no color profiles
2023-04-09 05:10:56
so all progressive jpegs are now baseline in discord
2023-04-09 05:11:29
if you put a 5.6MB jpeg into discord it will become around 900KB
MSLP
2023-04-09 05:12:43
so it seems it's lossy?
username
2023-04-09 05:13:51
very very lossy
jonnyawsom3
2023-04-09 05:25:40
5.14MB to 1.92MB Hopefully this shows the difference
username
2023-04-09 05:27:07
here's another comparison (I thought I posted this here already but I guess not)
jonnyawsom3
2023-04-09 05:28:50
I managed to pick the worst possible example for mine, since most of the image was blurred anyway, thankfully found some rope that was in focus enough to show the artefacts :P
MSLP
2023-04-09 05:29:56
damn, i think they're also downsampling color to 4:2:0
2023-04-09 05:31:00
2023-04-09 05:32:03
2023-04-09 05:34:01
or maybe not all the way down to 4:2:0... does someone have a good method to check that?
username
2023-04-09 05:36:03
exiftool will say what amount of chroma subsampling a jpeg has https://exiftool.org/
2023-04-09 05:36:23
but discord very likely only does 4:2:0
MSLP
2023-04-09 05:36:58
yep, 4:2:0
username
2023-04-09 05:36:58
like very very likely
MSLP
2023-04-09 05:38:49
original 4:4:4 reference file
JendaLinda
2023-04-09 06:00:46
According to IrfanView, the compressed JPEGs are 4:2:0 @ q=75, welcome to 1995.
username
2023-04-09 06:02:43
they are also all baseline
2023-04-09 06:02:51
discord doesn't even output progressive ones
BlueSwordM
username discord doesn't even output progressive ones
2023-04-09 06:03:06
Bruh, incompetent bastards.
2023-04-09 06:03:15
They must be using the default encoder included in Chromium.
username
2023-04-09 06:03:36
whoever at discord set this up knows nothing about images
BlueSwordM
username whoever at discord set this up knows nothing about images
2023-04-09 06:05:27
Worse: they're doing this on purpose. They're willing to sacrifice revenue on free users to increase revenue from paid users.
_wb_
2023-04-09 06:05:57
Agreed. Likely just someone who thinks "an image is an image" and aggressively wants to save storage/bandwidth
JendaLinda
2023-04-09 06:06:23
They don't even use optimized Huffman tables.
_wb_
2023-04-09 06:07:11
Default libjpeg-turbo encode behavior
2023-04-09 06:07:26
Cheapest possible
username
2023-04-09 06:08:19
I still can't believe that they don't even check if their "optimized" PNGs are smaller or not
JendaLinda
2023-04-09 06:08:37
In the case of PNGs, saving the disk space/bandwidth was not the goal apparently.
username
2023-04-09 06:08:47
well it probably was
2023-04-09 06:08:54
they just have no clue what they are doing
2023-04-09 06:09:00
and only did the most basic of tests
2023-04-09 06:09:59
they re-encode images in the most basic way
2023-04-09 06:10:42
something akin to taking a image and putting it in a image editor then saving it as the same format but at default or worse then default settingsa
2023-04-09 06:10:46
settings*