-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Certain images have a very washed out appearance in both the thumbnail and viewing the actual image #42
Comments
I can reproduce this. At first I suspected maybe it was Photo Viewer that couldn't render 16bit pixels well, but it can render PNG well and I can also confirm that the converted JXL (generated by simple Unsure what could be the cause, but attaching JXL for future reference. 348500482-b548d3fa-c9df-4e67-bcfa-32935a0e3b80.zip |
jxlinfo reports "709 transfer function" instead of "sRGB transfer function" which is something interesting.
|
The decode result of jxl-oxide-cli also looks broken, so I guess this is the library problem. I'll report there. (Edit: tirr-c/jxl-oxide#318) |
Actually, djxl gives the same washed out result. Huh? |
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:
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:
MediaInfo doesn't seem to give anything useful on JXL files yet though but Gimp gives me this in the image properties:
The text was updated successfully, but these errors were encountered: