Comments (3)
Hi, icat by default uses indexed (256 colors) mode. To enable 24bits, use the switch '-m 24bit' or '-m both'.
from icat.
Hi!
Thanks for the reply! I tried it with that switch, but the results seems pixelated. Is there anyway to get around it? I am looking for an effect similar to imgcat that is available on iterm. Seems to me icat resizes the image and then upscales it to terminal size causes it to become pixelated. (I am just speculating, I might be completely wrong here in this assumption.)
from icat.
The results are pixelated, because icat uses the Unicode box characters ▀ and ▄ with the right foreground and background color escapes to draw images, as there is no standard way to output actual images in terminal emulators. There are ways to achieve what you want on Linux, they depend on which terminal emulator you use, though.
- You can use terminology and its special
tycat
tool to output images - mlterm and xterm (compiled with --enable-sixel-graphics option and started with
-ti vt340
option) support libsixel, where you can useimg2sixel
to output images - Someone also wrote a patch to support libsixel in urxvt
from icat.
Related Issues (11)
- Windows client question HOT 2
- Package HOT 9
- icat.c: using pointer after it has gone out of scope HOT 1
- webp support HOT 1
- with imlib2 dependency installed, the 'make' command failed. HOT 4
- Compilation failed on MacOS HOT 3
- Add example to README
- Please tag releases HOT 3
- Should support multiple file arguments
- Sub-optimal color approximation due to Euclidean metric in RGB HOT 1
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 icat.