Need help with cut_image?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

yangxuan0928
139 Stars 56 Forks 6 Commits 1 Opened issues

Description

使用python PIL 库将一张照片切分为9张图

Services available

!
?

Need anything else?

Contributors list

cut_image

使用python PIL 库将一张照片切分为9张图

举例

例子1:不规则图形,先填充白边再切分

原图:

python

进行切图后:

例子2:其他照片

原图:

python

进行切图后:

依赖

Python 2.7

PIL: pip install pillow

Python 3

PIL: pip3 install pillow

运行

python3 cut_pic.py

用处

可以发一个高逼格的朋友圈

推荐

查看文档及视频教程,请关注微信公众号:大数据前沿 消息窗口回复:微信切图

扫码下方二维码关注,更多好玩的项目及干货等着你。

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.