-
-
Notifications
You must be signed in to change notification settings - Fork 679
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
imgcat shows black image instead of an image #5365
Comments
This improves how non-conforming jpegs are decoded and displayed. refs: #5365
That error message comes from the upstream image and jpeg decoder crates. |
The fix should be available in a nightly build within about an hour from now |
@wez Fix confirmed. Thanks a lot! |
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 Operating System(s) are you seeing this problem on?
macOS
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
20240429-102818-0184e88e
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
For some reason imgcat shows a black image instead:
This was the image used:
And this is the metadata:
$ file 8cd747ff56496debdbe8c8d8e90ec61e.jpg 8cd747ff56496debdbe8c8d8e90ec61e.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, comment: "CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 100", baseline, precision 8, 1280x800, components 3
To Reproduce
Can be reproduced by using the provided image.
Configuration
no config
Expected Behavior
To show the image
Logs
Debug Overlay
wezterm version: 20240429-102818-0184e88e x86_64-apple-darwin
Window Environment: Mac OS X 10.15.7 (19H2026)
Lua Version: Lua 5.4
OpenGL: Intel HD Graphics 4000 OpenGL Engine 4.1 INTEL-14.7.28
Enter lua statements or expressions and hit Enter.
Press ESC or CTRL-D to exit
21:24:57.901 WARN wezterm_gui::glyphcache > image decoder thread terminated
21:24:57.901 ERROR wezterm_gui::glyphcache > Error decoding image: decode image: failed to fill whole buffer
Anything else?
No response
The text was updated successfully, but these errors were encountered: