Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chiwent/wow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3 Commits

Repository files navigation

wow

在终端上输出ANSI图案

Demo

demo1

demo2

请注意,执行带-ixt的参数选项前请自行编译好img2xterm并且创建软链接

sudo ln -s img2xterm /usr/bin

注:
下面这两个demo是通过直接调用编译好的img2xterm输出的,所以没有文字(当然,你也可以直接通过imgxterm xxx.jpg来实现,本身imgxterm就是一个可以输出图案的可执行文件)

demo3

demo4

关于本项目

fork自 dogeimg2xterm
大致介绍二者的联系:

doge

doge依赖于img2xterm,它需要后者输出的文件内容来确定图案(通过img2xterm -p xxx.jpg xxx.txt来导出文件,文件后缀还可以是.cow)

官方说明文档:
doge Readme

另外一个汉化的fork项目有中文翻译:
quin Readme

img2xterm

Readme

img2xterm依赖于 ImageMagick and Ncurses

本人在Ubuntu16.04上编译通过,通过下面命令安装:

sudo apt-get install libmagickwand4 libncurses5-dev

补充说明:
本人在Ubuntu16.04中无法通过上述命令直接安装libmagickwand4,可以到Ubuntu软件中心下载:
https://launchpad.net/ubuntu/precise/amd64/libmagickwand4

使用上的问题可以通过终端提示内容查看,或者可以到doc文件夹下查看说明文档

About

终端ANSI图

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /