I have been saving screenshots with mpv for years now and have been using a very high quality setting resulting in very large png files. I was trying to convert my entire collection to a much smaller, yet still lossless, file format and was going to give JXL a shot now again in 2024.
These are the settings I have been using to take screenshots in mpv often resulting in 10MB+ size png images:
screenshot-format=png
screenshot-high-bit-depth=yes
screenshot-png-compression=9
screenshot-directory='~/Pictures/mpv/'
Relevant section of mpv manual for reference
I installed this thumbnailer and after getting it working, I noticed that pretty much all of the thumbnails had this very washed out look to them. It basically looks like the original image has been destroyed. If I convert directly from the source png to the lossless jxl by basically any method I tried such as ffmpeg or XL converter, I get these washed out thumbnails. If I convert the source png to a png again, and then to JXL I actually get a normal looking image.
Example of what I'm seeing in the file explorer:
Then, upon opening them in the included image viewer I see the same washed out appearance as the thumbnail. However, opening them in another JXL capable image viewer such as ImageGlass, the image looks just fine as it was intended.
This is the same exact file just open in the 2 different programs:
It seems the images are actually fine but there is something about how this particular program is decoding them which is just destroying the contrast and colors. Even gimp is seeing these images as washed out but IrfanView seems to be seeing it correctly like ImageGlass does. I don't know why only certain programs are correctly decoding it.
Information about the video the screenshots were being pulled from:
MediaInfo text output of one of the source PNG files:
General
Complete name : C:\Users\kft\Pictures\issue\3-1 source.png
Format : PNG
Format/Info : Portable Network Graphic
File size : 9.84 MiB
Image
Format : PNG
Format/Info : Portable Network Graphic
Compression : Deflate
Width : 1 920 pixels
Height : 1 038 pixels
Color space : RGBA
Bit depth : 16 bits
Compression mode : Lossless
Stream size : 9.84 MiB (100%)
MediaInfo doesn't seem to give anything useful on JXL files yet though but Gimp gives me this in the image properties: