Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3f720f02d2 | |||
| a99cb57a2f | |||
| 6db10c0c83 | |||
| 8bdd18bdcf | |||
| 1bf6d6448c | |||
| 7bde3ce551 | |||
| 7ad0538039 |
12
app.py
12
app.py
@@ -1,7 +1,7 @@
|
|||||||
"""
|
"""
|
||||||
图片编辑器 - Image Editor v1.2.0
|
图片编辑器 - Image Editor v1.2.7
|
||||||
前端图片处理工具:合并、分割、挖孔填充、圆形切图、文字图片等
|
前端图片处理工具:合并、分割、挖孔填充、圆形切图、文字图片等
|
||||||
v1.2.0: 右侧面板实时配置,无需弹框
|
v1.2.7: 修复合并图片紧密拼接问题
|
||||||
|
|
||||||
端口: 19018
|
端口: 19018
|
||||||
"""
|
"""
|
||||||
@@ -25,7 +25,7 @@ def index():
|
|||||||
|
|
||||||
@app.route('/api/health')
|
@app.route('/api/health')
|
||||||
def health():
|
def health():
|
||||||
return jsonify({'status': 'ok', 'version': '1.2.0', 'time': datetime.now().isoformat()})
|
return jsonify({'status': 'ok', 'version': '1.2.7', 'time': datetime.now().isoformat()})
|
||||||
|
|
||||||
@app.route('/api/save', methods=['POST'])
|
@app.route('/api/save', methods=['POST'])
|
||||||
def save_image():
|
def save_image():
|
||||||
@@ -64,9 +64,9 @@ def list_images():
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
print("=" * 50)
|
print("=" * 50)
|
||||||
print("图片编辑器 - Image Editor v1.2.1")
|
print("图片编辑器 - Image Editor v1.2.7")
|
||||||
print("=" * 50)
|
print("=" * 50)
|
||||||
print("右侧面板实时配置,操作更流畅")
|
print("修复合并图片紧密拼接问题")
|
||||||
print(f"访问地址: http://localhost:19018")
|
print(f"访问地址: http://localhost:19018")
|
||||||
print("=" * 50)
|
print("=" * 50)
|
||||||
app.run(host='0.0.0.0', port=19018, debug=True)=True)
|
app.run(host='0.0.0.0', port=19018, debug=True)
|
||||||
BIN
outputs/edited_1776755761871.png
Normal file
BIN
outputs/edited_1776755761871.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 763 KiB |
BIN
outputs/edited_1776761087118.png
Normal file
BIN
outputs/edited_1776761087118.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 763 KiB |
BIN
outputs/edited_1776778260696.png
Normal file
BIN
outputs/edited_1776778260696.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 768 KiB |
BIN
outputs/edited_1776778342793.png
Normal file
BIN
outputs/edited_1776778342793.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 767 KiB |
BIN
outputs/edited_1776778549740.png
Normal file
BIN
outputs/edited_1776778549740.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 796 KiB |
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user