{"repo":"hzeller/timg","free":true,"listed":false,"github":"https://github.com/hzeller/timg","clone":"git clone https://github.com/hzeller/timg.git","description":"A terminal image and video viewer.","language":"C++","stars":2729,"topics":["ascii-art","gif","image","image-viewer","iterm2","jpeg","kitty-terminal","png","terminal","unicode-art"],"license":"GPL-2.0","category":"cli-tools","readme_excerpt":"Terminal Image and Video Viewer =============================== &nbsp; https://timg.sh/ A user-friendly terminal image viewer that uses graphic capabilities of terminals (Sixel, Kitty or iterm2), or 24-Bit color capabilities and unicode character blocks if these are not available. On terminals that implement the [sixel] protocol, the [Kitty Graphics Protocol], or the [iTerm2 Graphics Protocol] this displays images in full resolution. But even the fallback block display is usable. Displays regular images, plays animated gifs, scrolls static images and plays videos. Useful if you want to have a quick visual check without leaving the comfort of your shell and having to start a bulky image viewer. Sometimes this is the only way if your terminal is connected remotely via ssh. And of course if you don't need the resolution. While icons typically fit pixel-perfect, larger images are scaled down to match the resolution. The command line accepts any number of image/video filenames that it shows in sequence one per page or in a grid in multiple columns, depending on your choice of --grid . The output is emitted in-line with minimally messing with your terminal, so you can simply go back in history using your terminals' scroll-bar (Or redirecting the output to a file allows you to later simply cat that file to your terminal. Even less -R seems to be happy with it). Pixelation On a regular terminal, block-characters are used to output images. Half blocks present pixels color-accurately, ","default_branch":null,"files":null,"tree":[],"storefront":"/r/hzeller","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hzeller/timg/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}