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

jxl-art

fab
2021-06-01 10:31:52
are they pronounced splainz?
2021-06-01 10:31:55
splains
2021-06-01 10:32:05
is an english name
2021-06-01 10:32:34
i don't find it in the oxford dictionary
2021-06-01 10:32:39
https://www.oxfordlearnersdictionaries.com/spellcheck/english/?q=spline
veluca
fab splains
2021-06-01 10:33:38
more or less, but that doesn't work if you're speaking english 😛
Ringo
_wb_ they're catmull-rom splines with an arbitrary number of control points, a color that can evolve along its arc length and is described using a 1D dct32 (represented as 32 5-bit coefficients each for X, Y and B), and has a variable thickness that is described using another 32 5-bit dct coefficients.
2021-06-01 10:38:36
ah, that's why the color changes in the example above
_wb_
Scope Are splines planned to be applied automatically during normal encoding in the future, or will they only have to be created manually?
2021-06-01 10:38:45
We don't have an encoder yet that can automatically extract splines, but maybe at some point we can make one (it's not a priority though atm, afaik). It's quite great for fine lines that would be quite expensive to do with DCT.
fab
veluca more or less, but that doesn't work if you're speaking english 😛
2021-06-01 10:39:14
thanks
jjido
2021-06-02 06:45:55
https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-837-computer-graphics-fall-2012/lecture-notes/MIT6_837F12_Lec01.pdf https://en.wikipedia.org/wiki/Non-uniform_rational_B-spline
JXL Art Bot
2021-06-03 03:05:04
**\_wb\_** _“Tropical Sunset”_ 2021 image/jxl 120 bytes https://jxl-art.surma.technology/?zcode=ZVJNT8MwDL3nV%2Fi8KZqTNYNdkGACdkAFbUg9VzS0EWqLugxt%2Fx47TabCTnXs1%2Ffh5MH5yn77BhSKwlVUaMxuxda6uvHU1JnYbd5BidfB2c6X3vUd3IinoWztW38AuUQEqRGFEIsZbJqhb0uYLYT7hA%2B4A0yF4qKmQishYW89SBOGJ%2BploSpkUdBBMqBIH4xo0pkwxP9wRIKOIIVsJA5XZhzPYZkU1zwmmy%2FHi8kzEyI3919nKLsK2v5IQV13iIj%2Fkuz0eUsl097%2F1Pk8ZxHDg7yQOUcwiJfhIxk0dAooBUBS9uTtRImF2IHrnL%2BSD3wrDIQ5Z00bkWNadm5TGnaoUJm4QZy4VVO3eupOj3e3o%2FB929nDdXC%2BlnGb4V3YirnTznVUGXP%2FAWURw%2BsQvw%3D%3D
2021-06-03 03:34:08
**** _“Tropical Sunset (formatted)”_ 2021 image/jxl 120 bytes https://jxl-art.surma.technology/?zcode=jVNNT8MwDL3nV%2Fi8KZqTtgMuSDABO6CCNqScKxraCLVFbYa2f4%2FTD5Z2FeIWP%2BfZz8%2FJvbGp%2FrI5CGTKpHSQGF6zrTZZbgmUIdtt3kCwl9ro0ibWVCVcscc6KfRr1QAPEIFLRMaY%2BYB3uAVkAKsFbPK6KhJYrCjsM4KObZBRILsIgMNeW%2BAR9jHlj5QPh7hFFFeKQC5%2BQUdUl8CZ1dUlfbNd%2By7%2BdaoGckIXiBNd62jMWUIw4fAb7D14PngOnFz7jkup%2FecJkjKFojqQraZsunv%2FEOrceNoSFIxGv%2FvO4mXs9EQeTpdjxWNnXYToJc6UBzpFk0xbR7RC9dFqT%2Bcgsx%2FDlMZezjB0dm3XOOpLtZ3NY6h1zbPa%2BaOTc7XeA4EiGu9L4IwvYt4XyWZnl8NGdrSOqih189cq3CMcP4D2p%2BjUaZm%2BHem%2FHdXtYJYaTpi0qh8%3D
2021-06-03 06:40:24
**\_wb\_** _“Post-Apocalyptic Island”_ 2021 image/jxl 115 bytes https://jxl-art.surma.technology/?zcode=jVNNT8MwDL3nV%2Fi8qVqStYMTEkzADqigDSnnioY2Qk1Rm6Ht3%2BOkLU1D%2BThUiu337Jfn9EaZXL6bEhglQuV44DS%2BJDupitJgksdkv30GRh4bJbXJjKo1XJC7JqvkU91ClFAKEU8oIeoVXuAKKAFYLWBbNnWVwWKFYV9heHRBgQHvIoAIDtK4Pn0CAScL%2BEpYjADmRY6x7gFhw57%2FB5uF8zbJlBHBOuB0EvFuD0fvZmen1UGxdHg7Q6ZzqOojuqV02%2BH%2BoRIT4n6HqXGsHXz9UaTLVMASYi%2BP4FREKaIj3yefcounOKi4PqMVqFeejPTkDmr7qtLKfL%2FKIMBOxyXQid4UP5ZMUoHf1iWZjc16Jxj1aG4BjM64w%2Bbd4WTWAT7sZY9LqSst298WImw8fQbuP5A5iuHBa2Dcf0GW%2BgMzDogb5H0C
Fox Wizard
2021-06-03 06:42:42
That looks poggers <:Poggers:805392625934663710>
Scientia
2021-06-03 06:54:59
You can get some good stuff on this image just by doing some lazy RCT changes https://jxl-art.surma.technology/?zcode=jVNNT8MwDL3nV_i8KZqTtgMuSDABO6CCNqScKxraCLVFbYa2f4_TD5Z2FeIWP-fZz8_JvbGp_rI5CGTKpHSQGF6zrTZZbgmUIdtt3uCKvdRGlzaxpiopeqyTQr9WDfAAEbhEZIyZD3iHW0AGsFrAJq-rIoHFisI-I-jYBhkFsosAOOy1BR5hH1P-SPlwiFtEcaUI5OIXdER1CZxZXV3SN9u17-Jfp2ogJ3SBONG1jsacJQQTDr_B3oPng-fAybXvuJTaf54gKVMoqgPZasqmu_cPoc6Npy1BwWj0u-8sXsZOT-ThdDlWPHbWRYhe4kx5oFM0ybR1RCtUH632dA4y-zFMaezlDENn13aNo75U29k8hlrXPKudPzo5V-s9ECii8b4Ezvgi5n2RbHZ2OWxkR-uoilI3f63CPcLxA2h_ik6dlunbkf7bUd0OZqnhhEmr-gE
2021-06-03 06:55:16
Case in point, RCT 7 instead of the original 1
JXL Art Bot
2021-06-06 07:29:47
**nwoeanhinnogaehr** _“Smokestack Sunset”_ 2021 image/jxl 31 bytes https://jxl-art.surma.technology/?zcode=c8osSUktKMlQMDTgCs9MATOMTLg8UjPTM0og7CDnEAVDEy6uzDSFZAU7BQMuBQUgM6Aotcy1qAgqoKCgq%2BBelJiSmZpXoqBrCBUJB5uSmqJgCNHjp%2BvniqQBLm2ELqBrCAA%3D
2021-06-06 07:52:56
**nwoeanhinnogaehr** _“Abstract Haze”_ 2021 image/jxl 41 bytes https://jxl-art.surma.technology/?zcode=ZY7LCsIwEEX38xX3BwaaINWVUKXWVSkiZF3M2Abqgxj6%2FcakXbkZDvfcGebggpV3GKEUGWd%2FUOgNncUNY8h8OV6hFZ18%2F5Du9QErvUuDyN1xwx4FARE7L3Pt%2FRIAjMb31skzxPqSVPNQTRN03jBsTKyr1ZoVo2u5raPjfCvZ9JRYbP8jLukL
2021-06-06 09:36:24
**nwoeanhinnogaehr** _“Abstract Axis-Aligned Cubism”_ 2021 image/jxl 46 bytes https://jxl-art.surma.technology/?zcode=jU%2FNCsIwDL7nKfIChbVW9CRMGXga4oQ8gI1bYQctdQfZw5t1eihD8JTvJ99HsvfR8T12uAHyTqYujIUj%2B7aLMz4fLgKgeTyZXwzgb3jFHRpAFDjSKESvhSEqbDhikfDk1cmbee4m%2FxR4qEKQna%2BY5FrVVaZN0XJoy75HnYmUzmSHyv5bYH4U6PkdUkQS3X7eIbSQlyoNi7A2S02t4A0%3D
2021-06-06 09:43:32
**nwoeanhinnogaehr** _“From Structure to Chaos”_ 2021 image/jxl 48 bytes https://jxl-art.surma.technology/?zcode=jY7BCsIwEETv%2BxXzA4GkGvEkVCl4CmKFfIBd20APNcQepB9vmuIhFMHTzryZXfboQsND6LAn65o4lSy2dGbXdmHR19MNSlP9fDG%2Fmcg9cMcBOwKinOwUjZLRAQI1Byx6zkzKdPJ5mvKL57HyPna%2BlYSNMFXG5tVybMu%2BR5FBm97kBmLz9wEpf5xQlK9LWnW0XjMR4Qc%3D
nwoeanhinnogaehr
**nwoeanhinnogaehr** _“From Structure to Chaos”_ 2021 image/jxl 48 bytes https://jxl-art.surma.technology/?zcode=jY7BCsIwEETv%2BxXzA4GkGvEkVCl4CmKFfIBd20APNcQepB9vmuIhFMHTzryZXfboQsND6LAn65o4lSy2dGbXdmHR19MNSlP9fDG%2Fmcg9cMcBOwKinOwUjZLRAQI1Byx6zkzKdPJ5mvKL57HyPna%2BlYSNMFXG5tVybMu%2BR5FBm97kBmLz9wEpf5xQlK9LWnW0XjMR4Qc%3D
2021-06-06 09:44:57
aka "Driving on a Rainy Night"
JXL Art Bot
2021-06-07 12:25:16
**nwoeanhinnogaehr** _“Diagonal Inverse Reflection”_ 2021 image/jxl 32 bytes https://jxl-art.surma.technology/?zcode=C89MKclQMDQwMuHySM1MzyiBsIOcQxQMDbmCC0tTU6tSubgy0xRqwmsU7BQMuBQUdBWCU0vALJCwH0wYWQIs5afr5wqXA8k6lqU75uQoGBpZoAvpgsQA
2021-06-07 06:27:09
**nwoeanhinnogaehr** _“Mesh Nebula”_ 2021 image/jxl 40 bytes https://jxl-art.surma.technology/?zcode=C89MKclQMDQwMuHySM1MzyiBsIOcQxSMzLiCC0tTU6tSubgy0xQCilLLXIuKFOwUDLgUFHQVglNLwCygVE14DVQYWQIi5YeQQpUES4frhocjyYPF%2FHT9XFHEQPocy9L9tIHiumYmWMWRhAkZgcMEoMkA
2021-06-07 11:50:45
**nwoeanhinnogaehr** _“The RGB Brick Road”_ 2021 image/jxl 40 bytes https://jxl-art.surma.technology/?zcode=dc7BCoJAEAbg%2BzzFvICgi%2BwxMIg8VeBhz4GTDojVMkmFD99ma2ra7Z%2F5P4YxnEuJUahiSImLUj45u96IngRrlpwuTsSwt0y1HIXPNWoAPuEdV6gA0UftImKAGQmGXXbFw5vRqP04tR4cLDUbax0b1m%2BYNEVSVZOl061pf%2BT8aE93c7qMO2626QIffRJE6n%2F57Yb7fXoB
2021-06-08 12:00:59
**nwoeanhinnogaehr** _“Unfolded Box”_ 2021 image/jxl 46 bytes https://jxl-art.surma.technology/?zcode=fdDfCoIwFAbw%2B%2FMU5wUENenPTWASeVWRwa4DTzoQq7GkwodvW1ulSXffzvfbGYzxXJYY%2BGEEKfGilK%2BcXa5ED4JdsscpLLjM6axcBBvBqZYHyU81TgD4EW84x2AMiDaPQpURPcxILTNZNXenvs5W9rUVW0HNUgjl%2FPdYw7gp4qrqDJVuWduTbml3pun6lw5jw9kqHeD6AjMfRjl6s3%2BtKz8vuPQE
2021-06-08 11:09:03
**jjido** _“Comb”_ 2021 image/jxl 42 bytes https://jxl-art.surma.technology/?zcode=c8osSUktKMlQMOIKLixNTa1K5QpyDlGw5PIvykzNK0ksyczPUzDm4spMU6hQsFMwNOZSUICyjQ2AbAUFXYXg1BIFCBsoUwlThcSHqkRXDVURUJRa5lpUBFSHEAYpdCxLd8zJQREEqq4Jr0FTCTPUCEUMpNQPUyl2xSDR8NTM9IyS1BSg39GdCmMBAA%3D%3D
egasimus | Fadroma | Hack.bg
2021-06-21 04:15:07
SICK
_wb_
egasimus | Fadroma | Hack.bg SICK
2021-06-21 05:03:34
Give it a try yourself 🙂 The online tool makes it relatively easy, just click any of the links above to have a starting point. Or this one: https://jxl-art.surma.technology/?zcode=jZKxDoIwEIb3PsW9AElb2oqLgw7uasJsoEoXY0wHfXsPKGeFimx333%2F%2F%2FUfoYXcCwbbO1%2FbuGxCcMXeBCjZIAbB8YsmxBMig7GBfZUGvSMemxCbTvO%2B7Oeuujbc1jmuCR%2BsxiJOrjdCDJ%2FTCFAEQksYQIpgXKoKfdUJ%2BYRKM4iNhuEjpqYKmF5qUKiZSa9s%2FzrWzN4%2BlTAwEdy55QpyLjcxiLZPygvi5jDT%2F%2Bbn9ePRnk0cI9ndVwHpl2NJDy9FmekHRbPIMemjsDQ%3D%3D
Fightin' Lunchbox
2021-06-22 12:43:43
what's the best browser to use?
190n
2021-06-22 12:46:19
for making art anything recent should work
2021-06-22 12:46:45
for viewing the resulting jxl files, latest chrome or firefox nightly. both need flags to display jxls.
Deleted User
Fightin' Lunchbox what's the best browser to use?
2021-06-22 12:53:37
Firefox. All other browser are either from Google or Apple and both of them are very evil.
Fightin' Lunchbox
2021-06-22 12:54:24
I usually use firefox
JXL Art Bot
2021-06-22 08:55:31
**The Shaman** _“Rule 30 Gone Wrong”_ 2021 image/jxl 72 bytes https://jxl-art.surma.technology/?zcode=hZC9DgIhEIR7nmJegAQweFdZmNiehQW1OTHSnMZQnG8vJ%2F9H1G7nYzK7w%2FFp9GTP1twnCLI39qIf9oaOEHPFCzswArhxCKMXii6aCubRB46O8CABCqXAZaFP2iLavRJSrhKLuIEOh4KkFRnEGFkjt7cgYRP7ldzE5GOdfXZeyXm81EuR4xbQ8f5L0%2FaCpvtYF5%2BrfwxAbPqmd1k72bYFXO%2F6c2Fyxfc3
2021-06-23 12:25:52
**ziemek.z** _“Rule 34”_ 2021 image/jxl 32 bytes https://jxl-art.surma.technology/?zcode=VY6xCoNAEET7%2B4ppI4ieSRdIEUhrkXyB4J63cKicK2fy9dmICaab3Tfw5srS0ige1hh2eOKC0gBFhvscCMcTuoEmeIqE8wFZoVB79dYDcjxItvwBeX1Tltv18Y%2B%2Fl6pWA%2Fcs3AR%2BERLrhAYT951ak2chjLxQQCMQT6C%2BxeDW6DhOgjik35pFjbasKrN37O1v
Deleted User
2021-06-23 12:26:18
Someone had to do this ( ͡° ͜ʖ ͡°)
2021-06-23 12:26:47
*(look at the title)*
JXL Art Bot
2021-06-23 12:57:25
**\_wb\_** _“Obfuscated Compressed Rule 34”_ 2021 image/jxl 27 bytes https://jxl-art.surma.technology/?zcode=c8osSUktKMlQMOTyL8pMzStJLMnMz1Mw4uLKTFOoVLBTMOBSUAAyK6BMBQVdBb9wODM4tQSbCpgwjG3IBQA%3D
nwoeanhinnogaehr
2021-06-23 06:55:30
I seem to have found an image that appears completely differently in the JXL art editor vs if I use djxl on the command line. Not sure what's going on here, maybe integer overflow? Width 837 Height 402 RCT 3 Squeeze - AvgN+NE 40150700
2021-06-23 06:55:44
how it looks in the web editor
2021-06-23 06:55:53
and decoded with djxl
_wb_
2021-06-23 07:34:29
Yep that would be something that produces overflow
2021-06-23 07:34:52
We changed some overflow behavior recently, which is why you see different things
2021-06-23 07:36:58
Technically, such a file is not a valid bitstream - the values are supposed to fit in an int32_t to make a valid bitstream. Jxl_from_tree doesn't check that though
2021-06-23 07:37:55
Previous versions of the decoder would clamp values when overflow happens (saturating to the min/max int32_t can represent)
2021-06-23 07:38:21
Current version just lets things overflow because when overflow happens, it's an invalid bitstream anyway
2021-06-23 07:38:35
(letting them overflow is slightly faster)
nwoeanhinnogaehr
2021-06-23 07:56:56
So in the future, is there a chance that image might fail to decode?
_wb_
2021-06-23 08:01:37
It's technically not a jxl image and decoders can do whatever they want with it
2021-06-23 08:02:44
Show whatever pixels, refuse to decode, explode, whatever
2021-06-23 08:04:10
(for security reasons we try to make sure we don't do the latter)
improver
nwoeanhinnogaehr and decoded with djxl
2021-06-23 08:04:37
this looks really good actually
_wb_
2021-06-23 08:07:00
It's not necessarily going to look the same way in the future
improver
2021-06-23 08:08:29
interesting unpredictable decoder-dependent image
nwoeanhinnogaehr
2021-06-23 08:08:54
nice, thanks for the explanation!
_wb_
2021-06-23 08:10:39
It's basically the same thing as a corrupt png: some viewers might show something glitchy, others might show parts it knows are ok but not the corrupted part, others might just show an error message saying the image is corrupt
retr0id
2021-06-23 08:34:20
Well, now I need to make a file which renders two completely different images based on the decoder...
_wb_
2021-06-23 08:40:33
Strictly speaking, a decoder is allowed to use int16 arithmetic on that specific image, because it is signalled that int16 is fine
2021-06-23 08:41:00
(we are lazy and assume we can signal that bit for bitdepth 8 images)
2021-06-23 08:41:35
So if it would actually do that, then the overflow arithmetic would certainly be different
JXL Art Bot
2021-06-24 10:59:41
**nwoeanhinnogaehr** _“Abstract Forest Fire”_ 2021 image/jxl 41 bytes https://jxl-art.surma.technology/?zcode=C89MKclQMDQwMuHySM1MzyiBsJ0yS1JSC0AyhlxBziEKhiZc%2FkWZqXkliSWZ%2BXkKxlxcmWkKyQp2CgZcCgpAZkBRaplrURFUQEFBVyEcbFpqioKuIbqIIURPOFC1kYGJBaYGkAtAgkBFfrp%2BrnBTUZWZYIqZcgEA
retr0id
spider-mario animated spline (jxl: 9581 bytes)
2021-06-27 10:04:55
can you share the jxl file?
spider-mario
2021-06-27 10:09:03
oh yes, my bad, one moment
2021-06-27 10:09:11
retr0id
2021-06-27 10:11:19
ty
Deleted User
**\_wb\_** _“Obfuscated Compressed Rule 34”_ 2021 image/jxl 27 bytes https://jxl-art.surma.technology/?zcode=c8osSUktKMlQMOTyL8pMzStJLMnMz1Mw4uLKTFOoVLBTMOBSUAAyK6BMBQVdBb9wODM4tQSbCpgwjG3IBQA%3D
2021-06-27 01:10:36
<@!794205442175402004> sorry, but your compressed "rule 34" breaks down when initialized with something else than a single white pixel at the end of the first row... https://jxl-art.surma.technology/?zcode=TY6xDoJAEET7-4qpiQZBaws_QAsK60OWMPFyR45NAL_ekxChezOzmZ0btZFeOxTmESlerTJ4lMawxYwrTgZIOK0IHHF__rESTZxEnoGeSuv4EWgnaBkHRQwjRqb-3qXyGaHF2FEFPSdxwwEWNfVn186-3gheBljfpIoost4uZpZvS8rL7n-x8JqcF7FN26vCfAE
2021-06-27 01:15:47
Real, Genuine Rule 34™️ behaves like this when initialized with the same first row (and is actually *smaller* than yours as a PNG 😉): https://jxl-art.surma.technology/?zcode=fY4xDoJAEEV7TvFbicRdtTOxMLGl0BOADO7EzS5ZxgCe3gUh0cZu5r-fmXdiqagRA50kXGPAESoBNikuT0vY7XH31MJQIBxWSDcRxl4-94AMV5J5HkGWnyPL9BT84mWLr6YP7Fi4sPwiiCHUHFpB8B06jkKNJScDfI3OsBAa7sm2axQoWca4tMXtAe-iXuGqeCIQzd0pXFz76KPV9ltXL7ofptRf2zc
_wb_
2021-06-27 02:32:27
Right. It was overcompressed.
JXL Art Bot
2021-06-27 03:26:59
**jjido** _“Light pool”_ 2021 image/jxl 60 bytes https://jxl-art.surma.technology/?zcode=c8osSUktKMlQMDTgCnIOAVF%2B%2BSU%2BicUlXI45BRmJXFyZaQrJCnYKRlwKCroKwaklQCUGBmCOY1m6Y06Ogq4hWFElUBFIHMisgDKRFBlCueGpmekZJakpIF1oaqEWQTgoapGE4AaBXKILdAoXAA%3D%3D
2021-06-27 03:53:46
**Retr0id** _“Mario Jump”_ 2021 image/jxl 1129 bytes https://jxl-art.surma.technology/?zcode=7Vy9btwwDN7vKdSpQNAilm2dz0v3Dp36BEGRAhmKAm2G9O0bJNadf0SRpn4syc50J9onmfz4kaLo3N%2BJr88f%2F4oH8evxk%2Fj28Ofp9wdxd386Pf0UP8QXUZ2EGD7K149vX%2F69flHy%2Fet1oDt3w4AQn8X3x2dRq%2Fo6Mlx0bvrr0O3OqhkN3oYbNRl%2BE7xMpr79LWec3VQrtRBdhc2lMQj1r1ZGmb5V9kaxbUnThV064AL7%2FNgUkMyixEE0tiRtruHGqXWpmtAL6pRdUeeqYymCokpIujF4qpSgo124kxEQlZlBUnHE5NSmL1AyCFJXOYM6e%2FMGHQRnnKVdZMFUG5Cu%2Ft2qcaGYpbevNRygdZT1SctTbeNq9BydBQ904GNbxAllDCh49QWNCs0ruAdw044sY9wK5GiSXPjoAagDULvaABFj8QGdEPn2QEPjRxiGpgsfBtu2M7FY2%2FV7whEzqwOFLjgaxHPDrEx5IKWUQiHkAOa%2FSuIhn08YOJUn2GgikWpP6RBnI%2BKzJuh%2FfREQiWRMSwh52PWWl04lW9ogg5dpxq3Aqy%2Fo%2BlDPlZoD6ERylsbqYSUPZ4l3%2FJOZt3hCOlfvZXG9Qw5XHWan5K3LMk2GaCCzGfOsqNzTbEdcH1wUBX2wdCmZjtDbemR7idzWM57RX2GydapMmta0sqwtJebg5kkgmZtHmOcidfZAuvDHhbC2EWtaxJsjSNZpIShQgw8LWESqhRVgtVAQTBAjZOuc%2BrUVExbOwMyElTIEjxuhkBtHuISxjpWUP1aK22i1DdrIaSHu%2BNxNCY2a8G4r3PSxSZdck2SzajznRZMgWP02eU7MTT6X8sB0uEOy09KAMSR08F8BoUANYAeycLrBqB6NRgSul5G5PjC%2B97Rvp%2BYsMYCMGNRD9cA5tJvkhWQtSewV02zRS92zcBqyVomlqreof6A5KqCZUpiVnmewmdOZWfmpYAoAkrUnAAXq2Es%2Ff2VtI73W%2B4OsMQY4sfQSL%2B8SymfeEF54wYwPI49QZptzMyiTs0%2BXZ0vQH%2BJ28%2BXvO%2BGPffPzHX%2BwZ%2Bu%2FsDCgjiPekLYP1N63DSTo7KYSYLfEmlpc0X2wUiQIwtKlZDwy6%2FFbdPi9X9vPXpwda8rY2gc09oHGm01DgK4VuEMfozyfVlcxgZUQzwMG1Tb21vMe6sXsa5q6LEgHZ7CC3PLUCLmh1GZVqN1UsHQzYECmjYoMoCsvHlwQRrQ%2Fq80Gvu2NxC87%2BNDUzH67XQ9OaEuVRrLBhQMPoL05bE9fwSM1sgOiQMPYRwd00WUCITTRonms9U0QKBCSuARuoaDZNRozovU%2BF%2B6L4X9YwsF8WyZVakWPenywEuZXrCQvDLUHC7pEaAB9bgdenPFComEkQGA0jD12BmgtdqtKShCC4tJqLcd9sltAXUpzTg822zgtes8MnWfGvjOg66wo50C5kfPKdqCNvTXJ6%2BtTMaxHDOcsYnOiPV5KtSEqzEtlVOfmZaPSUj%2FOP27wEyN9rywo2pD8DC0uKo7LFlkfDBqfPGVvyoVgoyGTmr0xnyYRaBtbt4DGrX25QL97D%2FACYJaas6ZmJLLu5kjP2bJAh1Um5qYes6w%2FpCqs3cAJq3sjkZCoAkSz4evX%2Fw%3D%3D
retr0id
2021-06-27 03:56:52
There's definitely room to optimise the decision tree even further...
2021-06-27 03:57:43
right now its a pretty naive binary tree, with identical branches pruned
improver
2021-06-27 04:46:21
is this one of these where simply cjxl'ing would be more efficient
2021-06-27 04:49:21
yeah
2021-06-27 04:49:33
cjxl ends up w 355 bytes
retr0id
2021-06-27 05:07:37
heh, yeah, this wasn't intended to be efficient at all
Pieter
2021-06-27 06:15:21
I get "Cannot read property 'byteLength' of undefined" when I visit the surma jxl-art site now.
_wb_
2021-06-27 06:24:16
Me too, in chrome
2021-06-27 06:24:23
Mobile chrome that is
2021-06-27 06:24:34
In Firefox it is fine
2021-06-27 06:24:48
Desktop chrome and firefox also fine
spider-mario
2021-06-29 06:17:45
new item in the jxl-art toolbox incoming: https://github.com/libjxl/libjxl/pull/247
_wb_
2021-06-29 07:57:07
https://c.tenor.com/smRKg55yVD0AAAAM/futurama-zoidberg.gif
spider-mario
2021-07-06 12:38:44
FYI `jxl_from_tree` is happy to overwrite its input if called as `jxl_from_tree image.txt image.txt`
2021-07-06 12:39:05
as I just learned
2021-07-06 12:39:07
(no big loss)
Deleted User
spider-mario FYI `jxl_from_tree` is happy to overwrite its input if called as `jxl_from_tree image.txt image.txt`
2021-07-06 01:52:59
Now it shouldn't 😉 https://github.com/libjxl/libjxl/pull/284
diskorduser
2021-07-31 11:10:38
No art?
improver
2021-07-31 11:15:33
needs some spline art
_wb_
2021-08-13 10:03:49
https://smallfile.ca/animal-locomotions/
2021-08-16 06:03:39
From the AV1 discord: It is time for a new "8MB Challenge" however this time we will be testing the limits of AVIF image file format. But to make it more interesting, we will try to fit the image inside a discord text message. And I mean text image, by using base64 you can fit the raw data into a single message which has a limit of 2000 characters. Winner gets picked by voting and receives the "8MB king" role To start things off here are the rules: 1. Image must be in AVIF file format. 2. Image must be Base64. 3. Image must not exceed 2000 characters (this means the image itself must be under 1482 bytes due to base64 encoding) 4. It must have a header inside the message 5. It must open in Chrome or Firefox by copy and pasting the message in search box. 6. It must be submitted before 2021/08/25 Here is a link to one of the encoders: https://github.com/AOMediaCodec/libavif Everything else is up to you, if anyone has questions, send them to DM. May efficiency be on your side (attaching instructions by 190n on how to convert image to Base64)
2021-08-16 06:04:49
I wonder what we can do in 1482 bytes of jxl...
190n
2021-08-16 06:39:23
way more than you can with avif <:kekw:808717074305122316>
_wb_
2021-08-16 08:48:40
<@!228116142185512960> could you update the jxl art tool so we can use splines in it?
2021-08-16 08:48:45
``` Width 1024 Height 1024 RCT 1 Bitdepth 10 /* glowy outline */ Spline 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 20 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -5 0 0 0 50 80 140 120 230 80 200 970 50 850 350 650 650 350 500 500 350 350 650 650 690 650 880 80 770 120 800 650 900 550 EndSpline /* dark copy */ Spline 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 -4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 50 80 140 120 230 80 200 970 50 850 350 650 650 350 500 500 350 350 650 650 690 650 880 80 770 120 800 650 900 550 EndSpline if c > 1 if x > 0 - W 1 - Set -511 if c > 0 if y > 0 - N + 1 - Set -511 if y > 0 /* cellular automaton definition: */ if N > 0 if NW-N > -1 if N-NE > 0 - Set 0 - N 0 if N-NE > 0 - N 0 - Set 0 if NW-N > 0 if N-NE > -1 - NW 0 - Set 0 if N-NE > -1 - Set 0 - NE 0 /* first row initialization */ if x > 511 - Set 300 - Set 0 ```
2021-08-16 08:48:55
2021-08-16 08:49:05
2021-08-16 08:51:36
huge splines like these take ages to paint, but it does seem to work in chrome
2021-08-16 08:51:38
data:image/jxl;base64,/wr6H0GR2GMQAJQCxgFA3RgvlozCBYqxMTZ0iEiYAYCGYZkMBJkGwcp/3kS/xyf8qU06DiZ8hTDhLuEDV1jmuKKpTQwGdcY6GmHc3EAkNvsyiZmtRPC+NjUN+tx7vol+j0/4c/QpHEz4CmHCB37pr7DMcYWYchYM6ox1uD0BuS2yVDZ/SDMDX59LOELmrR546hBS8P1pTRV8f27H+x8z4rEAVqs1a4CCAjAAADckCQcA
spider-mario
2021-08-16 09:16:04
ouch, yeah, it’s slow
2021-08-16 09:16:17
I wonder how much faster we can make it
surma
2021-08-16 09:25:15
<@!794205442175402004> I’ll trade you an update to v0.5 for a PR with updated documentation for splines 😉
veluca
spider-mario I wonder how much faster we can make it
2021-08-16 09:27:25
probably around 100x, we can just pre-draw splines to a separate buffer and then blend them
spider-mario
2021-08-16 09:28:05
why would that make them so much faster?
veluca
2021-08-16 09:28:27
because now we run the spline rendering code once *per line* for all the splines *in a group*
spider-mario
2021-08-16 09:28:40
… oh
surma
2021-08-16 09:30:24
<@!794205442175402004> https://jxl-art.surma.technology/ updated!
veluca
spider-mario … oh
2021-08-16 09:30:59
(might even be every spline *in the image*, which means we render the splines O(# lines * # groups)...)
JXL Art Bot
2021-08-16 09:32:10
**Surma** _“Stolen Piece of Art for Testing Purposes”_ 2021 image/jxl 221 bytes https://jxl-art.surma.technology/?zcode=3VI9b4MwEN39K25OhWKTEKBDh1aROjE0lZgtPhKrFCPqKKW%2Fvj5svqokA5lSLKR353fvnu4ci1QdgFF3TV4zsT8og99e3oGRZ6HSrGrvCVkuYF%2FIUwPyqApRZrBYkl2FiID%2BGNDZR9e2Gu4NGhQcZo2w%2BTY6I7M9eAaQVsajEBhBttbyrhVf9WmXUgh92pM9A1cabzwrogEmLIfi35O6%2FGZSEJoAcRD0vXx%2FsBDQgRKipsbbMrXrxFWnvP6ARFbNf16zs75F4t63DCBySOAJzEB18K0DQ9ezgdheIN5lSr9t1jOTEVOHzShEegQPffGknPyh65eWZEVxLHgN%2FKjkJ1eyhDTLRSmUkOUjPj%2FbJJr2jGIHM87QB5NOtJ146bpPM9EovlQVXVEZ2p%2FTGVlqheKrfi7WnbG9HcaWi%2FpLQS1P0I6KF%2BKH48RGA8N1djvrBFeUTmL6Cw%3D%3D
_wb_
surma <@!794205442175402004> I’ll trade you an update to v0.5 for a PR with updated documentation for splines 😉
2021-08-16 12:53:47
https://github.com/surma/jxl-art/pull/6
improver
2021-08-16 01:01:02
pretty
_wb_
2021-08-16 01:21:42
now we just need it to decode faster, the rendering is very slow when splines are this big
JXL Art Bot
2021-08-16 01:21:48
**\_wb\_** _“Spliny Snake”_ 2021 image/jxl 121 bytes https://jxl-art.surma.technology/?zcode=xdHBCoMwDAbge54i9yEk1epOO2wMdtaBD7B2MzDEQ9%2BfxVqh9OphLYWPNv0hZBQXJjxbgoeXzxQirxKcX%2FSeGWBYvjJ7QF0VIx3YJoaYP2fo35hxrBcm2FJo9ZbYFe6SObNRm%2BS2cJvV7K7VdbItbLOa3Y1aD8B9dmly0N%2BeyCBvfOFFm69w8EFnSStHPOnbDw%3D%3D
_wb_
2021-08-16 01:22:31
it's fun to play with, but the decode speed (especially with the wasm decoder) makes it less fun 🙂
Scope
2021-08-16 01:31:36
Also, Firefox uses multi-threading and decodes much faster (I think as many times faster as there are free threads, because they are fully loaded), so I think it's still worth considering something similar in Chrome's implementation
veluca
2021-08-16 01:32:38
tbh we can do much better than what you can do with any amount of threads by being a bit smarter at decoding time 😛
Scope
2021-08-16 01:33:40
Yes, but it is not only here, similar difference also on all other JXL images
2021-08-16 01:39:09
Like: <https://old.lucaversari.it/hdr/smaller/ClassE_LasVegasStore.ppm.png/orig.jxl> 50-78 ms (Firefox), 480-640 ms (Chrome)
2021-08-16 01:40:26
And this is especially noticeable on big lossless images
veluca
2021-08-16 01:44:51
how did you measure?
2021-08-16 01:45:27
but yes, it's something we should do at some point - as well as a webp mode *in the decoder* that ought to be quite a lot faster
Scope
2021-08-16 01:48:40
My tests may not be entirely accurate, but I notice it even without them, as well as the load of threads It might be worth doing tests of the decoding speed between browsers to make sure that sometimes the difference can be very large (up to the situation that in Chrome it can be below the comfortable viewing of some images)
2021-08-16 01:52:26
I just look at the loading time via devtools
veluca
2021-08-16 01:55:33
great, thanks 😄
Scope
2021-08-16 02:03:27
Or for example this lossless image, the difference is noticeable even without timers
_wb_
2021-08-16 02:40:54
if you want to play with splines: thinner splines (e.g. https://jxl-art.surma.technology/?zcode=C89MKclQMDQwMODySM1MzyhRMAYynTJLUlILQBKGXFzBBTmZealcCkBgoGAExGRDqBkUmQI3gwJTIGbomVHiF6gpwJADYTDbEo1tZIBQA2K75qVAw5JLVyFcQVvBkAsA) render faster than thicker ones, so it can be good to first figure out the control points and then play with the thickness
2021-08-16 02:41:53
(change the sigma to 10 and it takes much longer to paint: https://jxl-art.surma.technology/?zcode=C89MKclQMDQwMODySM1MzyhRMAYynTJLUlILQBKGXFzBBTmZealcCkBgoGAExGRDqBkUmQI3gwJTwGYYGigYUOwZYMCBMJhticY2MkCoAbFd81KgQcmlqxCuoK1gyAUA)
2021-08-20 07:34:18
a colleague of mine played a bit with splines, this is a 187 byte jxl file
2021-08-21 08:07:20
Random idea: shall I make a 'prize role' called "Artist" and do a jxl art compo where people can submit entries and we vote a winner who gets the role?
2021-08-21 10:31:38
Could be a regular contest so over time more than one person can get the role
2021-08-21 11:18:05
Let's say we do a bi-weekly competition, and if there are at least 5 entries, we do a vote and the winner gets the role?
2021-08-21 11:19:19
Made a <@&878598897793114122> role
2021-08-21 11:21:13
August 2021 compo
2021-08-21 11:56:46
10 days to make nice art. Let's go! https://c.tenor.com/FMrNduz4M6wAAAAM/lets-get-this-party-started-woo.gif
JXL Art Bot
2021-08-22 02:03:38
**Jon Sneyers** _“Pink Glow”_ 2021 image/jxl 99 bytes https://jxl-art.surma.technology/?zcode=rZAxDsIwDEV3n%2BLvVZDTNKVdGEAIJgZA6gFIoJFQ1aELt8cJQbC3ieI8f9t%2FMG3D5Pw49dBMdBmfYfAEOQY85yaPcgEPvZCH4pWZadO0jJZtYvnl8Y%2Fb3FNLT5P1UrjOHHX752OyvhbWDNB%2BcHn9ROfdFbqicMcNG%2BgILwEmhZOkMaqkdrHMUe98ePSTd9%2FC4ZgHOhSo%2BDNawAq9AQ%3D%3D
_wb_
2021-08-22 02:07:34
Splines are nice for signing art 😅
2021-08-22 04:17:56
Big splines take insanely long to paint
2021-08-22 04:17:58
https://jxl-art.surma.technology/?zcode=pVO7DoJAEOz3K7Y3lyyP49FYaEysLNSEDxCUSwyhoPHv3T3uYGuAQOaGydzsAI1rpx4TIoJr5z79NOOTm9pu9E8A4DF-3dAB8mEyTJC2n95klwNmc5A9JkkIYhfGbnAx6TwNkVwe14JtmNISpoGvBAeeOcwiLzjyrMkDXwoOPGvRRl6w0hdKXyj_UvmXKk-l8lSRZ01Nq0bZ1GorlSaqOfkyOSdfHHO7tmBp3dWqRgqVrFDtlCq9TKWbihNK-tiaNB5bqEODl6ENnyzA_fzENAH3xhce0YMfAwKDN17K3Xi2YVZMDTb-R-haecG8wgNvDn8
2021-08-22 04:18:06
2021-08-22 04:18:24
2021-08-22 04:20:21
'Rorschach spline'
JXL Art Bot
2021-08-22 08:18:42
**\_wb\_** _“Nested Blue Labia”_ 2021 image/jxl 86 bytes https://jxl-art.surma.technology/?zcode=C89MKclQMDQwMODySM1MzyiBsCMinbi4ggtyMvNSuRSAwIAyCDYDaDAVTLGghiG6hqToUdA1w2GOKdBLQG%2BB2eZAtqkBQtwSyjZGEwepd81LgQYuF1dmmkKygh3QQCCjEszQVfADuhAmYQjkB6eWgMwHy4D44UCSCwA%3D
_wb_
2021-08-22 08:21:34
It could also be called 'Sea shell necklace' if you want a less NSFW title
2021-08-23 08:29:59
splines make it too easy to do curvy stuff
JXL Art Bot
2021-08-23 08:30:11
**\_wb\_** _“The Male Gaze”_ 2021 image/jxl 337 bytes https://jxl-art.surma.technology/?zcode=7Zcxa8MwEIV3%2F4rbjeFOki1rKbRQmqlLBrdz7SaGEDqYQv99JVk1Z2NDih3woGR5Ojkv4vM7X1K1dXcGQsTk0LSncwcCVZm8vT8lyfHr0l6bBOwrk4Br3sEE9%2BNCTucrXYRBkCYPWnr9fK0DOA5wizOXO%2FHwYaC16NChYxhlr5WtK6vnMcYczrpo1EMONeEkhzGGyyZFiNtALugyxPNuFPOdeGwTQNe1GsOpmC6CnsUYm3lxqJAkHKaKX0SC%2F3scDgRdVy8TjA%2FEiYm0HUsitK%2BQoyjahUKMv3BuTSEjqTVOIqkwTpdbT%2BJIlmy8kGELgXfN5G5QbpFJk1teFOAZTrKwO1TwHWIz3DD9dyNK%2Bwk5mvleEisrdrliNsT9Jf9mGt9d6E%2FL7m77CR%2FwAJRkcGw6yHIcahhqrudc7cfXrKis6D0zePw%2BVemrpWlXbuvl4K9ygKHy%2F4CbGlIxrWRi7MS3ZChA6jj8Ag%3D%3D
_wb_
2021-08-23 08:32:04
my most arty and probably controversial/NSFW piece so far
2021-08-23 08:32:18
back to coding now
JXL Art Bot
2021-08-23 02:31:45
**\_wb\_** _“Bright Eyes (the Alien from Uncanny Valley)”_ 2021 image/jxl 175 bytes https://jxl-art.surma.technology/?zcode=7ZOxDoIwEIb3PkVfoORKobSLg4mJOwM6C0oTYxx4%2F3gHJzQOLsWEQRj4KMef46PXhHbopQYAcezCrR8mPp33Qoj6eQ%2BPTkg8FGRaQso5xlQbydCEyiam5ACyKCY2xGbigrgCcXi0rPBv8nuKZWNjV5FJx4YXk7FKWKP%2FYoWQfI1OVE6t6FSVpgTSOXKJ%2Bqxjxbz%2BQ5UbyVCGPGYmtRXc2h7KeaJ9uUy3g%2FfuB7qfZXOJj5ZtVG6jGOeXeLzSOwt7rrFYw%2F%2FP4ybzltl%2B5PC4%2BAoZ25bxXw5XeZE7%2FCgGLZSsu4HmjMmN1OAT8QI%3D
nathanielcwm
2021-08-23 02:34:37
<:monkaMega:809252622900789269>
_wb_
2021-08-23 03:02:56
That's a scarily uncanny mouth spline, right?
2021-08-23 03:07:41
Nobody inspired to make some jxl art for the competition?
2021-08-23 03:08:49
I am not participating, the above are not competition entries
Fox Wizard
2021-08-23 03:18:38
I have no idea how jxl works, but that just looks cursed af <:monkachrist:853502717582508062>
NeRd
2021-08-23 04:20:30
I'd submit an entry but I feel like I don't understand the tools enough to make anything good
2021-08-23 04:20:55
If no one else submits anything, does that mean I'd win by default at least?
2021-08-23 05:12:46
Is the bot down?
2021-08-23 05:13:24
I tried using the website to publish a piece, but it doesn't seem to work right now.
_wb_
2021-08-23 05:18:35
What happens if you publish?
2021-08-23 05:18:48
Did you enter "discord" in the spam prevention box?
NeRd
_wb_ Did you enter "discord" in the spam prevention box?
2021-08-23 05:19:54
I did, it just didn't do anything after hitting the submit button.
JXL Art Bot
2021-08-23 05:21:28
**\_wb\_** _“Test Art”_ 2021 image/jxl 40 bytes https://jxl-art.surma.technology/?zcode=C89MKclQMDQwMuHySM1MzyiBsJ0yS1JSC0AyhlxBziEKhiZc%2FkWZqXkliSWZ%2BXkKxlxcmWkKyQp2CgZcCgpAZkBRaplrURFUQEFBVyEcbFpqioKuIbqIIURPOFC1kYGJBaYGiBlAJX66fq5wM1EVmWCKmXIBAA%3D%3D
NeRd
2021-08-23 05:22:22
Huh, maybe I wasn't doing something right?
_wb_
2021-08-23 05:22:39
Maybe. Bot isn't down at least.
2021-08-23 05:23:01
You can also just share the link and/or upload a jxl+png
NeRd
2021-08-23 05:23:06
Should "Discord" have a lowercase or uppercase "D"?
_wb_
2021-08-23 05:23:21
I do lowercase
2021-08-23 05:23:37
Dunno if it is case-sensitive
NeRd
2021-08-23 05:23:46
I ended up just copy-pasting the text + a png into the comp thread
2021-08-23 05:23:54
I'll try lowercase
_wb_
2021-08-23 05:25:17
Squeeze is notoriously tricky to make art with
NeRd
2021-08-23 05:26:05
It's very fun though, you never know what it's going to do haha
_wb_
2021-08-23 05:26:44
Splines are very simple in comparison, though they still give unexpected results due to interactions between sigma, color addition, and clamping behavior
NeRd
2021-08-23 05:27:09
I should try to figure out splines, they seem really interesting
_wb_
2021-08-23 05:29:35
Probably some of the images I made are probably more numerical artifacts of the decoder than actual well defined images, some pixels get such wildly out of gamut non-physical colors that I dunno if the math still works or if it becomes a matter of float arithmetic weirdness
2021-08-23 05:32:05
Splines are crazy slow atm, there are some perf bugs in the decoder (since besides art, the jxl encoder doesn't produce splines yet so performance of spline decoding has not really been a priority)
nathanielcwm
2021-08-23 06:06:02
sucks that montec's base64 challenge disallows jxl sadge
Scope
2021-08-23 06:17:22
Yep, but this is not the last challenge, there will be others in the future and we also need to wait for the enabling JXL in browsers (and it's sad that it takes so long for FF to review patches for JXL)
spider-mario
_wb_ Splines are crazy slow atm, there are some perf bugs in the decoder (since besides art, the jxl encoder doesn't produce splines yet so performance of spline decoding has not really been a priority)
2021-08-23 06:20:14
the fact that our encoder doesn’t produce splines also means that they were not tested often (until we added them to `jxl_from_tree`), so speaking for myself, it took me a long time to even become aware of the performance regression
_wb_
2021-08-23 06:25:29
Yes, that's the problem with coding tools the encoder doesn't use (yet), and it's a reason why jxl art is actually useful 😄
Deleted User
Scope Yep, but this is not the last challenge, there will be others in the future and we also need to wait for the enabling JXL in browsers (and it's sad that it takes so long for FF to review patches for JXL)
2021-08-23 06:53:16
> and it's sad that it takes so long for FF to review patches for JXL They're probably busy with AVIF. *Finally.*
JXL Art Bot
2021-08-23 06:57:55
**Anonymous** _“Unnamed pieceq”_ 2021 image/jxl 65 bytes https://jxl-art.surma.technology/?zcode=c8osSUktKMlQMDTgCnIOAVF%2B%2BSU%2BicUlXI45BRmJXFyZaQrJCnYKhpZcCgq6CsGpJQqGhmCmY1m6Y06Ogq4hWE0lSI0RUALIrgCxTUyBHCR15lBueGpmekZJagpII1y1EVgS2So0xYZGCDEFQ6hRIMfoGhoYGXEBAA%3D%3D
veluca
2021-08-23 07:06:21
looks like somebody took a picture out of the window on a very sunny day xD
Scope
2021-08-23 07:12:32
Or a display at night
_wb_
2021-08-23 07:13:42
The black is actually transparent
2021-08-23 07:14:10
2021-08-23 07:14:31
Did someone on the discord make that?
fab
2021-08-23 07:14:40
me
_wb_
2021-08-23 07:15:17
I like it
2021-08-23 07:15:44
Minimalistic
2021-08-23 08:08:04
``` #!/bin/bash for i in $(seq 0 1 31) do echo Spline echo 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 echo 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 echo 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 yes 0 | head -n $i echo 2 yes 0 | head -n $((31 - i)) echo "10 $((32 * i + 15))" echo "1012 $((32 * i + 15))" echo EndSpline done > splinedemotree echo "- Set 127" >> splinedemotree ../build/tools/jxl_from_tree splinedemotree splinedemotree.jxl ```
2021-08-23 08:08:21
2021-08-23 08:09:58
from top to bottom, these 32 splines have all sigma (thickness) coefficients set to zero except for one
2021-08-23 08:10:23
so it starts with the DC of the 1D DCT-32
veluca
2021-08-23 08:10:24
that's trippy...
_wb_
2021-08-23 08:10:37
then goes up to higher and higher frequency
veluca
2021-08-23 08:11:05
ah, that would be negative thickness, right?
2021-08-23 08:11:30
(the black parts)
_wb_
2021-08-23 08:11:46
yep
2021-08-23 08:13:03
the color of the spline is (3.0, 2.0, 1.0) so very very red, very green, and 'only' maximum blue
2021-08-23 08:13:18
and the negative version of that
2021-08-23 08:14:01
2021-08-23 08:14:23
if you bump up the coefficient to 10, you get this
veluca
2021-08-23 08:15:16
nice
2021-08-23 08:15:23
I assume it decodes in like half a year or so?
_wb_
2021-08-23 08:15:33
it's not that bad
2021-08-23 08:16:06
i dunno what exactly the current complexity is, but it seems to be related to the size of the bounding box of the spline or something
veluca
2021-08-23 08:16:16
yeah
2021-08-23 08:16:31
it's something like that * number of rows in the image
2021-08-23 08:16:51
which is so bad I can't even begin to describe it xD
_wb_
2021-08-23 08:17:12
these horizontal-line-only splines are slow but considering there's 32 of them, it's kind of ok compared to how slow a single spline can be that covers the whole image
2021-08-23 08:18:46
it's a nice art tool, especially I can imagine cool animations could be written by making a script that does one spline per frame with parametrized changes to everything
2021-08-23 08:19:04
but if we want to show _that_ in a browser, we'll need faster spline decoding, lol
2021-08-23 08:20:07
I can imagine something about splines is inherently not so cheap to render, but I can also imagine it can be sped up hugely
veluca
2021-08-23 08:21:35
100x is not out of the question
2021-08-23 08:21:41
1000x likely isn't, either
JXL Art Bot
2021-08-23 09:22:29
**\_wb\_** _“Romantically Glowing Necklace”_ 2021 image/jxl 103 bytes https://jxl-art.surma.technology/?zcode=rZFBCsIwEEX3OcVcIDCTWGM3LpSAqyIq9AAm2kAppRTPb5LGWu2yTTaflz%2BPwJTO9BUQig07Wfes%2BiEfXG9sG16IXY43oC27trVrLAN%2FuARccqNkt4JD4AoSWqLglCVNRgQSh6x8ppTzwBWNXOG3n6csJ5wmfTnxfPy6MWkV7gF32EOo%2Bnju7Et3nQdDn0MZF2qN%2F%2BQ%2FSTNlGEecD8hIfKPghR6Vvx0xZ4K9AQ%3D%3D
_wb_
2021-08-24 11:38:48
``` #!/bin/bash n=12 for i in $(seq 0 1 $((n - 1))) do echo Spline f=$(echo "$i / $n"|bc -l) g=$(echo "s(3.14159 * $i / $n)"|bc -l) h=$(echo "$g * 100" | bc -l | cut -b 1-2) echo 3 $g 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 echo $g 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 echo 1 $g 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 echo "$g $h" >/dev/stderr echo "$(echo "1.2 + $g * 3"|bc -l) 0 -$g 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0" echo "10 $((5 + h/8))" echo "$((60 + h/7)) 15" echo "70 $((250 - h/4))" echo "10 $((225 - h/5))" echo "100 170" echo "180 $((100 - h/3))" echo "140 $((135 - h/6))" echo "100 $((100 - h/3))" echo "180 170" echo "220 20" echo "190 30" echo "230 170" echo "240 $((140 + h/2))" echo EndSpline if [[ $i -lt $((n-1)) ]] then echo NotLast fi echo Width 256 echo Height 256 echo Duration 100 echo Animation echo "if c > 0" echo "- Set $((80-h/2))" echo "if y > 0" echo "- N 1 - Set 0" done > demotree ```
2021-08-24 11:38:56
2021-08-24 11:47:52
http://jpegxl.info/animation-test.html
NeRd
2021-08-24 12:47:04
TIL that Google Chrome supports Base64 encoded JPEG-XL favicons
2021-08-24 12:48:04
Also, that animation is really neat! I hadn't even noticed that the art tool supported animations.
Deleted User
_wb_ http://jpegxl.info/animation-test.html
2021-08-24 01:07:58
Why not https? ;)
_wb_
2021-08-24 01:08:24
https://jpegxl.info/animation-test.html
JXL Art Bot
2021-08-25 01:36:37
**ziemek.z** _“Checkerboard chroma subsampling test, part 1: Chrome”_ 2021 image/jxl 29 bytes https://jxl-art.surma.technology/?zcode=c8osSUktKMlQMOTiykxTSFawUzDgUlDQVQhOLQGzgIIVUEEwpxLOAanyC4dzgHLhSHLIZiDzDXEY5IrEAesDAA%3D%3D
2021-08-25 01:38:56
**ziemek.z** _“Checkerboard chroma subsampling test, part 2: Firefox”_ 2021 image/jxl 29 bytes https://jxl-art.surma.technology/?zcode=c8osSUktKMlQMOTiykxTSFawUzDgUlDQVQhOLQGzgIIVUEEwpxLOAanyC4dzgHLhSHLIZiDzDXEY5IrEAesDAA%3D%3D
Deleted User
2021-08-25 01:40:55
PSA: use Firefox over Chrome for <:JXL:805850130203934781>-art whenever you can. Apparently Firefox on default quality settings in its built-in JPEG encoder (`HTMLCanvasElement.toBlob()`) doesn't set chroma subsampling, but Chrome does, thus damaging the colors sometimes.
2021-08-25 01:51:37
According to MDN (https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob): > If this argument is anything else, the default values 0.92 and 0.80 are used for `image/jpeg` and `image/webp` respectively. <@!228116142185512960> didn't set any particular JPEG quality: https://github.com/surma/jxl-art/blob/a68d85446d/src/publish.js#L62 https://github.com/surma/jxl-art/blob/a68d85446d/src/utils.js#L38 so we're safe to assume that default quality (0.92) was used. That quality means that Firefox doesn't use chroma subsampling and Chrome does, because due to observations (https://github.com/whatwg/html/issues/5395#issuecomment-604710551): > Firefox turns off subsampling at 90% quality and above > Chrome & Safari turn off subsampling ONLY at 100% quality
2021-08-25 01:57:11
In order not to let chroma subsampling damage colors and at the same time still use built-in browser JPEG engine (in order to remain free of any other dependencies) we could probably change the quality based on the browser agent in order to keep chroma subsampling from engaging. Unfortunately in Chrome it disables only at 1.00 quality, which means **big** file sizes (Firefox – yellow, Chrome – blue; see how it **balloons** at 1.00). Do we *really* want that? https://user-images.githubusercontent.com/1538624/77709184-a2807700-6fa0-11ea-92fc-dc3c1bcf8357.png
monad
2021-08-25 02:53:31
Meh, need the jxl anyway for the real thing.
Deleted User
2021-08-25 03:28:16
I'm talking about Discord previews.
_wb_
2021-08-25 03:55:40
I would just download and share the png if 420 is too destructive
monad
I'm talking about Discord previews.
2021-08-25 07:16:45
Yes, I understand. I think preview accuracy isn't such a concern when the jxl is available.
surma
2021-08-25 09:08:55
Yeah, I am very aware the preview image are low quality. That was kinda on-purpose to be mindful of the user’s data volume (2k by 2k PNGs are way too large).
Deleted User
surma Yeah, I am very aware the preview image are low quality. That was kinda on-purpose to be mindful of the user’s data volume (2k by 2k PNGs are way too large).
2021-08-25 12:05:43
Is there any way to generate both JPEG and PNG and check which one is smaller?
surma
2021-08-25 05:05:45
No way PNG is smaller 😄
2021-08-25 05:08:05
Or at least: not worth the memory pressure, battery drain and additional code complexity for the very rare cases in which it might be
2021-08-25 05:08:27
Its a preview image.
_wb_
2021-08-25 05:14:55
It depends on the image which is smaller, something with lots of repetitive high frequency stuff like a sierpinski will be smaller as png than as jpeg
2021-08-25 05:15:13
They will all be smallest as jxl though 😄
Scope
2021-08-25 05:16:40
I think it would be better to have a switch between Jpeg and PNG for the user to choose
Deleted User
Scope I think it would be better to have a switch between Jpeg and PNG for the user to choose
2021-08-25 06:07:44
No way it won't be abused and always set to PNG for highest quality possible
_wb_ It depends on the image which is smaller, something with lots of repetitive high frequency stuff like a sierpinski will be smaller as png than as jpeg
2021-08-25 06:24:01
Exactly. I loaded the checkerboard image that I used above into Squoosh. In Chrome "Browser JPEG" was 187 kB and "Browser PNG" was 26.4 kB. In Firefox "Browser JPEG" was 1.23 MB and "Browser PNG" was 9.08 kB.
Scope
2021-08-25 06:29:40
I don't see a problem with PNG, the main decision to add Jpeg by default was that the preview is created on the user side who may have a limited bandwidth plan or slow internet And Discord creates its own previews and it won't hurt discord users
Deleted User
Scope I don't see a problem with PNG, the main decision to add Jpeg by default was that the preview is created on the user side who may have a limited bandwidth plan or slow internet And Discord creates its own previews and it won't hurt discord users
2021-08-25 07:48:53
For *some* images PNG will be both smaller and higher quality. Both "browser JPEG" and "browser PNG" are easy to generate, so it should be easy to generate both and pick smaller one.
monad
2021-08-26 10:14:24
Total size of 24 encoded JXL arts sourced from jpegxl.info ``` Bytes Encoder 5327 JXL source 7086251 JPG Chrome 12054450 JPG Firefox 23072095 PNG Chrome 33279805 PNG Firefox``` Size of *Maze* (the sole exceptional case) ``` Bytes Encoder 42 JXL source 336235 PNG Firefox 340220 PNG Chrome 367389 JPG Chrome 698807 JPG Firefox```
2021-08-26 10:22:31
Possibly, the selection is biased and not really representative of what's posted to Discord.
_wb_
2021-08-26 10:23:22
There are quite a lot of 'natural' looking jxl arts on that site, where jpg probably works well
2021-08-26 10:24:22
Still, about 3x difference between jpg and png is not as much as what you typically get between lossy and lossless
2021-08-26 10:24:54
(usually it's more like 10x)
monad
2021-08-26 10:48:23
Okay, well I didn't want to have to download the alien with a mouth-crotch and eye-nipples just for this test, but maybe later.
w
2021-08-26 12:50:55
jpeg xl architecture
2021-08-26 12:50:59
_wb_
2021-08-26 12:56:35
🤯
2021-08-26 12:57:08
Did you make an svg to splines thing?
w
2021-08-26 12:57:16
i attempted to
_wb_
2021-08-26 12:58:10
Well there's obviously room for improvement, but this looks promising
w
2021-08-26 01:01:11
the whole bezier curves is annoying
_wb_
2021-08-26 01:01:12
It's interesting what you get for rounded rectangles and ellipses, I didn't know they were drawn that way
2021-08-26 01:02:34
Text isn't quite readable yet but there is something there
w
2021-08-26 01:03:13
im thinking series of connected bezier curves can probably be combined into a single natural spline, of which points for the catmull-rom spline can be made
2021-08-26 01:03:19
that's a lot of effort tho
2021-08-26 01:05:01
it's what the text is mostly made of
2021-08-26 01:05:12
and i had to chop out 50% of them because otherwise jxl_from_tree segfaults
_wb_
2021-08-26 01:05:29
Would be cool if we could replace the svg diagram with a spline jxl one
w
2021-08-26 01:08:58
<@604964375924834314> take a look at this!
veluca
w and i had to chop out 50% of them because otherwise jxl_from_tree segfaults
2021-08-26 02:35:11
that's bad and it should not happen xD
2021-08-26 02:35:51
can you make a WIP PR so we can try to repro?
2021-08-26 02:36:17
(or just give us the input to jxl_from_tree that segfaults)
w
2021-08-26 02:37:28
2021-08-26 02:38:44
i wouldnt think it matters since it's just stupidly big
veluca
2021-08-26 02:39:35
eh, it's a stack size problem
2021-08-26 02:39:44
it works with `ulimit -s unlimited`
2021-08-26 02:40:11
we should probably not make the parser use so much stack...
w
2021-08-26 02:40:23
wow that works
2021-08-26 02:42:10
this many splines takes a lot of time to decode
2021-08-26 02:49:49
2021-08-26 02:49:52
_wb_
2021-08-26 03:56:42
the letters look like a leonardo da vinci style thing
2021-08-26 03:58:18
any idea where the spurious lines are coming from?
w
2021-08-26 04:02:02
a quick guess is that there's some parameter to take only part of the bezier curve in svg
2021-08-26 04:02:39
it doesn't translate well to the cubic spline as you can even see from all the ellipses
2021-08-26 04:06:25
Something else has to be done entirely, like just generating some arbitrary new spline that fits the curve
2021-08-26 04:07:27
I may explore this more since I find it quite interesting... and I have the time now
veluca
2021-08-26 04:29:24
you could do some function optimization of parameters 😛
2021-08-26 04:30:03
if you're writing python - scipy.optimize is pretty magic
Deleted User
w I may explore this more since I find it quite interesting... and I have the time now
2021-08-26 07:20:49
I guess there are literature about BEZIER -> spline (the ones of JXL) correct onvertion 🙂
_wb_
2021-08-26 07:26:09
https://link.springer.com/article/10.1007/s42979-021-00770-x
Deleted User
2021-08-26 07:41:13
what is the added value to have spline in the format JXL ??? I don't see the point and also the use of it could be quite complex to have same behavior from all encoders/decoders that will pop up in the market, no ?
_wb_
2021-08-26 08:03:16
Behavior should be fully specced
2021-08-26 08:09:08
The point is that dct doesn't work well for thin lines. But making an encoder that detects and uses splines effective has not been done yet. I see it mostly as a future proofing thing.
w
2021-08-26 11:39:15
I used this article to convert the curves and that was the result
2021-08-26 11:42:37
and I made sure to test my correctness on its own tests at the bottom of the article
NeRd
2021-08-27 02:42:26
That looks really nice!
w
2021-08-27 02:53:06
oh i can use the publish button
JXL Art Bot
2021-08-27 02:53:12
**Anonymous** _“Unnamed piece”_ 2021 image/jxl 432 bytes https://jxl-art.surma.technology/?zcode=7Zi7bt5GEIV7PgX7QMbObS%2BtgQDpXeQFJMQCAsOF3h85cyFppwrhIg0hQN%2B%2Fh8sVdOaf2dn98%2F314%2BverW1%2FvL3%2F9fUjPn5%2B%2F3h9%2Bw59bl%2B%2B%2F%2F3%2B7W17aZ90NJuTxXgp0Ri2t1%2F52V7mp%2Fb%2FL4H%2FS35xCaEWrgnN3Yi237%2B9lmuPef%2FBvAHT9DQv2EbqzXUDXZdd1wqzdeF5G6CBUmxFCvJaP%2BnUCesvkIs%2Bnpc%2BMa%2FPJ3h3lqABk%2FtlXrKDCEK3opROxXrPMH9McIAIpvUfxh20U2fbRWTjDmhCDtHWju%2FKE7c7S9iAZ%2FOwDhkg1DckBpJt6wLI1hXgrcNkaoE2Ez2hCUvIIYrtjPcCskm%2FRrwR887yFMh7OcYNprXTPGIt9uKo5ysptDMjJwXzGTkmAiK3BO%2Bx%2FWusl2600zyI58bF1Jmwvj0F8tYSjF2M7TKPPYgogDAcJHAmPWiuezB8nieOvyf%2BPid11bjVeF56030kJp42S6SIbCfk8BO4O4Ez2wkV7zCPUSuDKJaENoVRJpNWrHkd8xpMHw0cIOajSCZ7UU9d8EVo8RstDjKbzs%2BhjxWzntDd6SjRRBA2pMM8mRkKmRShkSkRKpkZOpmjuJKL8vmqeYuLmu%2BXrto9vVQj2Xw0LxHdquflE7gbSyih%2BGk%2FzQui%2BIWOYqjUoziqF1MUS41iSqAVZ%2BpeTH2eYOc0rOM7IbrKU8fRwHc0XTN2uBz3Uzf%2FO%2Fxk3b2WMkyT0zzznQ9tBs5Y0YaYBw1tiTFFm2IsxWxnrNoZ8yAGR3H9pHfKXrL7lyKYneah28w%2B9AneneDNHj38YV6yF2eSal6YPOKQADfjzGBzxRHCFsWJwlYrcjH1Xme2jqBf1FPXIXHee4J3p2zCCj8sH%2Bbp4DhEK1oMP2TDuDh0J1Em%2B4pDedJK78Vj%2FiiuS0eQ%2FaYk6eP5wxj7ouVNyxO8O82K%2BfVVP80TrWstrWstresuGXn9JXUdhlNcXI9hb4vrMqc3L8FW5EvXuqN0qq%2BzrrFdd5hX8F72L28f%2B2%2B%2B8%2F4D
_wb_
2021-08-27 05:12:25
3 days left to submit entries in the compo thread!
nwoeanhinnogaehr
2021-08-27 05:29:47
I will submit something soon :)
Deleted User
2021-08-27 09:12:56
"Bozo (spray paint)" 226 Bytes https://jxl-art.surma.technology/?zcode=7Zc9b4MwEIZ3_4rbkaUz9pmwVGqkqpm6ZKCdC02QoigDqtR_3_MHVZJ2aIT5GIKHM3foBR69Z0PV1t0eFCKKTdPu9l2Yr9uubk6uosTr21qI7enQHhsBfOCw8YcG33JGFTX0hbwK8d1phcLHgpNPxzpCSw9P5rQQlTTwTEGgFQpTIGi2353dDcbT6NmRpmt243btbYMSaihKAU67TsXQsYpQFPHc1ZZCUdKYIsM59swse9kyQ4MhnvMVsxEtJtZQJoUvHVPmKFYcNbMsOeY07qL4e9gZNNL1teOXx6iiD2cwIE2skcaAfRO7yOYTbEIo6Q7w3wD71dBGgNZOAtDQEkR0mi9CS_wo4avGXKJrP-AdHkAJCdum490Nf3IYczmG3JfP8aTiSen3dgmPn7sqewGp-cyVnjf-KnC1yv8DNTVk-XVG5pdK5yUdE5CFHe8b
2021-08-27 10:39:04
"Bozo (X-ray)" 264 bytes https://jxl-art.surma.technology/?zcode=7ZbPasMwDMbvfgq9QIb8R05y2aEQ2KkMdsh2XrI1MEoJYc8_2QkjWemKG2300Pgg41gf1o9PieuuGXagEVE9tN37bhjnm25o2kN4o9Xzy0bx83T46PatAn5wMTgBEsefqVymodeKRBXiCqhAFWOOqto3E7Mlu8zQ6hNLqVwLO5cTWI3K5QgWb-ySfGcxsiNLv7G7K0DgyHg1Ih7BuHX0YqeasWMNnXZdeCtgFxGRtdisWL86JkZmjDNyp38U85F5gapFRBLa1Umgy9lsjtu04GgZXXnWfJcWfqZ4EZFEgiRB0E4EzRTD1YEw2YQZCVQvIvL_JmRs4Nl0IZb8BWQjQkk3hAkIvR4R-gmh98cIuzd4hXvQnMDTOkzD7TqkZ1DH-3bbQGbjCu_YZtuKN407lnvM8ZoJ-o99-1n1_XfWPEf_XAkLSn0B
2021-08-27 10:45:12
"Bozo (Metal and Vinyl)" 275 bytes https://jxl-art.surma.technology/?zcode=7ZZNS8NAEIbv-yvmHlZmP2aTXgoWxJ689BA9m9gGpPQQBP-9k80iiVJLmlErmD3MdqZ9m3l4Z5OyqdodGERU67rZ7tp-v2raqj50FaPuH1aKr83hudnXCvjC0eIfwMT1bSrnaZi5IlGFuAMqUMWYo7rZV4nZmJ22NPuOpVQuhZ3PCZxB5XMEh__sJvnOYWRHjr5id1WAwC3jxYgEAuvn0YuTavuJtXTcdV1VwC4iInOxObF59UyMbB8H5I4_KIZLB4GuRUQmjKuXQJez2TyPacHRMbrFSfOd2_iJ5kVEJhIkCYIuEbQpdq8OhJNNqEmgexGRnzchY-MDlJ-3HBd8ArIRYUG_g_BvEgymJxgSwRA-E1SqeYJHWIJRGjZ1y7zwPYcpxy6OudeY403JGz4U-F80XL9sy-wOtONPXel2Hb8FXa2M7-t1BZn9mNF2rDQsuZSALA6NegM
_wb_
2021-08-28 07:54:24
Don't forget to add submissions to the compo thread, it only counts as a submission if it's (also) there
Deleted User
_wb_ Don't forget to add submissions to the compo thread, it only counts as a submission if it's (also) there
2021-08-28 08:14:19
Can you explain again how to "add submissions to the compa thread" ? (is it in discord?)
2021-08-28 08:29:50
https://discord.com/channels/794206087879852103/878599623843913728/878599625169305630
2021-08-28 08:29:54
try using this link
_wb_
2021-08-28 10:33:39
There's a button in the top right to go to threads of a channel
Deleted User
2021-08-28 06:43:07
Hello, for the spline, the DCT is this one: https://en.wikipedia.org/wiki/Discrete_cosine_transform#DCT-II ? (I mean the exact basic formula in wikipedia?)
veluca
2021-08-28 06:54:16
well, it's a continuous-DCT (which kinda makes little sense :P)
2021-08-28 06:54:49
I think of it more as a superposition of 32 (co)sinusoidal functions with some frequencies
Deleted User
veluca I think of it more as a superposition of 32 (co)sinusoidal functions with some frequencies
2021-08-28 06:55:20
yes sure ! but how to find the coefficients 🙂
veluca
2021-08-28 06:55:37
https://github.com/libjxl/libjxl/blob/main/lib/jxl/splines.cc#L32
2021-08-28 06:56:51
the formula is, in position t along the spline (I think - <@!604964375924834314>) sum of `coeff_i cos(pi * i/32 * (t+1/2))`
_wb_
2021-08-28 07:18:23
Where t goes from 0 to 1?
_wb_
2021-08-28 07:21:06
Here's one spline for every coeff
veluca
_wb_ Where t goes from 0 to 1?
2021-08-28 08:35:50
I don't actually know xD
Deleted User
2021-08-28 09:13:07
I still ivestigat this spline / DCT
2021-08-28 09:14:06
https://jxl-art.surma.technology/?zcode=4wouyMnMS-VSAAJDAwMFiuAgNAVIUGYMlynIJWAS6CYDLte8FGiQcXHpKgSnligYGplzAQA why line is not white, by default it is RGB no ???
_wb_
2021-08-28 09:17:23
Good question
2021-08-28 09:17:37
100 is 100 times brighter than white
2021-08-28 09:19:03
I dunno why the result is cyan, but I guess it has something to do with different scaling factors getting used for the different channels? <@604964375924834314> do you know what's going on here?
spider-mario
2021-08-28 09:20:38
yes, likely: https://jxl-art.surma.technology/?zcode=Cy7IycxLDSxNzCvJrEosyczPc0zJKi0uyU3NK1EwMuDiCgYr4FIAAkMDAwWK4CA0BUhQZgyXKcglYBLoJgMu17wUaJBxcekqBKeWKBgamXMBAA
2021-08-28 09:21:05
(wait, which way does this adjust it again? it’s smaller now)
2021-08-28 09:48:16
ideally, I guess we would use a color correlation map of 0 when doing RGB, but from what I understand, we don’t signal the cmap in modular images, and so the decoder uses the default cmap which is _not_ 0
2021-08-28 09:48:39
and tuned for XYB instead
2021-08-28 09:49:02
when I tried making `jxl_from_tree` use a 0 cmap if ¬XYB, it did not go well
_wb_
2021-08-28 10:07:12
Yes, iirc the cmap is not signalled in modular mode
Pieter
2021-08-29 02:00:34
<@794205442175402004> BTW, you can just link to threads too: <#878599623843913728>
_wb_
2021-08-29 06:22:42
Tomorrow is the final day to submit entries to the August 2021 compo!
w
2021-08-29 04:18:37
here's a super basic spline editor <https://grass.moe/catmull-rom/> source is in the page itself
veluca
2021-08-29 04:25:03
I made a PR to speed up splines somewhat
2021-08-29 04:26:19
I mean, about 10x on some of the examples here
2021-08-29 04:26:53
I don't know if it could be improved - I wrote a big integral on my whiteboard that should be what splines are computing, but solving it doesn't seem exactly obvious xD
w
2021-08-29 04:27:43
what's the speed difference on this?
veluca
2021-08-29 04:33:17
... I'm still decoding it with main...
2021-08-29 04:35:38
so the new one decodes 0.65 MP/s
2021-08-29 04:35:45
when the old one is done I'll let you know xD
w
2021-08-29 04:35:51
nice
veluca
2021-08-29 04:36:24
ohhhhh reeeally cool 😄
2021-08-29 04:36:36
2021-08-29 04:37:50
can you do something for the text that is just an outline?
w
2021-08-29 04:38:29
hmm it's really up to the svg since there's no way to distinguish it from a shape
2021-08-29 04:38:47
like in the svg, the fill of text is the same as the rectangles
2021-08-29 04:39:00
i did think of a way to optimize the sampling of curves but i spent all day playing video games
2021-08-29 04:39:58
and sampling turned out to be much more reliable in a 2d discrete space
veluca
2021-08-29 04:40:18
ok, I realized I can significantly speed up things still on that image
2021-08-29 04:40:29
I'll try that out later or tomorrow 😄
2021-08-29 04:40:49
oh, it's done! it's about 30x faster with the new code
w
2021-08-29 04:41:20
also, is it intended behaviour that it fails to decode if there are 2 points that occupy the same pixel rounded?
2021-08-29 04:41:31
like making the jxl from the tree succeeds but decoding fails
veluca
2021-08-29 04:42:27
yes
spider-mario
w here's a super basic spline editor <https://grass.moe/catmull-rom/> source is in the page itself
2021-08-29 04:42:44
nice! it seems it may not be quite the same type of spline as in jxl though
2021-08-29 04:42:46
it can produce cusps
2021-08-29 04:43:43
https://upload.wikimedia.org/wikipedia/commons/2/2f/Catmull-Rom_examples_with_parameters..png JXL uses the centripetal kind
2021-08-29 04:43:47
but the editor seems to use uniform
w
2021-08-29 04:43:53
ohh
2021-08-29 04:44:06
thanks, didnt know
2021-08-29 04:44:52
seems i just have to change 1 parameter
2021-08-29 04:46:41
this right?
spider-mario
2021-08-29 04:47:46
seems like it, I think 😄 thanks
w
2021-08-29 06:02:14
is it in the spec that the ends of the spline curve in the opposite direction of its previous neighbour?
2021-08-29 06:03:25
because this makes it impossible to make 2 ends look continuous
2021-08-29 06:05:46
example:
spider-mario
2021-08-29 06:16:45
yes, there is mirroring involved
2021-08-29 06:17:58
an additional control point right after the first one and right before the last one might work around that
JXL Art Bot
2021-08-29 07:15:21
**\_wb\_** _“Solidarity Flag”_ 2021 image/jxl 267 bytes https://jxl-art.surma.technology/?zcode=zVS7TsQwEOz3K%2FwDh7y2N3YaChASFUgc0tWIBM4SCieUAv6e9fseQHMpSIqZfXh2Yvtu44d5K1BKCbejf93OomMK692bn0YQ%2FFghz3kX05ALaOiLc50Ab4%2FQvEVklDCuIELXk9BWMnYRSVJGk%2FLkYn9CrDoRUWXUQMR6nclI0FkUOqyzKiJpymhS3rjYn5CqTkAjm48aZ98lrr5K3B%2F2F58305Avxf7l6Jc4lf8jssD9cLxf%2FHMCh4YRwfH5oeqh57wKeY6VxdgX9tWqPsY210Mc%2Bq3r0vqiF7GtC6gwo%2BybjpZVP%2BRrX5lrD%2Bt753r%2F4cdpfpr9%2ByQUXPl5GHf852AAHq4fBYJ%2FEc%2Fikj8yk5j5ZBL8ZGoS%2FSp9KYewEncbzqzEepyPKyGlWi3hCqEIYdNUjZJsrYXhqYr8xeTR2K7I6jbB%2FDSsKp841hL%2BnlWriiql5s%2FSkaDJ6MrXqUwswDc%3D
Fox Wizard
2021-08-29 07:49:30
<:Poggers:805392625934663710>
_wb_
w like in the svg, the fill of text is the same as the rectangles
2021-08-29 07:49:39
I wonder if there's some way to turn text (or I suppose filled shapes with a relatively small filled area) into a curve that follows the middle of the outline and has a variable thickness.
JXL Art Bot
2021-08-29 09:00:33
**\_wb\_** _“Peace Flag”_ 2021 image/jxl 175 bytes https://jxl-art.surma.technology/?zcode=7ZXNSgMxFIX3eYr7AlNufmfcCFoEd6IVXBcnthEbi6YLfXpvnGSSli6U2Qg2WczHnZNDOLkkD64PazhDZNfWrdYBDCFbbF%2Bct7e7pQ%2Fucxncq7%2Fon3fvYWN9ADEKGNDgSAMmzT%2Fpo4DTnLgXjaB0Ya55xUNd0m5FpZHEV75PCZ%2BC%2FpFHDDEHLbsSrjKlrgRG3aBRA5%2BC%2FqWHid2aQtRVF6uuhKurro96tRf0%2F0gaZwIanOmJRm3Vv%2BaAc9zG8JFbrY%2FW9%2FXl2NrE1fHcvDm65b8vfeDs0oXebumJkIzdze%2Bp4p7gEc5pfwk4i%2FQRCTGjKKgJG1jYAI1KkL%2FVj6yWZaE65jEu6Q4KnF6l0Z59AQ%3D%3D
_wb_
2021-08-29 10:26:28
https://jxl-art.surma.technology/?zcode=rZDBCsIwDIbveYrcRyHpGNSLoDL01IMT-gBu6kDGDkPc25tubWF4c7aUfkn__m0CUPXPtmsAZbBGWjNnEyG90kP94yOeFP_uokM92vg1sdkYLFhPLLuPkybmvcbry64OrYV9O9RNPzyQCc6HCzJAe8MrboUERgEChVZChVUzoCqYo4Q8vIPEfUnGKLEChigcF5SSekZ3PAWT3etuM-swT1yiypcX3cJN2ji_nkkFHw
2021-08-29 10:26:34
190n
**\_wb\_** _“Peace Flag”_ 2021 image/jxl 175 bytes https://jxl-art.surma.technology/?zcode=7ZXNSgMxFIX3eYr7AlNufmfcCFoEd6IVXBcnthEbi6YLfXpvnGSSli6U2Qg2WczHnZNDOLkkD64PazhDZNfWrdYBDCFbbF%2Bct7e7pQ%2Fucxncq7%2Fon3fvYWN9ADEKGNDgSAMmzT%2Fpo4DTnLgXjaB0Ya55xUNd0m5FpZHEV75PCZ%2BC%2FpFHDDEHLbsSrjKlrgRG3aBRA5%2BC%2FqWHid2aQtRVF6uuhKurro96tRf0%2F0gaZwIanOmJRm3Vv%2BaAc9zG8JFbrY%2FW9%2FXl2NrE1fHcvDm65b8vfeDs0oXebumJkIzdze%2Bp4p7gEc5pfwk4i%2FQRCTGjKKgJG1jYAI1KkL%2FVj6yWZaE65jEu6Q4KnF6l0Z59AQ%3D%3D
2021-08-29 10:56:47
pace flag?
veluca
2021-08-29 11:00:07
I mean, it works in Italian...
w what's the speed difference on this?
2021-08-29 11:24:34
now it decodes at 15MP/s
2021-08-29 11:24:36
😄
2021-08-29 11:25:03
so it got about 750x faster
2021-08-29 11:25:48
(still double-checking it looks OK, and there's a failing test, and it needs code review...)
_wb_
190n pace flag?
2021-08-30 05:38:56
https://en.wikipedia.org/wiki/Peace_flag
2021-08-30 05:41:06
Those flags were quite common/popular even in Belgium around the time the Iraq war was starting, I still see them from time to time
190n
2021-08-30 05:41:49
ah interesting, TIL
_wb_
2021-08-30 05:42:49
I took that concept, but with the LGBT+ rainbow as a background
veluca so it got about 750x faster
2021-08-30 05:49:30
Wow that's the biggest speedup I've seen in a long, long time. Congrats!
2021-08-30 05:50:56
That turns splines from unusably slow into something that might be actually an attractive alternative for svg in some cases
2021-08-30 06:19:15
Deadline for the August 2021 jxl art compo (see <#878599623843913728> ) is TODAY!
2021-08-30 06:21:45
let's say when August 30 ends in all major time zones, so in about 24 hours
JXL Art Bot
2021-08-30 07:38:43
**\_wb\_** _“Ceci n'est pas un arbre”_ 2021 image/jxl 180 bytes https://jxl-art.surma.technology/?zcode=rZPLTsNADEX3%2FgrvUdDYnlc2SAUVWJWn1HVFQhtE06qdIuDrcUJSyjpJFPkm9px47DE8bd%2Brunw4LOpUfS9Staknxdthn9ZlnZAN%2FPoB9RJjDA66WwyPg6FxMHEQg22%2FJQzOnOgI07roandaw2yktIdzgjGjZiRIQxjnDmJOKMEChcaKvjNKFAhBUHyEIBYp5BA4oss9eBuRicGToHM56IPMAs4EdGTBetIGObDqt8GDRIfsHYg1aG0EIUbOBTgEtMzAul4aq%2F%2BxRMBsUCzBaSvhskpFuU0rPX9wt6t0StqhQQ9wvVusy%2FvNXreTkZ4GgMerZySoXvEFL7RMnWi%2FfKpoWnCUBBnOMWM1T2Vqhq1TGf%2BFmTaIes8%2FQCvnKvm4tA0vq%2BUqlQW6xv%2FVJzK%2Fue14k4%2Fl7Gw2RznqKWbSw0yXVo%2BMCocf
_wb_
2021-08-30 08:27:29
I like that impossible eclipse
veluca
_wb_ That turns splines from unusably slow into something that might be actually an attractive alternative for svg in some cases
2021-08-30 09:01:54
Tbf if you draw large things it is still a bit slow... But less so
_wb_
2021-08-30 09:18:02
Large as in big sigma or as in long arclength?
2021-08-30 09:19:02
I think big sigma is mostly useful for art, not really for 'serious' use cases
2021-08-30 09:19:26
Long arclength though could be useful, for diagrams and stuff
veluca
2021-08-30 10:01:41
big sigma
spider-mario
2021-08-30 10:06:26
yeah, long arclength scales reasonably well afaict
2021-08-30 10:06:46
big σ is trickier
veluca
2021-08-30 10:09:44
the only way I have in mind of improving that is by computing an integral in a smarter way... but this is likely very hard
Deleted User
2021-08-30 08:15:25
"Rubin golden vase 1" (81 bytes) https://jxl-art.surma.technology/?zcode=rZJJTgMxEEXXrlP4Am3V5GmDBBKIFQJlwTqiG2JEOhFxNpye6g7iAuCSbJXf9y9Pz23sOy-McD-1t133WhBgc_xo8_R03s69fW17O8zX4_v51PfT3P0vB28tIvo_xerC_-Iy1D_bkISkjoNQLS6HqEhuwJAyZqc2SFGHQS2jUEuqC2RRrjUWEkMx5YJCGheF2CRp0uLQUBLJiFwN2Sot5ok5YXHkrLQJuLDlymXhZEXI6ovRIDVWUo1Mq5OkmCNj5Likl7g4ZBQ0VNdd2yGS2APlhdhuWdBcFjFQQl8ugwkAbufx51HhpvVxOtqvIIS7z-1-ejyc7G4G0wK0V__irzzB4B_WfjN1zxHhGw
_wb_
2021-08-30 08:42:55
https://jxl-art.surma.technology/?zcode=rZFLTgMxDIbXySlygYn8ymvJAqlb1AXrSjOig2CKRLrp6fkzRVyg2FIi53N-O_HrOvdzUCF_WNa3cw9G5L0_fn2s2_JyPW19vZ36etme5vfrd_9cth4m-8vwAZaIwkO-q8i_qEyPN8MaszmJyq26EpMRu4liLlScYdNqjqIh4thqbgOKmrSWKitQyqWSsqWRoThky1YdAWXVQiQNCLesQpNKpurYoTQSpApikzo4owijvoJGbamxWRLelTSnkoSSpBHe_a5QSAmo7V3jEVnxJ2UQdCtKUBnJnvP-WqyG8fvnbf6dKWwKx6UH-gE
2021-08-30 08:43:00
64-byte edition
2021-08-30 08:43:13
2021-08-31 05:14:26
1h45m left to make a submission in <#878599623843913728> !
monad
2021-08-31 05:51:17
I've been busy, but at least submitted something very last minute.
_wb_
2021-08-31 06:23:37
I like the word "titillating"
2021-08-31 06:23:48
It's from the latin word for tickling
2021-08-31 06:24:07
But it makes everyone think of titties
2021-08-31 06:37:51
Going to close the contest in about 23 minutes
2021-08-31 06:38:30
Then there's 24 more hours for everyone to vote on as many entries as they want using the <:BlobYay:806132268186861619> emoji
monad
_wb_ But it makes everyone think of titties
2021-08-31 06:54:58
That's basically my whole game plan, man. 🤞
_wb_
2021-08-31 08:04:19
32-byte September 2021 compo
2021-08-31 08:05:07
128-byte September 2021 compo
2021-08-31 08:06:18
1024-byte September 2021 compo
2021-08-31 08:26:00
The <#878599623843913728> ended, time to vote!
2021-08-31 08:26:10
Winner will be announced tomorrow
2021-08-31 08:26:49
Meanwhile, I already started threads for the September compos, which will be in 3 categories, with different size limits
2021-08-31 08:28:01
I might participate this time - time to roll up my sleeves! https://github.com/libjxl/libjxl/pull/521
JXL Art Bot
2021-08-31 01:57:27
**\_wb\_** _“Approximation of a perfect sunset”_ 2021 image/jxl 111 bytes https://jxl-art.surma.technology/?zcode=pZDLTsMwEEX38xWzR0YzfgR3g1SqAqvwKFLWETGtK5pWrYuAr8cxSdogdpEX8c3MPXM9z7MXZLjxoXK7sEImWOzefe2ejmUd%2FHcZ%2FLaeVuvjIWxcHbArgyXCUQf0aMJYvyRUyPqStWRlMqmuFE0MaWvHUFlbzHR8n6LmizCvq3Zp8LD3cYtpqWjhdl9u3OP2EG1CmgzAv%2BErXkcGILZ3jtckPqNQREkiCly4gKaTbf1ULVDwoFVSov6D6n%2FwuVsO3Ex%2FJgvT8FLir2g2Bs64v%2BmLu%2Fs%2BksDpxzK%2FyAtUAz1HoaDvFXEMCMyb7KcOTlOKlhXDOb9cBVc11i6OnRiAHw%3D%3D
Deleted User
**\_wb\_** _“Approximation of a perfect sunset”_ 2021 image/jxl 111 bytes https://jxl-art.surma.technology/?zcode=pZDLTsMwEEX38xWzR0YzfgR3g1SqAqvwKFLWETGtK5pWrYuAr8cxSdogdpEX8c3MPXM9z7MXZLjxoXK7sEImWOzefe2ejmUd%2FHcZ%2FLaeVuvjIWxcHbArgyXCUQf0aMJYvyRUyPqStWRlMqmuFE0MaWvHUFlbzHR8n6LmizCvq3Zp8LD3cYtpqWjhdl9u3OP2EG1CmgzAv%2BErXkcGILZ3jtckPqNQREkiCly4gKaTbf1ULVDwoFVSov6D6n%2FwuVsO3Ex%2FJgvT8FLir2g2Bs64v%2BmLu%2Fs%2BksDpxzK%2FyAtUAz1HoaDvFXEMCMyb7KcOTlOKlhXDOb9cBVc11i6OnRiAHw%3D%3D
2021-08-31 02:16:52
one day we could put all JXL art in a "genomitic tree" to see which NDA came from which piece in order to create other pieces 🙂
_wb_
2021-09-01 05:39:36
I'm going to count the votes in <#878599623843913728> soon (first need to bring the kids to their first day of school)
2021-09-01 05:39:46
So last chance to vote!
2021-09-01 07:11:39
Congratulations to the winner of the <#878599623843913728> : <@456226577798135808> !
2021-09-01 09:25:19
Updated the page on jxl art
2021-09-01 09:25:20
https://jpegxl.info/art/
w
_wb_ Updated the page on jxl art
2021-09-01 09:48:24
not sure if it matters, but here's a link that can be used as the source for the elephant, though this one is changed a bit. (this one is specifically 740 bytes). the byte count on jxl-art is slightly different; I'm guessing it needs an update?
2021-09-01 09:50:42
i originally wanted to change the submission but it makes no practical difference
veluca
w not sure if it matters, but here's a link that can be used as the source for the elephant, though this one is changed a bit. (this one is specifically 740 bytes). the byte count on jxl-art is slightly different; I'm guessing it needs an update?
2021-09-01 11:02:45
btw the faster spline patch also fixes an interesting rendering issue, with the result that very thin splines are likely slightly thicker
_wb_
w not sure if it matters, but here's a link that can be used as the source for the elephant, though this one is changed a bit. (this one is specifically 740 bytes). the byte count on jxl-art is slightly different; I'm guessing it needs an update?
2021-09-01 12:21:16
updated
w
2021-09-01 12:21:58
thanks!
_wb_
2021-09-01 12:56:13
Now it's time for the <#882173948534603806> <#882174149374672896> <#882174448478863370>
2021-09-01 12:56:48
Please participate early and inspire one another!
2021-09-01 03:53:53
I submitted an entry in the 128-byte category. It's an animation 😜
Scope
2021-09-02 08:09:46
https://news.ycombinator.com/item?id=28368626
_wb_
2021-09-02 04:00:34
Don't be shy and submit stuff to the jxl art compos!
2021-09-02 08:04:34
https://c.tenor.com/ich6HvYSoqsAAAAM/dont-be-shy-george-segal.gif
Deleted User
2021-09-03 01:05:34
You know, it's hard to create new stuff... 😉
JXL Art Bot
2021-09-03 03:57:18
**w** _“jxl”_ 2021 image/jxl 548 bytes https://jxl-art.surma.technology/?zcode=7Vg9bxsxDN31K7gXJUSK%2BhpbtECHokuGzgESNAZaJ2jd%2F9%2FHs2PLl8uUoYsQICAfRcl4Iikev%2B%2FuDg%2FUuoYv97sfDwdqqYaPu8Pd%2FRNwDR%2F2u1%2B3h93jPnz6%2B3sRKMcYwrfHw9fbP4dw8%2FRzt78PieJb%2Fv67v7zVPyeOVDRzgVy4GhWrrK5VNmi5c1pMTanUzFmhCReYeudoQSxzzVRF2GBL1W1VhWsLotirUU2RFbtIYZhSYQmf93enK5g3cfQfyMGldAR04T55WvsP3HTlXCEbV9DXWDM17dw7ojBxg4KwhlITJ6EWEZkI0G4sIBrOSYICzNBq45aDKkCqGUqF0lmEquFeoCWAfYnr3oKaAUQGNM8H9YwRZIexK4UzkkgWL%2FwC6V55OHYc1rgnSh2%2FB4cB7JSQL3He8tp%2FJOcoO68gPgrqlVp7gccFX68%2Foi7J2X7B4nmva%2Bx47lEqZ8kxWVkXLHYE20XexCWy5EXx8BwtQwW%2BhMF7urk%2F0DuaL9ba3zqeGzKN4Ksge400JhSAmUIr%2F5GcHL0eTqK2X5SBHEvoWyhZusrGSdQx9QZykmQ8lTOits8fyFFx0p5lr%2FUazV%2BpK1y9aXZDvfZIaFPiqdpNmtfnD%2BRoU2%2B70PfNb4uX3dRATmr4wphEvXL%2BQI7ljDbSep2pt%2FEUDOTk0rjMiHqluRjIKVVZJ1GvtKsDOWOPv%2FlNNDlb%2FGtqqOveLyhk9BxKPt7ICZqxGokXfl00EZIa2VrwGVOGzTorbGjnJJGk6MO8mpVrJx9GxRJqQQ8Cv4gPY%2FjVzK7E2fJtXMVATvMZKMU513npf6HGB3DVyIMPUYcAK%2BQTZEF4AkNQc4Qc%2FT2Gj%2BVQWubSCEtFUS1QGwqB9FJDKZGbUU%2BLktE9I56lckuh%2BPQOmqmfU8x8UCelcMJKyz7U1gibF%2BfmkW%2FSfGZYOvbH%2B9bnCHajVA%2FkHOWM%2F6Cw%2B3gst85xhXuf7vI13rA%2BD%2FLzmmtcz3uu1%2BfTbzit8dHgCl%2F2jHGF1%2BYfWM9yOq%2B5xoXb0cHjcLQMRXfrcfoH
w
2021-09-03 03:57:26
Deleted User
w
2021-09-03 08:07:22
soon we will see and animation of an elephant 🙂
2021-09-03 08:51:03
oh yeah zou=象
w
2021-09-03 08:53:01
unfortunately nobody will get the reference
Deleted User
w
2021-09-03 09:52:42
Is the last frame a rotation of the first frame via patches?
w
2021-09-03 09:53:01
no it's just another set of splines
_wb_
2021-09-03 11:14:04
Patches cannot rotate
2021-09-03 11:14:18
Orientation is per image, not per frame
2021-09-03 11:14:40
Unfortunately
2021-09-03 11:14:53
For art, rotating patches would have been nice
Deleted User
2021-09-03 11:21:35
Rotating patches would complicate the format even more
2021-09-03 11:22:03
Normal patches are already quite complex and hard to find
2021-09-03 11:23:39
Finding rotated patches would be around 8x more expensive (since there are 8 possible Exif orientations to check for every patch)
_wb_
2021-09-03 01:00:16
yeah - though you could just make an encoder that doesn't try to find rotated patches, or only some rotations (say only horizontal flip, since e.g. quite a few letters are horizontally symmetric so could be represented in half the pixels)
2021-09-03 01:01:12
but yes, it would complicate stuff for probably not a huge density win
2021-09-03 01:01:39
(but for art it would be neat to produce symmetrical images easily)
Deleted User
2021-09-03 01:10:05
How about creating JXLX? An eXtended version specifically for art with more powerful stuff. Since the art would only be niche, libjxlx wouldn't need big adoption, an ISO spec, binary size considerations, fuzzing and all that stuff.
How about creating JXLX? An eXtended version specifically for art with more powerful stuff. Since the art would only be niche, libjxlx wouldn't need big adoption, an ISO spec, binary size considerations, fuzzing and all that stuff.
2021-09-03 01:17:03
the jxl art is challenging. If we don't have the strict rules of jxl, then I find it less appealing
_wb_
2021-09-03 01:19:05
yeah it's more appealing if it is an actual image codec
2021-09-03 01:20:32
if we would do a specific thing for art, I would add lots of fancy stuff that can be used as basically arbitrary shaders etc
2021-09-03 01:20:55
and you could then probably make something where even 16-byte files could be very interesting
2021-09-03 01:21:19
but it wouldn't be the same
2021-09-03 01:22:08
the stuff that is in jxl was put there because it is useful for an image codec
2021-09-03 01:22:43
that it can be used for art is just a fun 'accident'
Deleted User
the jxl art is challenging. If we don't have the strict rules of jxl, then I find it less appealing
2021-09-03 01:37:56
Exactly <:This:805404376658739230>, creativity is an art of going around the limitations. If there are no limitations, is it art anymore? Even if it is, it's probably not as much fun.
2021-09-03 01:40:10
> Engineers like to solve problems. If there are no problems handily available, they will create their own problems. ― Scott Adams (the Dilbert cartoonist)
_wb_
2021-09-03 06:18:29
The 1024 byte contest is a bit intimidating, imo
2021-09-03 06:20:43
As in: that's a lot of bytes to play with
Deleted User
_wb_ As in: that's a lot of bytes to play with
2021-09-04 06:48:16
can we mix "encoded image bitstream" (I mean like an "old" jpeg with DCT2D etc?
_wb_
2021-09-04 06:53:59
How do you mean?
2021-09-04 06:54:29
Yes, it doesn't have to be a jxl
2021-09-04 06:55:18
As long as it decodes with conventional decoders, no custom formats
2021-09-04 06:55:32
But png, jpeg, webp, anything goes
Deleted User
_wb_ But png, jpeg, webp, anything goes
2021-09-04 12:19:21
...WebP 2?
2021-09-04 12:19:55
Maybe add the rule that the format must be conventional **AND** frozen?
Fraetor
2021-09-04 12:21:30
Does SVG count as an image format?
_wb_
2021-09-04 12:39:22
I guess
2021-09-04 12:40:12
Not sure about compressed svg though - maybe svg.gz and svg.br are ok?
Deleted User
2021-09-04 01:44:30
I am for using only jxl 🙂
_wb_
2021-09-04 01:46:39
I think jxl will likely make nicer art possible (within those size limits) than other codecs, but if someone wants to make an `avif_from_idunnowhat` tool and make interesting looking stuff with it, I don't want to stop them
JXL Art Bot
2021-09-04 03:56:00
**\_wb\_** _“Squeezy stuff 1”_ 2021 image/jxl 32 bytes https://jxl-art.surma.technology/?zcode=c8osSUktKMlQMOYKcg5RMOQKLixNTa1K5eLKTFOoCa9RsAPKKCjoKgSnligYAFlA4YCi1DLHpGLXoiKgrCFQDCQfnpqZnlGSmgJWBFYW7u4BlIdwQSocy9L9tP1cFXQN4ULhCkZcXGCZcG2%2FcJAMAA%3D%3D
2021-09-04 03:56:24
**\_wb\_** _“Squeezy stuff 2”_ 2021 image/jxl 32 bytes https://jxl-art.surma.technology/?zcode=c8osSUktKMlQMOYKcg5RMOQKLixNTa1K5eLKTFOoCa9RsAPKKCjoKgSnligYAFlA4YCi1DLHpGLXoiKgrCFQDCQfnpqZnlGSmgJWBFYW7u4BlIdwQSocy9L9tP1coTqgIuHafuEKuoZcAA%3D%3D
Deleted User
2021-09-05 05:34:53
"Black Hole" 16 Bytes, 256 x 256 pixels , data:image/jxl;base64,/wp/QCQIBgEAFABLEiRhAA==
JXL Art Bot
2021-09-05 06:01:54
**\_wb\_** _“Fly eye close-up”_ 2021 image/jxl 20 bytes https://jxl-art.surma.technology/?zcode=c8osSUktKMlQMDTgCs9MATKMTM24PFIz0zNKwMwg5xAFQ67gwtLU1KpULi5dhXCwXGqKgjEXAA%3D%3D
_wb_
2021-09-07 08:52:47
More submissions please!
JXL Art Bot
2021-09-07 08:58:13
**fab** _“wew”_ 2021 image/jxl 34 bytes https://jxl-art.surma.technology/?zcode=c8osSUktKMlQMOYKcg5RMOQKLixNTa1K5eLKTFOoCa9RsFMw5VJQ0FUITi1RMACygMIBRalljknFrkVFQFlDoBhIPjw1Mz2jJDVFwQgiAlQX7u4BVwBS4liW7qft56pgjiwSru0XrqBrygUA
2021-09-07 09:03:35
**fab** _“Diascord”_ 2021 image/jxl 34 bytes https://jxl-art.surma.technology/?zcode=TYq7CoNAEEX7%2BYrbi6CIARtBRUy1hChML466nW5Wi%2BDHZ9wq5XnU1k%2By%2BRUPejcDUur3Q%2BQrRHbGxRdK5ATE6MVrBVS%2FnJzV%2BGmd05qouzuLXVYvU5jCxt1TexHwPqpzMZFpkf0bjgwjLugH
2021-09-07 09:15:33
**fab** _“iwqias”_ 2021 image/jxl 36 bytes https://jxl-art.surma.technology/?zcode=c8osSUktKMlQMDTgCnIOAVHBhaWpqVWpXFyZaQo14TUKdgpGpmZcCgq6CsGpJQomQBZQIqAotcwxqdi1qAgkDxQDyYenZqZnlKSmKBhCRIDqwt09gApMwFyQEseydD9tP1cFM2SRcG2%2FcAVdQy4A
_wb_
2021-09-07 09:26:07
Copy them to the relevant compo thread (e.g. <#882173948534603806> ) if you want to submit it as a compo entry
spider-mario
2021-09-10 04:47:27
I don’t remember, does `jxl_from_tree` support describing several groups?
_wb_
2021-09-10 04:48:59
yes
2021-09-10 04:49:09
`if g > 21`
2021-09-10 04:49:23
for some reason the modular group ids start with 21
spider-mario
2021-09-10 04:50:31
oh, great, thank you
fab
_wb_ Copy them to the relevant compo thread (e.g. <#882173948534603806> ) if you want to submit it as a compo entry
2021-09-10 04:54:42
Ah i cant Copy
_wb_
2021-09-10 04:55:47
well you could put them in the 128-byte category
JXL Art Bot
2021-09-11 02:17:42
**\_wb\_** _“High Color (RGB565)”_ 2021 image/jxl 45 bytes https://jxl-art.surma.technology/?zcode=C3IOUTDgcsosSUktKMlQMOMKz0wB0kamZlweqZnpGSVgpr6WglOQu4KWPlcQUL2hGRdXZppCsoKdgiGIEVCUWgZkG3DpKvgBSZAIklA4RKgCzgXrqYRrsACSwaklQB7MUAOEAiDDD8gwM4QrAmkxQtFSAVMZjq4yHFklFwA%3D
_wb_
2021-09-11 02:19:02
Who remembers the time when these were all the colors you got?
Fox Wizard
2021-09-11 02:26:11
👵
nathanielcwm
2021-09-11 02:26:21
👵
_wb_
2021-09-11 02:59:25
That was the 90s
2021-09-11 02:59:46
Early 90s it was more like 256 colors only
2021-09-11 03:00:00
Or even just 16 or 4
2021-09-11 03:00:16
Or monochrome
spider-mario
2021-09-11 09:10:25
the version with RCT 0 can still be seen in use nowadays, as 3D look-up tables
JXL Art Bot
2021-09-12 07:35:38
**\_wb\_** _“Spotlights”_ 2021 image/jxl 33 bytes https://jxl-art.surma.technology/?zcode=C3IOUTDgcsosSUktKMlQMOYKLixNTa1K5eLiykxTSFawUzDkUlAAMmvCa4AccyAHzA0HcgzAHAUFXQW%2FcAVdQ2SeIbI6XVO4VHhqZnpGSWoKsnK4mAUXiBucWgI0GQA%3D
2021-09-12 07:41:48
**\_wb\_** _“Color and Texture”_ 2021 image/jxl 34 bytes https://jxl-art.surma.technology/?zcode=C3IOUTDgcsosSUktKMlQMOYKLixNTa1K5eLiykxTSFawUzDkUlAAMmvCa4AccyAHzA0HcgzAHAUFXQW%2FcAVdUzgvXMEUWRmyTGpmekZJaoqCriGmmAUXiBucWgI0GAA%3D
nathanielcwm
**\_wb\_** _“Spotlights”_ 2021 image/jxl 33 bytes https://jxl-art.surma.technology/?zcode=C3IOUTDgcsosSUktKMlQMOYKLixNTa1K5eLiykxTSFawUzDkUlAAMmvCa4AccyAHzA0HcgzAHAUFXQW%2FcAVdQ2SeIbI6XVO4VHhqZnpGSWoKsnK4mAUXiBucWgI0GQA%3D
2021-09-13 03:02:51
looks like a broken video in the right lol