diff --git a/app.py b/app.py index e5f62bb..be9ab81 100644 --- a/app.py +++ b/app.py @@ -1,7 +1,7 @@ """ -图片编辑器 - Image Editor v1.2.5 +图片编辑器 - Image Editor v1.2.6 前端图片处理工具:合并、分割、挖孔填充、圆形切图、文字图片等 -v1.2.5: 修复操作后面板判断问题 +v1.2.6: 操作后显示预览效果,保留原始图片 端口: 19018 """ @@ -25,7 +25,7 @@ def index(): @app.route('/api/health') def health(): - return jsonify({'status': 'ok', 'version': '1.2.5', 'time': datetime.now().isoformat()}) + return jsonify({'status': 'ok', 'version': '1.2.6', 'time': datetime.now().isoformat()}) @app.route('/api/save', methods=['POST']) def save_image(): @@ -64,9 +64,9 @@ def list_images(): if __name__ == '__main__': print("=" * 50) - print("图片编辑器 - Image Editor v1.2.5") + print("图片编辑器 - Image Editor v1.2.6") print("=" * 50) - print("修复操作后面板判断问题") + print("操作后显示预览效果,保留原始图片") print(f"访问地址: http://localhost:19018") print("=" * 50) app.run(host='0.0.0.0', port=19018, debug=True) \ No newline at end of file diff --git a/outputs/edited_1776761087118.png b/outputs/edited_1776761087118.png new file mode 100644 index 0000000..f342684 Binary files /dev/null and b/outputs/edited_1776761087118.png differ diff --git a/templates/index.html b/templates/index.html index bbda8c7..964bed2 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,7 +3,7 @@ - 图片编辑器 - Image Editor v1.2.5 + 图片编辑器 - Image Editor v1.2.6