Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qfcy/tkinter-painter
A painter program developed using the tkinter Canvas widget, supporting the opening, editing, and saving of documents, as well as setting document properties, allowing customization of brush thickness, brush color, and background color. 应用tkinter的Canvas控件开发的画板程序, 支持打开、编辑和保存文档,以及设置文档属性功能,可自定义画笔粗细,以及画笔颜色、背景颜色。
https://github.com/qfcy/tkinter-painter
canvas documents graphics painter python stroke tkinter
Last synced: 15 days ago
JSON representation
A painter program developed using the tkinter Canvas widget, supporting the opening, editing, and saving of documents, as well as setting document properties, allowing customization of brush thickness, brush color, and background color. 应用tkinter的Canvas控件开发的画板程序, 支持打开、编辑和保存文档,以及设置文档属性功能,可自定义画笔粗细,以及画笔颜色、背景颜色。
- Host: GitHub
- URL: https://github.com/qfcy/tkinter-painter
- Owner: qfcy
- License: gpl-3.0
- Created: 2024-10-25T10:27:02.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-12-29T07:46:04.000Z (about 1 month ago)
- Last Synced: 2024-12-29T08:27:52.545Z (about 1 month ago)
- Topics: canvas, documents, graphics, painter, python, stroke, tkinter
- Language: Python
- Homepage:
- Size: 44.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
应用tkinter的Canvas控件开发的画板程序,
支持绘制丰富多样的图形,并支持撤销、重做,
支持打开、编辑和保存文档,以及设置文档属性功能,可自定义画笔粗细和颜色,以及背景颜色,
支持保存为vec, json, jpg, png等多种文件格式,其中.vec为默认的格式。
最近更新 v1.4.2: 修复bug,并精简了部分源代码, 使程序更加可读。
更新 v1.4.1: 添加了保存为jpg, png等图像文件的功能。
截图:
.. image:: https://img-blog.csdnimg.cn/direct/d873c69c909245049235ad0c79fc313c.png
:alt: 截图说明:example目录中的.vec和.dat文件是画板的示例文件,也就是画板程序能打开的文档。
其中的.dat文件为二进制格式,需使用v1_4_1_test.py打开和保存。