Comments (4)
The sixel format supports 1-bit transparency, but ImageMagick does not know how to do that yet. The best we can do until that bug is fixed is to detect the terminal's background color and use that. It's not a bad solution as it means we also get antialiased fonts and drop shadows. Does your terminal not report the correct background color? Or, are you using an image or transparent background in your terminal?
from lsix.
The sixel format supports 1-bit transparency, but ImageMagick does not know how to do that yet. The best we can do until that bug is fixed is to detect the terminal's background color and use that. It's not a bad solution as it means we also get antialiased fonts and drop shadows. Does your terminal not report the correct background color? Or, are you using an image or transparent background in your terminal?
lsix is correctly detecting my terminal's background color, but i've set my terminal itself to be 70% transparent, so the background color ends up being a solid color. from what i gather from your reply, it is impossible to get a no-color background currently with imagemagick?
from lsix.
from what i gather from your reply, it is impossible to get a no-color background currently with imagemagick?
Correct. And I'm not even sure that it would look good if it did work. You would lose antialiasing, so it may look grotty.
lsix is correctly detecting my terminal's background color, but i've set my terminal itself to be 70% transparent, so the background color ends up being a solid color.
That makes sense. Can you please send a screenshot of the problem and let me know which terminal you're using? While there's no fix at the moment, I'd like to keep this bug open as a reminder that sixel transparency needs further work and to try some experiments to see if it is worth pursuing.
If you could also run lsix > opaque.six
and attach that file to this bug, I'd appreciate it. I will see if I can make it transparent and how it looks when I do. Thanks!
from lsix.
I just ran into the same problem. Here is how it looks for me.
from lsix.
Related Issues (20)
- DECSDM (private mode 80) is interpreted incorrectly HOT 46
- MacOS brew issues HOT 1
- iterm2 terminal size not detected HOT 8
- (solution) Detect dimensions of `foot` running under Sway HOT 13
- This is fun and i like it! HOT 46
- "unable to open image file" error on Ubuntu 20.04 HOT 9
- Support for Alacritty HOT 4
- Terminal not supported - Siduck76's st (sixel branch) HOT 4
- KDE's konsole fully supports sixel and `lsix` starting with version 22.04 HOT 1
- ERROR: montage: delegate library support not built-in HOT 2
- Your terminal does not report having sixel graphics support HOT 3
- Neovim Terminal with hologram.nvim
- Regression from #55: Alacritty-sixel error "mention attribute codes: ^[[?6c" HOT 8
- paging support HOT 1
- gnome-terminal + vte with sixel support, but lsix not working HOT 2
- Check for other animated formats HOT 7
- lsix error: montage.exe: unable to open image
- lsix doesn't work on Wezterm + Windows + Git Bash shell
- Real text under thumbnails HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsix.