Closed hankertrix closed 1 month ago
Version: 0.3.3 (Arch Linux 2024-09-05)
Yazi has supported transparent images only since PR #1556. Currently, you need to use the nightly version.
Also make sure to do a yazi --clear-cache
after upgrading to the latest version
Ah I see, I forgot to do yazi --clear-cache
after running the latest master version.
Sorry for the noise.
I'm going to lock this issue because it has been closed for 30 days. ⏳ This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please file a new issue and complete the issue template so we can capture all the details necessary to investigate further.
What system are you running Yazi on?
Linux X11
What terminal are you running Yazi in?
kitty 0.36.4
yazi --debug
outputDid you try the latest nightly build to see if the problem got fixed?
Yes, and I updated the debug information above (
yazi --debug
) to the nightly that I triedDescribe the bug
The image previewer for Kitty is displaying weird artefacts on transparent PNG images like shown:
This is how it should look like:
Minimal reproducer
Preview these images in Yazi:
You will find that all of them have weird artefacts.
Anything else?
Joshuto seems to preview these images just fine, as shown:
Joshuto uses ratatui-image to do its image previews, so maybe following what ratatui-image does would work.