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

glitch-art

_wb_
2021-01-30 09:41:20
I don't remember what I did here, but glitchy it was.
2021-01-30 09:43:49
2021-01-30 09:44:15
2021-01-30 09:44:35
2021-01-30 09:44:46
2021-01-30 09:44:52
2021-01-30 09:44:58
2021-01-30 09:45:02
2021-01-30 09:45:44
this is what it was supposed to look like
2021-01-30 09:46:20
this is what it looked like
2021-01-30 09:47:40
2021-01-30 09:48:24
behavior when attempting to do doing lossy animation in FUIF
2021-01-30 09:48:25
also <@!799692065771749416> I don't know if you saw this: https://www.sabatobox.com/flif-databending-glitch-studies
2021-01-30 10:13:58
so many beautiful bugs
raysar
2021-01-30 05:07:51
it's involuntary jxl glitch? Maybe i will be fun to know how to modify file to have funny glitch. Few bits can destroy the files?
_wb_
2021-01-30 05:23:59
The above were all encoder or decoder bugs from quite a long time ago (basically the kind of thing I would typically get at the first attempt when implementing something new)
Master Of Zen
2021-01-31 01:24:26
Not JXL, but it will pass
Deleted User
2021-01-31 03:01:30
2021-01-31 03:01:45
-c 2
_wb_
2021-01-31 03:08:51
Ah yes, -c 2
2021-01-31 03:09:08
We never bothered to implement forward YCbCr
2021-01-31 03:09:46
So iirc this just assumes the input is already YCbCr
mincerafter42
2021-02-04 11:58:47
well this might count as glitch art, Discord renders this image very differently from how it renders outside of Discord https://cdn.discordapp.com/attachments/173877869640941568/807035520655818752/65536colorgif.gif
Deleted User
2021-02-05 01:42:19
Samsung Photo Gallery renders it exactly the same, but Google Photos "flash" the red picture and then jump straight to the green-yellow part
mincerafter42
2021-02-05 02:05:22
it was supposed to look identical to this image once all the layers had loaded:
Pieter
2021-02-05 02:08:45
<@!281958058190700546> That picture renders very differently on my laptop and on my desktop (both Ubuntu 20.04, Firefox).
2021-02-05 02:09:19
Oh, maybe not.
2021-02-05 02:09:33
I just saw only beginning on one, and the end at the other.
_wb_
2021-02-05 07:15:54
Ouch looks like discord keeps it as palette and updates the palette whenever the gif updates it? That's not what you're supposed to do....
2021-02-05 07:16:54
Though I guess that is what would have typically happened in 1989
2021-02-05 07:17:32
Allows nice cheapish palette rotation animations too
lonjil
2021-02-05 07:30:56
I believe that the GIF standard actually has some undefined behaviour regarding palette changes 😬
veluca
2021-02-05 06:44:36
good old encoder bugs
_wb_
2021-02-05 07:27:00
DC is overrated
2021-02-05 07:27:12
AC only images are the future
2021-02-07 10:15:00
It's the ultimate Dark Mode
Crixis
2021-02-07 12:08:13
Or ultimate light mode
Nova Aurora
veluca good old encoder bugs
2021-02-08 02:40:42
Increase the resolution and you get cyberpunk/neon images
veluca
2021-02-08 05:27:25
changing color transform code...
Nova Aurora
2021-02-08 05:27:58
Why does it do the weird rectangles of color?
veluca
2021-02-08 05:28:18
because I'm doing the inverse color transform only on a part of the image 😄
Nova Aurora
2021-02-08 05:28:20
I noticed that on some of my images too when messing with chroma qaulity
2021-02-08 05:32:15
(Borders only added to make the color zones more noticable)
2021-02-16 08:30:07
Can someone tell me why this happens?
_wb_
2021-02-16 08:33:31
Because you reduced chroma quality by a lot?
2021-02-16 08:35:25
Probably the zones align with 256x256 groups
Nova Aurora
2021-02-16 08:50:58
cool, I just wondered why it does that specific pattern
Crixis
2021-02-16 09:27:11
Subsample always go square, true?
Master Of Zen
Crixis Subsample always go square, true?
2021-02-17 01:36:39
Fox Wizard
2021-02-18 09:27:41
Does this count as glitch art? <:kekw:758892021191934033>
Nova Aurora
2021-02-18 09:30:06
Who LiVes iN a Pinapple in the v̶́͗o̵͛̀i̷̊͝d̷̿̉
_wb_
2021-02-22 10:29:59
oops
Crixis
_wb_ oops
2021-02-22 10:32:41
Mr. Stark I Don't feel so good
_wb_
2021-02-22 10:33:25
somewhat better but still oops
Crixis
2021-02-22 10:38:37
so random but so systematic
_wb_
2021-02-22 10:40:05
it's more fun to just try stuff even if you don't understand how exactly it is being used, and see what breaks
2021-02-22 10:40:40
Now I understand
2021-02-22 10:41:33
reducing decode memory scratch space a bit, <@179701849576833024> — I think we can get rid of half the scratch space
veluca
2021-02-22 11:00:44
For DCT?
_wb_
2021-02-22 11:26:44
Yes
fab
2021-02-22 11:28:08
on nomacs dct is slow
2021-02-22 11:28:15
maybe i'm using higher compression
_wb_
2021-02-22 11:28:15
It works, now checking if it does not make things slower
fab
2021-02-22 11:28:30
maybe dct is meant for more cores
2021-02-22 11:28:51
the performance especially at creating preview is poor
2021-02-22 11:29:06
still x4 faster than the plugin mozilla did
2021-02-22 11:29:34
but not enough modular is fast enough for a dual core
2021-02-22 11:31:30
modular with 0.3 and s 4 99.2 with 0.3.0 are faster
Crixis
2021-02-22 11:31:42
on my pc modular is 10x slower vardct in decoding
fab
2021-02-22 11:31:43
it's placebo effect?
2021-02-22 11:31:55
i'm using nomacs with latest qjpeg
2021-02-22 11:31:57
dll
2021-02-22 11:32:22
the disk maybe is slow RPM, is not a SSD
2021-02-22 11:32:42
but anyway i hope it will not be slower
2021-02-22 11:32:48
for more compression
2021-02-22 11:33:40
i didn't checked without antialiasing effect
2021-02-22 11:33:59
but to me seem slow i need to try more with more files
_wb_
2021-02-22 11:40:46
<@!179701849576833024> see MR 3147
2021-02-22 11:41:49
the glitch art is what happens if you reuse the wrong block (one that has a stride that causes holes)
fab
2021-02-22 11:42:41
modular is super fast to me i can't distinguish the modular to the s 4 q 99.2 of 0.3 in most of cases the decoding speed is enough
_wb_
2021-02-22 11:42:59
<@!416586441058025472> please move performance discussion to e.g. <#803645746661425173> or <#794206170445119489>, I want to keep this a channel with pretty glitch art pictures 🙂
fab
2021-02-22 11:43:13
ok
2021-02-22 11:43:39
wrong channel i did
Deleted User
2021-02-24 02:55:52
I don't know if it's just me, but when I tried encoding **progressive** JPEG XL with Squoosh, it doesn't show... DC (?)
_wb_
2021-02-24 06:24:04
Oops?
veluca
2021-02-24 12:51:21
that looks like a problem...
I don't know if it's just me, but when I tried encoding **progressive** JPEG XL with Squoosh, it doesn't show... DC (?)
2021-02-24 12:57:49
Could you share the .jxl file?
lvandeve
2021-02-24 01:28:28
I manged to reproduce it in squoosh with another file, so got a jxl file with the issue now. I don't yet know if it's an encoder bug, decoder bug, or possibly something that's only in the jxl version in squoosh and not in latest version
Deleted User
veluca Could you share the .jxl file?
2021-02-24 02:32:49
It happens with all input files, no matter what I upload here, progressive JXL encodes are broken.
veluca
2021-02-24 02:41:41
right, I think it's an old encoder bug
surma
2021-02-24 03:00:25
Oh true. Progressive JXLs look fun in Squoosh right now 😄
2021-02-24 03:00:56
Lossless progressive looks fine though, interestingly enough
veluca
2021-02-24 03:12:31
https://github.com/GoogleChromeLabs/squoosh/pull/963
surma
2021-02-24 07:31:20
<@!179701849576833024> <@456226577798135808> We published the update to Squoosh that should fix progressive encoding for JXL 🙂
fab
2021-02-24 07:39:49
does it support lossless jpeg transcode in the decode or in the encode?
surma
2021-02-24 10:44:33
No, in Squoosh we always go via a raw RGBA buffer (for now)
2021-02-24 10:45:09
but the codecs are in the repo, that could be a rather easy thing to write as a one-off web app 😄
Nova Aurora
surma but the codecs are in the repo, that could be a rather easy thing to write as a one-off web app 😄
2021-02-25 05:51:57
Which encoder does squoosh use for AVIF?
Scope
2021-02-25 05:54:00
libaom
_wb_
2021-03-09 10:17:17
oops it was BGR, not RGB
Master Of Zen
2021-03-09 11:27:46
BLUE CAR
Dr. Taco
2021-03-09 03:27:52
I was hoping it would be like the magic bench and change when opened
veluca
2021-03-09 03:32:20
it's easy to make more of those 😛
spider-mario
2021-03-09 03:47:58
yes, the way that I made the green bench was by opening DisplayCAL’s “Synthetic Profile Creator”, starting from the sRGB preset, rotating the channels, and then using ImageMagick to convert the original bench.png to that colorspace with `convert bench.png -profile sRGB.icc -profile BRG.icc magic-bench.png`
veluca
2021-03-11 12:15:37
I *think* they were referring to the XYB JPEG 🙂
spider-mario
2021-03-11 12:33:36
oh :p
eustas
2021-03-17 01:53:14
SPIHT with implementation mistake
Crixis
2021-03-17 01:53:48
mhhhh, all good to me
_wb_
2021-03-17 02:37:16
Pretty!
Master Of Zen
2021-03-18 05:31:12
_wb_
2021-03-18 05:34:47
Nice, what is that?
Master Of Zen
2021-03-18 05:39:22
Not mine, some phone software fail
_wb_
2021-03-18 05:43:46
Beautiful fail
veluca
2021-03-18 07:07:27
really wonder what kind of fail 😄
2021-03-18 07:08:03
looks like AC of a JPEG on the DC of another one, or possibly just applying exif orientation on only DC or only AC but I wonder how you would end up doing that xD
_wb_
2021-03-18 07:29:32
Maybe a broken progressive jpeg with a decoder that applies exif orientation on the coeffs directly after reading a scan, but forgets to do it if the scan prematurely ends?
Crixis
2021-03-18 08:15:51
not seem a rotatation
_wb_
2021-03-18 08:51:10
Flip is also an exif orientation
2021-03-18 08:51:19
Looks like horizontal flip
spider-mario
2021-03-19 05:36:04
does this count? (trying to add something to the benchmark)
Deleted User
2021-03-20 05:46:19
Remember those dice?
2021-03-20 05:46:22
https://discord.com/channels/794206087879852103/794206170445119489/822855207506673714
2021-03-20 05:46:56
Here they are after being decoded from `-q 30` .jxl file (not a glitch art at all)...
2021-03-20 05:52:06
..but it becomes glitch art when you brutally strip away alpha channel with `pngtopam` and convert it back with `pnmtopng` 😉
spider-mario
2021-03-20 05:52:21
magnificent
2021-03-20 05:52:47
those dice now look like super heroes flying to their next mission
190n
2021-03-20 05:53:05
they're zoomin
spider-mario
2021-03-20 05:53:09
“a game of D&D needs our help”
Deleted User
2021-03-20 05:53:37
POV: you're playing D&D on acid
spider-mario
2021-03-20 05:53:59
the dice have joined the game as NPCs
_wb_
2021-03-20 06:20:21
That's my code that gives invisible pixels some value that is inexpensive and avoids artifacts in the non-invisible part
2021-03-20 06:20:58
(just e.g. setting all invisible pixels to black can cause dct artifacts to bleed into the visible part)
2021-03-20 06:22:36
This is only done in lossy mode, btw
Deleted User
_wb_ That's my code that gives invisible pixels some value that is inexpensive and avoids artifacts in the non-invisible part
2021-03-20 06:26:04
You mean inexpensive from JPEG XL's point of view?
_wb_
2021-03-20 06:26:12
Yes
2021-03-20 06:26:27
Inexpensive for dct, no high frequency stuff there
Deleted User
2021-03-20 06:26:34
Because `pngcrush -blacken` (which makes fully transparent pixels black) reduced PNG's filesize quite a bit
Pieter
2021-03-20 06:26:52
<@794205442175402004> Is there something equivalent for modular?
_wb_
2021-03-20 06:27:06
For PNG, what is inexpensive is different, and lossless codecs don't need to worry about artifact bleed
Pieter <@794205442175402004> Is there something equivalent for modular?
2021-03-20 06:28:08
Not yet, would be good to have something for that too, e.g. if you want to do lossless but don't care about the rgb at invisible pixels
Master Of Zen
2021-03-22 11:04:25
veluca
2021-03-22 11:06:12
that looks like something bad happened to the camera sensor or something
Nova Aurora
2021-03-22 11:07:00
It's a bug with a wasm compiled libwebp
Scientia
2021-03-23 01:40:53
What are those lines?
2021-03-23 01:41:20
They look like small greyscale versions of the image
Nova Aurora
2021-03-23 01:42:12
We have no idea, someone was compiling libwebp in the AV1 discord and got that
2021-03-23 01:43:52
It looks like its repeating a luma part of the image, but why would it do that?
_wb_
2021-03-23 06:01:35
Chroma upsampling bug?
Master Of Zen
2021-03-23 07:18:55
2021-03-23 07:21:36
Also this
2021-03-23 07:21:42
_wb_
2021-03-23 08:18:05
the beautiful greens of Cb=Cr=minval
2021-03-23 08:18:18
almost as nice as the beautiful pinks of Cb=Cr=maxval
fab
2021-03-24 03:53:07
https://www.hdblog.it/img/type99/id965637.jpg?hash=906f6e444bf688958283e41b02cac93d&skip_redirect=1
2021-03-24 03:53:15
108 mpx oppo phone with snapdragon 720g
2021-03-24 03:53:24
zoom and see the painting
Deleted User
fab zoom and see the painting
2021-03-24 05:28:31
Ugh...
2021-03-24 05:29:02
I wish Juha Alakarhu from Nokia came back and showed those amateurs their place
2021-03-24 05:29:26
Current phone manufacturers are getting worse and worse in terms of photo naturality
Crixis
fab https://www.hdblog.it/img/type99/id965637.jpg?hash=906f6e444bf688958283e41b02cac93d&skip_redirect=1
2021-03-24 05:35:13
_wb_
2021-03-24 05:36:40
'Adobe RGB / ProPhoto RGB" ? What does that mean? Those are very different spaces...
Crixis
_wb_ 'Adobe RGB / ProPhoto RGB" ? What does that mean? Those are very different spaces...
2021-03-24 05:43:04
Error
2021-03-24 05:45:55
_wb_
2021-03-24 05:47:59
Ah so it is P3, that's yet another colorspace
spider-mario
2021-03-24 06:33:26
interestingly, it doesn’t actually have an embedded ICC profile, though
fab
2021-03-30 08:01:17
how i see the jxl art small images made with predictors
2021-03-30 08:01:18
https://ss-pics.s3.eu-west-1.amazonaws.com/files/921185/large-2497400_1533063999_saiwa_oro_ciok_al_latte_250_g.jpg?1566895629
Master Of Zen
2021-03-30 12:04:06
NeRd
2021-03-31 01:32:39
Here's a very weird result I got when trying to convert an image to "lossless" HEIC with ImageMagick (converted to lossless WEBP for easy viewing)
2021-03-31 01:33:44
I was using "convert (name).png -quality 100 -compress Lossless (name).heic" (this creates similar results for all images I've tested). Here's the original heic file for those interested.
2021-03-31 01:34:05
...plus the original image.
veluca
NeRd ...plus the original image.
2021-03-31 03:32:03
oh, *that* level...
NeRd
veluca oh, *that* level...
2021-04-01 01:48:50
I actually stumbled into this room pretty soon after I started playing VVVVVV, and I then proceeded to spend several hours trying to beat it because I occasionally get stubborn about this sort of thing. I eventually got through, I'm pretty sure it's not one of the intended "beginners rooms" of the game, although I had alot of fun trying to beat it!
veluca
2021-04-01 10:19:43
definitely not 😄 there's crazy people that even do it in "no death mode"...
_wb_
2021-04-05 08:18:42
2021-04-05 08:19:01
was trying to figure out how to reproduce the xor pattern using a tree-only jxl
2021-04-05 08:19:08
``` if W-NW > -1 /* W >= NW */ if NW-N > -1 /* W >= NW >= N */ if N > 254 - Set 0 /* W = NW = N = 255 */ if W > 0 /* N < 255 */ - W + 1 /* OK */ - W + 1 /* NW < N && NW <= W */ if W-WW-NW+NWW > 0 - NW + 0 /* OK */ - NW - 1 /* W < NW */ - Select + 1 /* OK */ ```
2021-04-05 08:19:22
almost there 🙂
Deleted User
_wb_
2021-04-05 09:26:59
Is this image wavy and distorted just for me? Lmao
Master Of Zen
2021-04-05 08:32:35
fab
2021-04-18 04:51:37
jpeg xl and jpeg artifact together
Pieter
2021-04-18 05:03:31
Where is the glitch?
fab
2021-04-18 05:08:47
i don't remember i did a first modular filtering
2021-04-18 05:09:09
but this quality 60.4 faster decoding 3
Pieter
2021-04-18 05:16:43
This channel is for glitch art.
2021-04-18 05:18:49
Again, this channel is for glitch art. Completely incorrect encodings/decodings that somehow look artistic.
_wb_
2021-04-18 06:09:03
Compression artifacts are not glitches. Encoder/decoder bugs can be glitch art.
raysar
2021-04-19 06:51:32
The lastest imagemagick viewer glitch with 16bits pictures It's always the same ref picture that i use on discord ^^
Orum
2021-04-29 02:18:36
terminating an encode part of the way through a frame produces interesting results: https://cdn.discordapp.com/attachments/587033245061873759/837001025311080488/SPOILER_this_is_fine.webp
Scientia
2021-04-29 02:24:54
Is this jxl?
2021-04-29 02:25:04
Or webp/2
Orum
2021-04-29 02:31:11
neither, AV1/AVIF
Scientia
2021-04-29 03:03:38
You can interrupt it's coding and still get a usable image?
2021-04-29 03:03:42
Never knew that
2021-04-29 03:04:03
Actually wait yeah I just realized I think
Orum terminating an encode part of the way through a frame produces interesting results: https://cdn.discordapp.com/attachments/587033245061873759/837001025311080488/SPOILER_this_is_fine.webp
2021-04-29 03:04:21
That pattern is similar to video packet loss right
Orum
2021-04-29 03:07:37
Possibly, but it's more like a connection suddenly dropping. For encoding for lossy transmission (e.g. broadcast), you'd use different settings.
Scientia You can interrupt it's coding and still get a usable image?
2021-04-29 03:08:49
*"Usable"* is a bit debatable, but yeah 😉
Scientia
2021-04-29 03:08:56
Well
2021-04-29 03:09:01
Able to be decoded
2021-04-29 03:09:03
At least
Orum
2021-04-29 03:09:32
yeah, I'm not sure but some of that image might be just uninitialized memory being dumped to the screen from the decoder
_wb_
2021-04-29 05:02:44
You can make any decoder replace returning errors with returning the image it has at that point
fab
2021-04-30 08:16:38
Nova Aurora
fab
2021-05-02 05:54:14
https://tenor.com/view/reaction-my-eyes-cant-unsee-burn-gif-7225082
raysar
2021-05-03 02:02:14
look at that video on tiktok, it's an amazing glitch video: https://vm.tiktok.com/ZMe4GExof/
mincerafter42
2021-05-03 03:05:53
just remembered there's a <#805007255061790730> channel and since I was last here I have more instances of Discord just failing to display GIFs https://cdn.discordapp.com/attachments/834896676170629190/836777290637377566/floofy.gif https://cdn.discordapp.com/attachments/515895985520771075/837084812488605706/cycle.gif
190n
2021-05-03 03:42:45
alright wtf is happening in the second one
2021-05-03 03:43:25
hmm discord's low-resolution preview has the animation ||https://media.discordapp.net/attachments/515895985520771075/837084812488605706/cycle.gif?width=400&height=192||
monad
2021-05-03 03:43:59
I feel like I've seen that effect elsewhere.
190n
2021-05-03 03:44:07
guess the file is broken in a weird way so only discord's image resizer sees there's an animation
2021-05-03 03:45:47
weird if the domain is media.discordapp.net instead of cdn.discordapp.com the animation plays in a browser
mincerafter42
190n guess the file is broken in a weird way so only discord's image resizer sees there's an animation
2021-05-03 03:47:43
Incorrect
2021-05-03 03:49:07
The image's actual animation is a single pixel outside the image boundary for every frame except the 1st, each with its own local colour palette. Discord then applies the local colour palette to the entire image
2021-05-03 03:49:19
while other viewers do not
2021-05-03 03:51:45
so all viewers know there's an animation, Discord is the one that influences the pixels you see using the animation
190n
2021-05-03 03:55:37
> Discord then applies the local colour palette to the entire image yes, "Discord" = "Discord's backend"
2021-05-03 03:56:24
the image that discord actually renders (||https://media.discordapp.net/attachments/515895985520771075/837084812488605706/cycle.gif?width=400&height=192||) displays the animation in all viewer's i've tried
2021-05-03 03:57:16
and discord's desktop app isn't its own image viewer, it's an electron app. browser discord in firefox also displays the color cycle in your message, because it is asking firefox to render that resized image i linked instead of the actual file that was uploaded
2021-05-03 04:01:44
but the bit about the color pallete probably applies to discord's image resizing service
Deleted User
mincerafter42 just remembered there's a <#805007255061790730> channel and since I was last here I have more instances of Discord just failing to display GIFs https://cdn.discordapp.com/attachments/834896676170629190/836777290637377566/floofy.gif https://cdn.discordapp.com/attachments/515895985520771075/837084812488605706/cycle.gif
2021-05-03 10:11:02
Samsung Gallery cycles through colors, too, just like Google Photos app.
_wb_
2021-05-03 12:01:32
that's wrong though - at least the conventional interpretation of the gif spec is that local palettes apply only to the frame they belong to, and that it is possible to make gif images with more than 256 colors that way
2021-05-03 12:02:36
2021-05-03 12:03:16
this one works though
Master Of Zen
_wb_
2021-05-04 03:19:02
On 255 color version I can see steps on all colors except green top and top left square 🤔 <:NotLikeThis:805132742819053610> am I ok?)
Crixis
Master Of Zen On 255 color version I can see steps on all colors except green top and top left square 🤔 <:NotLikeThis:805132742819053610> am I ok?)
2021-05-04 06:51:47
yes
improver
2021-05-04 06:58:30
same
_wb_
2021-05-05 02:40:51
2021-05-05 02:41:02
any guesses what is going wrong here? 🙂
2021-05-05 02:48:03
2021-05-05 02:48:04
progress
Deleted User
_wb_ any guesses what is going wrong here? 🙂
2021-05-05 02:58:07
Chroma subsampling.
_wb_
2021-05-05 02:59:51
trying to check if modular YCbCr 4:2:0 / 4:2:2 works properly (it probably does, but I am messing up how I pass the data to the encoder)
veluca
2021-05-05 03:02:20
some alpha-related mess ups... (trying to implement extra channel upsampling)
2021-05-05 03:02:26
_wb_
_wb_
2021-05-05 03:10:50
amazingly, that image was off by a factor of 255, but it still looks reasonable-ish
Master Of Zen
2021-05-08 12:46:07
Aomenc (not mine)
Deleted User
2021-05-25 05:57:52
<:WTF:805391680538148936>
raysar
<:WTF:805391680538148936>
2021-05-25 07:00:34
there is many content like that it's so cool but i don't understand how they do it. Maybe in removing I-frame on specific part of video 😄
veluca
2021-05-26 08:48:21
changing some things in YCbCr chroma upsampling...
_wb_
2021-05-26 09:00:26
From now on, this is how 'lossless' jpeg will look like 😂
veluca
2021-05-27 09:25:34
I got nearest neighbour upsampling *slightly* wrong xD
Jim
2021-05-28 02:58:44
https://tenor.com/view/mr-rogers-nightmare-clown-gif-19645113
Master Of Zen
2021-05-31 09:00:42
I have something cool https://cdn.discordapp.com/attachments/587033245061873759/849029570362605598/MORSHU4k_aom.mkv
Scientia
Master Of Zen I have something cool https://cdn.discordapp.com/attachments/587033245061873759/849029570362605598/MORSHU4k_aom.mkv
2021-05-31 11:32:07
This is just what happens when your PC isn't powerful enough to decode the video
2021-05-31 11:32:50
I believe, I've seen artifacts like this on other vp9 and av1 videos that I couldn't decode in realtime
BlueSwordM
Scientia This is just what happens when your PC isn't powerful enough to decode the video
2021-06-01 12:14:14
It's just an encoding bug though <:kekw:808717074305122316>
Deleted User
2021-06-01 01:37:33
Bug reports are fun 😆
2021-06-01 01:37:37
https://user-images.githubusercontent.com/15923635/120330408-15942480-c2ed-11eb-820c-6c059609529f.png
_wb_
2021-06-01 02:02:19
beautiful
2021-06-01 02:08:35
interestingly, the combination actually does kind of work when doing `-e 2`
2021-06-01 02:10:52
or not really, it just ignores the lossy palette in that case
2021-06-01 02:19:35
ok so it actually works, but the combined artifacts of first doing delta palette and then doing quantization on the squeeze residuals of that are just very extreme 🙂
2021-06-01 02:20:21
this is a -Q 95 squeeze applied to delta palette indices
2021-06-01 02:20:40
2021-06-01 02:21:13
can you guess the original image, <@!179701849576833024> ? 🙂
veluca
2021-06-01 02:21:25
yes xD
_wb_
2021-06-01 02:22:54
problem is that an off-by-one in a delta palette index can basically ruin the whole image completely
Deleted User
_wb_ can you guess the original image, <@!179701849576833024> ? 🙂
2021-06-01 02:23:33
Me too, watched a couple of your videos and slides 😉
_wb_
2021-06-01 02:24:07
2021-06-01 02:24:18
Even at -Q 99.9 it's still extremely glitchy
2021-06-01 02:24:37
cool artistic effect though
fab
2021-06-01 02:24:48
will this become something
_wb_
2021-06-01 02:25:22
this is what `-m --lossy-palette -Q 99.9 -e 4` currently does
fab
2021-06-01 02:25:27
like you can analyze something with this
2021-06-01 02:25:45
or make a new feature
_wb_
2021-06-01 02:25:52
nah
Deleted User
2021-06-01 02:26:29
It's a bug, it shouldn't happen in production software
_wb_
2021-06-01 02:27:45
this is basically like taking a JPEG file (which is already lossy) and then doing a 'mildly lossy' operation consisting of zeroing the least significant bit of every other byte
2021-06-01 02:29:06
it's a bug, that combination of lossy things to do is not useful — not sure if it should throw an error, pick one of the two things, or just show a warning
Deleted User
_wb_ it's a bug, that combination of lossy things to do is not useful — not sure if it should throw an error, pick one of the two things, or just show a warning
2021-06-01 02:31:26
I'm not sure either, that's exactly why I wrote expected behavior in the bug report that way.
_wb_
2021-06-01 02:33:14
maybe just showing a warning is OK, it's an experimental option after all...
Deleted User
_wb_ can you guess the original image, <@!179701849576833024> ? 🙂
2021-06-01 02:57:11
Lena 😄
_wb_
2021-06-01 02:57:27
not quite
Deleted User
2021-06-01 02:58:53
please use more male sample images 😜
Prower250
2021-06-07 01:31:33
AI fun
Deleted User
2021-06-17 10:58:53
_wb_
2021-06-18 12:50:21
i have a bit of a bug to fix before I can make a pull request 🙂
fab
2021-06-24 05:27:40
jpeg compression
2021-06-24 05:28:15
2021-06-24 06:02:45
what you think
2021-06-24 06:02:55
do you think jxl can do better at that bitrate
2021-06-24 06:02:59
jyrki
2021-06-24 06:03:01
wb
_wb_
2021-06-24 06:08:10
In general I think jxl is 30% better than the best jpeg encoder at low fidelity, and 50% better at medium to high fidelity
2021-06-24 06:08:36
While avif is 50% better than jpeg at low fidelity, and 30% better at medium to high fidelity
2021-06-24 06:10:27
Just roughly speaking, ballpark numbers, ignoring image-specific behavior
2021-06-24 06:12:24
For comparison, I think WebP is maybe 10% better than jpeg at low to medium fidelity, same or worse than jpeg at high fidelity. JPEG 2000 maybe 10-15% better (but need a good encoder like Kakadu to get there)
Jyrki Alakuijala
fab do you think jxl can do better at that bitrate
2021-06-24 06:41:29
I haven't been comparing it much against jpeg -- I just compare a new version jpeg xl to the current head of jpeg xl 🙂
2021-06-24 06:54:47
Sami has occasionally compared JPEG XL to a 6 month or 12 month old (etc) version so that we get an idea that we are not just in hypnosis about many small improvements that actually do nothing
2021-06-24 06:55:05
image quality is very subjective and sometimes increments are really small
2021-06-24 06:55:18
but 100 0.1 % improvements is already 10 % 😄
2021-06-24 06:56:13
(or 106 improvements to be more precise)
retr0id
2021-06-24 06:56:13
to be pedantic, it's only a 2.7% improvement 😛
2021-06-24 06:56:39
assuming all those 0.1%'s are compounded
Jyrki Alakuijala
2021-06-24 06:57:32
RetrOid, please explain
retr0id
2021-06-24 06:57:40
oh wait, I did math wrong
2021-06-24 06:58:18
0.1% ^ 100 = 270%
2021-06-24 06:58:55
or 170%
2021-06-24 06:59:42
I did the math wong yet again
2021-06-24 06:59:47
I'll just uh, leave
_wb_
2021-06-24 06:59:54
it depends on what you mean with 0.1% improvement - is the new size 99.9% of the old size, or is the old size 100.1% of the new size, or is it quality that is 0.1% better by some metric, or whatever
Jyrki Alakuijala
2021-06-24 07:52:02
we traditionally measured success in BPP * pnorm (verified with manual viewing, sometimes feasibility only when it actually is a 0.1 % improvement)
2021-06-24 07:53:27
RetrOid, 0.999 ** 100 = 0.9048, i.e., 100 0.1 % improvements lead to about 9.5 % improvement
spider-mario
2021-06-25 09:03:49
and log(0.9) / log(0.999) ≈ 105.3
2021-06-25 09:03:55
(hence the 106 above, I suppose)
fab
2021-06-26 12:48:57
2021-06-26 12:51:09
2021-06-26 12:53:57
Scientia
2021-06-26 03:27:55
?
fab
2021-06-26 03:45:10
just what quality i could find on internet
2021-06-26 03:45:41
first is banding
_wb_
2021-06-26 03:47:29
Poor quality is not glitch art
fab
2021-06-26 03:48:04
glitch art is like those exagone you had while bug in gimp of jpeg
2021-06-26 04:22:19
is interesting that no one of the three people did well an encode
Master Of Zen
2021-06-28 03:29:54
2021-06-28 03:30:01
Like that only on preview
2021-07-27 02:59:08
diskorduser
2021-08-27 01:35:21
mastercooker
2021-09-13 05:44:45
_wb_
2021-09-15 03:16:48
2021-09-15 03:17:13
I am trying to make progressive rendering of modular stuff work again
2021-09-15 03:17:52
this is a 1.1 MB lossy modular image truncated to 2000 bytes
2021-09-15 03:18:42
looks like it's not properly detecting end of stream and decoding a bunch of nonsense (or maybe showing uninitialized memory)
2021-09-15 03:22:28
always funky images when you mess something up
2021-09-15 03:25:31
ah lol
2021-09-15 03:27:15
was giving the bitreader a range of bytes that went nicely into uninitialized memory
2021-09-15 03:27:38
which it happily treats as input bitstream, haha
2021-09-15 03:28:22
I was wondering already why it complained about ANS final state
2021-09-15 03:35:24
always funny to just hack all error checking away and see what happens
Pieter
_wb_ always funny to just hack all error checking away and see what happens
2021-09-15 06:01:07
this is the way
_wb_
2021-09-15 06:15:38
We need an option `djxl --berserk` that just powers through any fatal error
2021-09-15 06:15:59
https://c.tenor.com/Ue0a6X1iRS4AAAAM/scratch-wound.gif
Nova Aurora
_wb_ We need an option `djxl --berserk` that just powers through any fatal error
2021-09-15 07:09:21
You'd have at least one user <:kekw:808717074305122316>
_wb_
2021-09-15 07:10:56
It's a fun way to make glitch art: just change a bit and have a decoder that ignores errors
Nova Aurora
2021-09-15 07:11:51
https://tenor.com/view/slip-mood-robot-oops-boston-robotics-gif-17202212
_wb_
2021-09-15 07:14:51
It would actually be cool to do a little error resilience demo
2021-09-15 07:15:16
Take a 100k image file in any codec
2021-09-15 07:16:21
Make a video, where frame N has the byte at position 100N mutated
2021-09-15 07:16:56
See what can or cannot be decoded
Nova Aurora
2021-09-15 07:17:22
I have no Idea how to implement this but it sounds cool to see <:BlobYay:806132268186861619>
_wb_
2021-09-15 07:18:10
The tricky part is hacking decoders to ignore errors and let them just show whatever they can
2021-09-15 07:18:42
That's something that is useful anyway though, for forensics and data recovery use cases
spider-mario
2021-10-09 04:21:10
I once wrote a small tool to alter some bytes at random in a file, and ran it on ROMs of NES games
2021-10-09 04:21:18
I don’t remember for sure but I think I got some amusing results
2021-10-09 04:21:42
there was a sweet spot of amount of damage to generate
2021-10-09 04:36:40
it seems I had a first version of the script written in perl6, which would only increment or decrement the bytes: ```perl #!/usr/bin/env perl6 use v6; sub MAIN(Int $n, Str $input = '-', Str $output = '-') { my @bytes = slurp(:bin, $input).list; @bytes.pick($n) »+=» (-1, 1).roll: $n; open(:w, :bin, $output).write: Buf.new: @bytes; } ```
2021-10-09 04:37:13
and then wrote a ruby version (maybe perl6 was too slow) with a `--violent` flag that would replace the entire bytes randomly:
2021-10-09 04:37:40
Nova Aurora
2021-10-19 06:09:02
This abomination from <@!272986016242204672>
nathanielcwm
2021-10-19 06:09:12
<:kekw:808717074305122316>
2021-10-19 06:09:19
youtube vp9 1080p btw
2021-10-19 06:09:28
<https://youtu.be/N9VPk44zM78>
2021-10-19 06:10:25
https://youtu.be/I2OObOM3R_U
2021-10-19 06:10:32
<@!224363555074342912> this one is even worse
Nova Aurora
nathanielcwm <@!224363555074342912> this one is even worse
2021-10-19 06:11:18
It's the onion, it might me intentional
nathanielcwm
2021-10-19 06:11:41
no it's not
2021-10-19 06:12:01
it was just a normal video a year ago lol
2021-10-19 06:13:36
https://youtu.be/b86SSlSJAoM
2021-10-19 06:13:40
<@!224363555074342912> reupload lmao
_wb_
2021-10-20 07:00:35
improver
2021-10-20 07:17:45
what caused this
2021-10-20 07:17:51
looks pretty neat as effect
_wb_
2021-10-20 07:39:57
experimenting with how low one can go with bit allocation in fixed point IDCT
2021-10-20 07:40:01
this was too low 🙂
Master Of Zen
2021-10-21 01:42:01
2021-10-21 01:43:41
Full size: https://drive.google.com/file/d/1DClrM6XP5hZWcbDKC37qwcKNsnH7JkgJ/view?usp=sharing
2021-10-21 01:43:55
This is glitches photo from 108mp sensor
Fox Wizard
2021-10-21 01:44:44
Looks like a disco<a:RicardoRGB:681616487894876170>
_wb_
2021-10-21 09:36:23
Deleted User
_wb_
2021-10-24 04:40:59
What's this one? Another IDCT low bit allocation experiment?
2021-10-24 04:41:24
To me it looks like something different
_wb_
2021-10-24 04:49:39
It's a currently still mysterious bug in some experimental fixedpoint idct simulation code
spider-mario
2021-12-01 10:17:41
2021-12-01 10:17:42
“oops”
_wb_
2021-12-01 10:21:47
is that just way too bright or is something else going on? it looks more funky than just too bright
Deleted User
2021-12-01 10:22:31
~~Isn't that negative?~~ It's not. But... it *does* preserve saturation, I guess? 😄
spider-mario
2021-12-01 10:22:36
trying to incorporate the HLG OOTF with saturation preservation
2021-12-01 10:22:52
well, at least it seems to preserve saturation for sure
_wb_
2021-12-01 10:22:59
haha yes
spider-mario
2021-12-01 11:22:45
ah, of course it works better if you only normalize max(r, g, b) to 1 if it is not already below 1
_wb_
2021-12-16 04:00:17
Fox Wizard
2021-12-16 06:39:18
Guetzli bees image?
_wb_
2021-12-16 07:45:14
I accidentally 'optimized' the inverse delta palette transform in a not very correct way, haha
Fox Wizard
2021-12-16 07:48:09
Looks like some Minecraft map I guess <:KekDog:884736660376535040>
Cool Doggo
2021-12-16 07:48:49
i was thinking that too 😄
Fox Wizard
2021-12-16 07:51:24
<:PeepoDiamondSword:805394101340078092>
veluca
2021-12-19 01:20:48
so I got some RLE wrong...
190n
2021-12-19 05:42:09
a message from the deep ✍️
Deleted User
2021-12-21 12:04:27
fast JXL opened in XnView. djxl works correctly so I guess I have to update or switch back to IrfanView.
_wb_
2021-12-23 08:28:28
trying a fast decode path for the RLE-only case
2021-12-23 08:29:43
that was an off-by-one in the interpretation of the run lengths 🙂
190n
2021-12-23 08:31:13
that's pretty <:BlobYay:806132268186861619>
_wb_
2021-12-23 08:46:48
🎶 Every bug is pretty 🎶
2021-12-24 09:40:53
did something wrong again
Fox Wizard
2021-12-26 06:16:40
Does this count as glitch art?
2021-12-26 06:16:41
https://static.ah.nl/static/product/AHI_43545239373431383534_1_LowRes_JPG.JPG?options=399,q85
2021-12-26 06:16:46
https://www.ah.nl/producten/product/wi201961/chimay-tripel
2021-12-26 06:16:57
Biggest grocery store in the Netherlands <:KekDog:884736660376535040>
2021-12-26 06:25:40
Ok, that image is just cursed
2021-12-26 06:26:12
The preview works, but when opened it looks like the image above
2021-12-26 06:26:38
And when optimized then the preview looks like the image above, but it also reduces the size with 40%
_wb_
2021-12-26 07:02:42
Probably exif preview image
novomesk
2021-12-31 06:59:28
improver
2021-12-31 07:00:32
pretty
_wb_
2022-01-22 01:05:09
Please post that off-by-one bug, <@179701849576833024>, it's one of the nicest glitch-arts I have seen in a long time
veluca
2022-01-22 01:07:24
Fox Wizard
2022-01-22 01:07:51
LSD visualized? <:KekDog:884736660376535040>
The_Decryptor
2022-01-22 02:17:30
I've managed to create my own glitch art
_wb_
2022-01-22 02:54:02
Is that the same glitch?
veluca
2022-01-22 08:00:28
not quite working yet
_wb_
2022-01-22 08:31:37
Near-lossless, I would say
2022-01-25 04:48:12
lossless 10-bit!
2022-01-25 04:48:19
(modulo some bugs)
Kagamiin~ Saphri
_wb_ (modulo some bugs)
2022-01-28 02:40:04
FTFY: s/modulo/modular/ >3
MK36_
2022-01-29 10:24:21
_wb_
2022-02-04 10:05:29
I did something wrong
2022-02-04 10:26:40
again
Scope
2022-02-04 10:29:33
https://tenor.com/view/the-matrix-reloaded-matrix-reloaded-neo-keanu-reeves-gif-4011236
Nova Aurora
_wb_ again
2022-02-04 11:35:40
Get this man a nobel prize for proving the matrix exists
VEG
2022-02-05 09:07:02
https://twitter.com/richgel999/status/1489728156441448460
2022-02-05 09:07:18
Not JXL, but looks interesting 🙂
spider-mario
2022-02-08 09:07:49
the background that tried to escape
2022-02-08 09:07:52
(this is an APNG)
Deleted User
spider-mario the background that tried to escape
2022-02-08 10:17:32
sus
DZgas Ж
2022-02-08 08:24:33
Deleted User
DZgas Ж
2022-02-09 01:24:30
【aesthetic】
improver
2022-02-09 05:33:48
truly.
2022-03-19 04:23:41
_wb_
2022-03-19 07:03:13
That looks like avant garde music
yurume
2022-06-30 04:39:26
a large VarDCT image with multiple broken inverse transforms from jxsml 2022-07-01
veluca
2022-06-30 04:56:26
well not *utterly* broken at least 😄
improver
2022-06-30 07:39:20
aesthetic
farter
2022-07-04 04:46:30
me trying to do some new smoothened image resizing method
2022-07-04 04:47:21
some even earlier larger failure
Rally
2022-07-09 10:53:22
Question, how do you lads generally do glitch art?
2022-07-09 10:53:44
Removing/changing raw bytes in a file hoping to get a result that opens?
veluca
2022-07-09 10:59:06
at least in my case, by changing the source code of a lib and inserting actual bugs (by mistake) 🤣
yurume
2022-07-09 11:05:24
organic glitch art
_wb_
2022-07-09 01:58:16
Every bug is beautiful
32 Bit Link
2022-07-26 04:35:43
Some of my older photos got corrupted from a bad SD card...
2022-07-26 04:36:02
2022-07-26 04:36:26
2022-07-26 04:38:33
novomesk
2022-09-10 07:57:50
djxl output on different platforms
_wb_
2022-09-10 08:19:45
Wow, where does that happen? Looks like a big bug...
2022-09-10 08:20:29
Ah or wait... That's a 10-bit image, right?
2022-09-10 08:21:03
djxl is messed up right now when saving png when the jxl is not 8 or 16 bit
novomesk
2022-09-10 08:54:33
It happened on PowerPC (32bit BIG ENDIAN).
2022-09-10 08:58:05
Problem disappeared after I rebuilt highway and libjxl.
Deleted User
2022-10-15 08:57:54
https://discord.com/channels/794206087879852103/804324493420920833/1030947597810159717
Traneptora
2022-10-26 05:36:37
2022-10-26 05:36:45
well that's not what it's supposed to look like <:kek:857018203640561677>
2022-10-26 05:36:54
intended output
2022-10-27 12:34:38
2022-10-27 12:34:40
oo, better
2022-10-27 04:22:42
I believe the dark yellow are negative pixels that wrapped around
2022-10-27 04:22:56
I have to figure out why the self-correcting predictor is outputting negative values
_wb_
2022-10-27 05:12:26
It can totally do that
2022-10-27 05:12:54
Every predictor can
2022-10-27 05:13:45
Modular is often storing negative sample values
2022-10-27 05:15:27
And even when only used for storing uint data, after modular transforms (ycocg, squeeze, delta palette), the channel data does get negative values too
Traneptora
_wb_ Modular is often storing negative sample values
2022-10-27 06:26:15
what happens if the final sample values are negative?
2022-10-27 06:28:06
do I clamp them to zero?
2022-10-27 06:29:31
in this context the problem is that the tree is outputting a difference of -164 on a prediction value of 65
_wb_
2022-10-27 06:35:21
There should be no clamping done, except in two cases: - alpha should get clamped before blending iff that blendingmode flag is set - when at the very end converting the resulting image to a uint type, out of range values need to be clamped
Traneptora
2022-10-27 06:36:01
How am I supposed to present a sample with a value of -99 then?
2022-10-27 06:36:51
see earlier art.jxl file that was uploaded
2022-10-27 06:37:22
unless I have a bug somewhere I don't know about (which is very likely), the globalmodular stream of that outputs some negative values
_wb_
2022-10-27 08:04:12
when converting the final decoded image to 8-bit RGB (or any uint type), negative values should get clamped to 0 and values above 2^bitdepth - 1 should get clamped to 2^bitdepth - 1
2022-10-27 08:05:42
(but conceptually, a value of of -99 is "blacker than black" and e.g. in the case of multiple frames that get blended, it should be treated as such, not clamped first)
Traneptora
2022-10-31 10:07:29
2022-10-31 10:07:32
better than a crash
_wb_
2022-10-31 10:12:31
every bug is beautiful
Snek
novomesk djxl output on different platforms
2022-10-31 01:18:54
was this supposed to make a sierpinski triangle on the bottom <:bjorklul:1033954811839795240>
monad
Snek was this supposed to make a sierpinski triangle on the bottom <:bjorklul:1033954811839795240>
2022-11-01 06:45:07
The bottom image represents desired output, the top represents an error.
Traneptora
Traneptora
2022-11-01 10:12:56
This kids is what an XYB image looks like if interpreted as sRGB
2022-11-01 10:13:02
don't do XYB drugs kids
2022-11-02 06:37:34
2022-11-02 06:37:39
well, something's clearly not being laied down in the right order
2022-11-05 04:19:56
MMMMMM
_wb_
2022-11-05 05:37:26
Yummy patches
Traneptora
2022-11-14 11:21:05
2022-11-14 11:21:15
looks like I'm screwing up the DCT in one direction
2022-11-14 11:29:35
better
2022-11-14 11:29:44
still not perfect (supposed to be all white)
2022-11-14 11:30:02
something's happening with the LF coefficients in the lower two groups
2022-11-14 11:30:18
(I think)
2022-11-14 11:32:55
wait there's only one group in that direction <:Think:813432262166970409>
2022-11-14 12:42:49
fun!
2022-11-14 01:11:20
2022-11-14 01:11:33
fun with DCT
2022-11-14 06:11:19
something happened to the HF coefficients <:KEKW:643601031040729099>
2022-11-15 05:51:17
progress!
2022-11-15 05:51:36
looks like every block is transposed
2022-11-15 05:52:00
which, double checking the spec, is specified
_wb_
2022-11-15 06:22:24
Nice kaleidoscope effect
Traneptora
2022-11-15 08:39:00
well then, something went wrong <:KEKW:643601031040729099>
2022-11-15 08:39:30
in addition to only decoding a single LF group I mean
Rally
Traneptora MMMMMM
2022-11-23 07:49:06
going around the server for once in a while and this reminds me of these game console firmware/bios corruption vids lmfao