首页/ 节点库/ Resize Image (deprecated)
第三方插件 ComfyUI-KJNodes

Resize Image (deprecated)

用于调整图像的尺寸。Resize Image (deprecated)-

Resize Image (deprecated) 2026-01-28 收录 537 次浏览

节点中英文对比

ComfyUI 结构对照

按当前节点配置,分别展示中文与英文节点结构。面板按 ComfyUI 实际界面还原: 左侧圆点是输入,右侧圆点与该行最右的名称为输出,下方胶囊是控件参数; 控件两端的三角表示可切换的选项。

中文节点 13 项
Resize Image (deprecated)
image IMAGE
width_input width
height_input height
get_image_size
width —
height —
upscale_method —
keep_proportion —
divisible_by —
crop —
英文节点 13 项
Resize Image (deprecated)
image IMAGE
width_input width
height_input height
get_image_size
width —
height —
upscale_method —
keep_proportion —
divisible_by —
crop —
模型 条件 / 数值 Latent 其它类型 左圆点 = 输入,右圆点 = 输出 可切换选项 — 未设置默认值

面板用于对照参数位置与命名,不做交互;实际节点外观以 ComfyUI 内的主题为准。

参数说明

输入 4 · 输出 3 · 控件 6

依据当前节点关联的 NodesItems 数据,按输入、输出、控件三类分别列出名称与说明。

输入参数 4 项
image image
要调整大小的输入图像。
width_input width_input
可选传入的宽度。
height_input height_input
可选传入的高度。
get_image_size get_image_size
可选输入图像,将其宽高作为最终缩放尺寸(替代 width/height 参数)。
输出参数 3 项
IMAGE IMAGE
缩放处理后的图像。
width width
输出图像的最终宽度。
height height
输出图像的最终高度。
控件参数 6 项
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 表示居中裁剪。

节点详解

原理 · 用法 · 常见问题
暂无节点说明

常见问题

按节点参数整理
Resize Image (deprecated)是做什么的?
用于调整图像的尺寸。Resize Image (deprecated)-
Resize Image (deprecated)有哪些输入参数?
共 4 个输入,包括 image(image)、width_input(width_input)、height_input(height_input)、get_image_size(get_image_size)。
Resize Image (deprecated)的输出是什么?
共 3 个输出:IMAGE(IMAGE)、width(width)、height(height)。
Resize Image (deprecated)有哪些可调参数?
共 6 个控件参数,包括 width(width)、height(height)、upscale_method(upscale_method)、keep_proportion(keep_proportion)、divisible_by(divisible_by)、crop(crop)。
Resize Image (deprecated)属于哪个节点包?
属于「ComfyUI-KJNodes」,节点分类为「第三方插件」。

同类节点

ComfyUI-KJNodes