首页/ 节点库/ Load & Resize Image
第三方插件 ComfyUI-KJNodes

Load & Resize Image

用于加载和调整图像大小。Load & Resize

Load & Resize Image 2026-01-28 收录 420 次浏览

节点中英文对比

ComfyUI 结构对照

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

中文节点 14 项
Load & Resize Image
image
遮罩
width
height
image_path
image —
resize —
width —
height —
repeat —
keep_proportion —
divisible_by —
mask_channel —
background_color —
英文节点 14 项
Load & Resize Image
image
mask
width
height
image_path
image —
resize —
width —
height —
repeat —
keep_proportion —
divisible_by —
mask_channel —
background_color —
模型 条件 / 数值 Latent 其它类型 左圆点 = 输入,右圆点 = 输出 可切换选项 — 未设置默认值

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

参数说明

输出 5 · 控件 9

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

输出参数 5 项
image image
加载后的图像张量,范围 [0, 1],格式为 [B, H, W, C]。
遮罩 mask
依据所选通道提取的掩码,范围 [0, 1]。
width width
最终输出图像的宽度。
height height
最终输出图像的高度。
image_path image_path
加载图像的绝对路径。
控件参数 9 项
image image
从输入目录中选择的图像文件。支持图片上传。
resize resize
是否启用图像缩放。
width width
缩放目标宽度(像素)。
height height
缩放目标高度(像素)。
repeat repeat
重复输出图像的次数。
keep_proportion keep_proportion
是否保持原始宽高比例。
divisible_by divisible_by
输出图像的宽高应被该值整除。
mask_channel mask_channel
用作掩码提取的通道,可选值:alpha、red、green、blue。
background_color background_color
当图像有 alpha 通道时,用此颜色填充背景(RGB)。可用格式:"255,255,255" 或 "#ffffff"。若留空,则不合成背景。

节点详解

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

常见问题

按节点参数整理
Load & Resize Image是做什么的?
用于加载和调整图像大小。Load & Resize
Load & Resize Image的输出是什么?
共 5 个输出:image(image)、遮罩(mask)、width(width)、height(height)、image_path(image_path)。
Load & Resize Image有哪些可调参数?
共 9 个控件参数,包括 image(image)、resize(resize)、width(width)、height(height)、repeat(repeat)、keep_proportion(keep_proportion)。
Load & Resize Image属于哪个节点包?
属于「ComfyUI-KJNodes」,节点分类为「第三方插件」。

同类节点

ComfyUI-KJNodes