简体   繁体   中英

How are images shown in the terminal

Some packages like w3m-img, fim, lsix etc can be used to show the images directly on the terminal itself on linux.

I am not talking about converting the image into an ASCII character version and showing it but the image itself which looks proper without any the artifacts.

so how do these programs actually draw the images onto the terminal?

I've used Feh in the past. It should be already installed on popular Linux distributions. To use it, simply do the following:

feh your-image.jpeg

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM