第三方插件
ComfyUI-KJNodes
Resize Image (deprecated)
用于调整图像的尺寸。Resize Image (deprecated)-
节点中英文对比
按当前节点配置,分别展示中文与英文节点结构。
中文节点
Resize Image (deprecated)
width
height
upscale_method
keep_proportion
divisible_by
crop
英文节点
Resize Image (deprecated)
width
height
upscale_method
keep_proportion
divisible_by
crop
参数说明
依据当前节点关联的 `NodesItems` 数据展示输入、输出与控件说明。
输入参数
image
image
要调整大小的输入图像。
width_input
width_input
可选传入的宽度。
height_input
height_input
可选传入的高度。
get_image_size
get_image_size
可选输入图像,将其宽高作为最终缩放尺寸(替代 width/height 参数)。
输出参数
IMAGE
IMAGE
缩放处理后的图像。
width
width
输出图像的最终宽度。
height
height
输出图像的最终高度。
控件参数
width
width
目标宽度,单位为像素。若为 0 则按比例自动计算。
height
height
目标高度,单位为像素。若为 0 则按比例自动计算。
upscale_method
upscale_method
插值算法,推荐选择 lanczos 获取更清晰缩放图像,bilinear 适合常规用途,area 在图像缩小时表现良好,bicubic 平滑过渡效果较好,nearest-exact 适合像素风格图像。
keep_proportion
keep_proportion
是否保持原图比例进行缩放(优先使用较小边作为参考维度)
divisible_by
divisible_by
最终输出宽高是否强制可被该值整除。设置为 0 表示不启用该规则。
crop
crop
裁剪模式:disabled 表示禁用裁剪,center 表示居中裁剪。
详细说明
结合节点用途、参数和调用方式,给出更完整的说明内容。
暂无节点说明
同类节点导航
继续浏览同一分类下的相邻节点,方便串联学习。