用于在终端上显示图像的python库

teimp的Python项目详细描述


#泰姆比
[![PYPI版本](https://badge.fury.io/py/teimpy.svg)(https://badge.fury.io/py/teimpy)
[![麻省理工学院许可](https://img.shields.io/badge/license mit blue.svg)](https://raw.githubusercontent.com/amplify education/serverless domain manager/master/license)
[![构建状态](https://travis-ci.org/ar90n/teimpy.svg?(https://travis ci.org/ar90n/teimpy)



python在终端上显示图像的python库。

.array([1.0,0,0])
g=np.array([0,1.0,>b=np.array([0,0,0,1.0])


>def-get-u颜色(x,y):
>tmp=(y*(1.0-x)*r+(1.0-y)*x*g+(1.0-y)*(1.0-x)*b)
>return(255*tmp)
>b=np.astype(np.uint8)

>b=np.linspace(0,1,128)
>xss,ys=np.meshgrid(tictictictictics,tics)
>np.meshgrid=np.meshgrid。缓冲区=np.矢量化(_get_color,signature='),(->;(3))(xs,ys)
打印(获取抽屉(mode.iterm2_inline_image).draw(buffer))
````
![doit.py的结果](https://github.com/ar90n/teimpy/raw/docs/doit.png)



\feature


*调整图像大小以适应终端大小。
*使用iterm2内联图像绘制。
![使用iterm2内联图像绘制](https://github.com/ar90n/teimpy/raw/docs/inline_image.png)
*使用盲文字体绘制。
![布莱叶OFNTS绘图](https://github.com/ar90n/teimpy/raw/docs/braille.png)
*使用半块字体绘图。
![使用半块字体绘制](https://github.com/ar90n/teimpy/raw/docs/half懔u block.png)



欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
将数据从Storm上载到ElasticSearch时发生java错误   java组织。冬眠HibernateeException:无法访问lob流   调用Glassfish上的Jersey 2 REST端点时使用java 404   内置类中的java反射   SwingJava:创建程序的映像   使用堆栈的java加法?   Java代码在NetBeans中正常工作,但在安卓 6.0中不工作   java解析com。Windows上的apple导入错误   之后,json无法向Java JsonNode添加更多字段。set(“字段名”,JsonNode)   GWT中的java本地化替代方案   java如何配置持久性。指向MongoDB的xml   Evernote初始同步中的java大USN值   我怎样才能知道这个JavaAPI更改是什么时候发生的?