Giter Club home page Giter Club logo

Comments (3)

atextor avatar atextor commented on May 30, 2024

Hi, icat by default uses indexed (256 colors) mode. To enable 24bits, use the switch '-m 24bit' or '-m both'.

from icat.

Morpheus3000 avatar Morpheus3000 commented on May 30, 2024

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.

atextor avatar atextor commented on May 30, 2024

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 use img2sixel to output images
  • Someone also wrote a patch to support libsixel in urxvt

from icat.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.