How do I display images in the terminal? I am on Mac OSX mountain lion (10.8.5), and the answers in this question don't work on OSX. Is it possible at all?
xdg-opento open a viewer from terminal
- convert to ascii art
vlcto output video as ascii art
pxl is the best tool I have found for xterm-256color terminals.
iTerm has specific tools to inline images (search
iTerm imgcat and
imgls) but those are kind of cheats (that work great :D).
gif-cli works for GIFs, but ... not well at all. Its author has tools for videos and images, too.
imgcat: Just shows the image, with no scaling or anything. The screenshot was bigger than SO's limit, unfortunately. (SO should include a compression mechanism. 🙄) Supports a variety of formats, including animated GIFs.
Update: Kitty is a cross-platform terminal emulator that supports custom protocols that allow it to render bitmaps. It's very feature-rich, I suggest you try it.