- 新增4种resize方法:fill、crop、letterbox、stretch - fill模式:缩放填满目标尺寸,可能裁剪边缘(默认) - crop模式:保持宽高比,居中放置,黑色填充不足部分 - letterbox模式:保持宽高比,添加黑边,完整保留内容 - stretch模式:直接拉伸到目标尺寸,可能扭曲比例 - 新增4种插值方法:nearest、bilinear、bicubic、lanczos - 支持高质量Lanczos插值(默认)和快速nearest插值 - 完善的resize逻辑:智能处理各种宽高比场景
31 lines
854 B
TOML
31 lines
854 B
TOML
[project]
|
|
name = "universaltoolkit"
|
|
description = "A comprehensive toolkit based on ComfyUI, providing image, mask, audio, and tools nodes, fully modular and v3 compatible."
|
|
version = "1.3.6"
|
|
license = {file = "LICENSE"}
|
|
dependencies = [
|
|
"torch",
|
|
"numpy",
|
|
"Pillow",
|
|
"opencv-python"
|
|
]
|
|
requires-python = ">=3.8"
|
|
classifiers = [
|
|
"Operating System :: OS Independent",
|
|
"Environment :: GPU :: NVIDIA CUDA"
|
|
]
|
|
|
|
[project.urls]
|
|
Repository = "https://github.com/whmc76/ComfyUI-UniversalToolkit"
|
|
Documentation = "https://github.com/whmc76/ComfyUI-UniversalToolkit/wiki"
|
|
"Bug Tracker" = "https://github.com/whmc76/ComfyUI-UniversalToolkit/issues"
|
|
# Used by Comfy Registry https://registry.comfy.org
|
|
|
|
[tool.comfy]
|
|
PublisherId = "whmc76"
|
|
DisplayName = "ComfyUI-UniversalToolkit"
|
|
Icon = ""
|
|
Banner = ""
|
|
requires-comfyui = ">=1.0.0"
|
|
includes = []
|