Closed TobisLee closed 1 month ago
I can reproduce it with:
fn main() -> Result<(), ImageError> {
let image = image::ImageReader::open("original.jpg")?.decode()?;
image.save("new.jpg")?;
Ok(())
}
and it's a bug in the image-rs
library that Yazi uses, see https://github.com/image-rs/image/issues/2247
We'll have to wait for an upstream fix, I don't think there's anything Yazi can do about it in this situation.
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 open 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 Wayland
What terminal are you running Yazi in?
kitty 0.36.1
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 preview color is not correct. From left to right: in ranger, in gwenview, in yazi. I tested some other images, but none of them are as obvious as this one. I'll put the image down below.
Minimal reproducer
Anything else?