I want to show photo in terminal, but it's diffcult!!
go get github.com/doofOfChoice/termp
Please check whether your xterm can support 256 color, and termp can only deal png
and jpg
.
There is a table that rgb can turn into xterm's color, rgb_to_xterm
↑ ↓ ← → move up/down/left/right
W increase 10 piexl in y
S decrease 10 piexl in y
D increase 10 piexl in x
A decrease 10 piexl in x
SPACE exit