SpikeXy / ConvertJpg2Svg.alioss

把Jpg转换到svgi 通过一个exe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

原项目地址:python-turtle-draw-svg

这里只是把不需要的动作都去掉,用阿里的OSS功能,大量的转图传到OSS

python-turtle-draw-svg

GitHub issues GitHub forks GitHub stars GitHub license

可以把位图转化为svg然后使用turtle库画出来。

Usage

usage: main.py [-h] [-c COLOR] filename

Convert an bitmap to SVG and use turtle libray to draw it.

positional arguments:
  filename              The file(*.jpg, *.png, *.bmp) name of the file you
                        want to convert.

optional arguments:
  -h, --help            show this help message and exit
  -c COLOR, --color COLOR
                        How many colors you want to draw.(If the number is too
                        large that the program may be very slow.)

Dependents

See requirements.txt .

Demo Video

【自制展示】用 Python的 turtle库画小姐姐

Reference

  1. potrace.exe
  2. Python123
  3. 深度掌握SVG路径path的贝塞尔曲线指令
  4. K-Means Clustering in OpenCV

License

The GNU GPLv3 License.

Copyright (c) 2018 tfx2001

About

把Jpg转换到svgi 通过一个exe

License:GNU General Public License v3.0


Languages

Language:Python 100.0%