zed icon indicating copy to clipboard operation
zed copied to clipboard

Images wrong colorspace linux

Open DissolveDZ opened this issue 1 year ago • 0 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

I haven't really done any extensive testing but it appears that all images show in the wrong colorspace on linux (not sure about macOS). Already checked for existing issues but couldn't find any. I believe it's due to this portion of the zed gpui source which loads them as brga8 instead of rgba8, now there's probably a reason for that but currently all the images i try show incorrectly. When confirmed as a bug tell me and i'll open a pull request, i currently have the newest build of zed

I'm not sure if this is a linux related bug or not but it's simply fixed by changing the brga8 to rgba8 image

before:

image

after:

image


Environment

Zed: v1.0.0 (Zed Dev 3289188e0adaa6c6e73836f8beef5abad3982376) OS: Linux 1.0.0 Memory: 23.4 GiB Architecture: x86_64

If applicable, add mockups / screenshots to help explain present your vision of the feature

Already did

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

not relevant

DissolveDZ avatar Apr 13 '24 13:04 DissolveDZ