diff --git a/app.py b/app.py index e2ec164..a448e89 100644 --- a/app.py +++ b/app.py @@ -1,6 +1,7 @@ """ -图片编辑器 - Image Editor +图片编辑器 - Image Editor v1.1.0 前端图片处理工具:合并、分割、挖孔填充、圆形切图、文字图片等 +新增:撤销/恢复功能、合并图片顺序调整、尺寸自定义 端口: 19018 """ @@ -28,7 +29,7 @@ def index(): @app.route('/api/health') def health(): """健康检查""" - return jsonify({'status': 'ok', 'time': datetime.now().isoformat()}) + return jsonify({'status': 'ok', 'version': '1.1.0', 'time': datetime.now().isoformat()}) @app.route('/api/save', methods=['POST']) def save_image(): @@ -79,7 +80,12 @@ def list_images(): if __name__ == '__main__': print("=" * 50) - print("图片编辑器 - Image Editor") + print("图片编辑器 - Image Editor v1.1.0") + print("=" * 50) + print("新增功能:") + print(" - 撤销/恢复操作") + print(" - 合并图片顺序拖拽调整") + print(" - 合并图片尺寸自定义") print("=" * 50) print(f"访问地址: http://localhost:19018") print("=" * 50) diff --git a/outputs/edited_1776739175870.png b/outputs/edited_1776739175870.png new file mode 100644 index 0000000..3e041b5 Binary files /dev/null and b/outputs/edited_1776739175870.png differ diff --git a/outputs/edited_1776739272589.png b/outputs/edited_1776739272589.png new file mode 100644 index 0000000..c2ce037 Binary files /dev/null and b/outputs/edited_1776739272589.png differ diff --git a/templates/index.html b/templates/index.html index e8d34e0..ca124a8 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,7 +3,7 @@ - 图片编辑器 - Image Editor + 图片编辑器 - Image Editor v1.1.0 @@ -86,6 +98,13 @@ 图片编辑器
+ + + @@ -145,14 +164,14 @@
-

操作历史

+

操作历史 (当前: 0/0)

暂无操作
@@ -162,11 +181,39 @@ - +