Comments (3)
Here is an example:
from sclack.
Let me consider it. Thank you for your suggestion
from sclack.
I was kinda curious so I have advanced a bit. I'm in touch with lead Ranger developer and I asked him for help. This is what he replied:
Hi Pavel,
Image rendering in the terminal is a messy subject and is generally
unstable, but perhaps still worth trying ;)
ranger supports multiple methods for rendering images, w3mimgdisplay is
one of them. Another promising option is the recently started project
"Ueberzug" (https://github.com/seebye/ueberzug)
Both programs are standalone executables that read their commands
through STDIN. The format of the command differs between the programs.
For ueberzug it's a simple JSON object as documented in ueberzug's
README.md file. Should look like this:
echo '{"action": "add", "identifier": "xyz", "x": 0, "y": 0, "path":
"/some/path/some_image.jpg"}' | ueberzug layer
w3mimgdisplay's format is not well documented, last time I checked. You
can get some inspiration on how to use it by checking
https://github.com/ranger/ranger/blob/master/ranger/ext/img_display.py ,
at the very end of the method "_generate_w3m_input". It's some string
starting with "0;1;x-pos,y-pos,width,height,...". Perhaps you can find
the full specifications with some googling.
Good luck with your endeavor,
Roman
I guess we can try to give it a chance. Hm? ;)
from sclack.
Related Issues (20)
- Snap Package HOT 1
- brew install libcaca --with-imlib2 -> invalid option: --with-imlib2 HOT 5
- Shared Channels Break Everything HOT 2
- Shared channels only show half the conversation
- Stuck at loading screen and HTTPSConnectionPool error HOT 1
- Unread count does not refresh
- ERROR:root:RTM connection failed, reached max connects HOT 4
- Optional storage of config.json in user home directory HOT 1
- Multi-line support would be nice
- No releases? HOT 3
- Missing icons on MacOS HOT 2
- Thread Support HOT 2
- Custom themes
- Support/instructions for Pipx install HOT 1
- Non-standard config location
- Emoji reactions
- Sclack won't work at bootstrap HOT 10
- Problem with 'scope' in token generation method provided in readme file.
- ConnectionError upon starting app.py HOT 1
- No module named 'sclack' HOT 6
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 sclack.