git clone https://github.com/stefanhaustein/TerminalImageViewer.git cd TerminalImageViewer/src/main/cpp make
之后即可运行tiv
./tiv -help 查看帮助
1 2 3 4 5 6 7 8 9 10 11 12
Terminal Image Viewer
usage: tiv [options] <image> [<image>...]
-0 : No block character adjustment, always use top half block char. -256 : Use 256 color mode. -c<num> : Number of thumbnail columns in 'dir'mode (3). -d : Force 'dir'mode. Automatially selected for more than one input. -f : Force 'full'mode. Automatically selected for one input. -help : Display this help text. -h <num> : Set the maximum height to<num> lines. -w<num> : Set the maximum width to<num> characters.