第三方插件 ComfyUI_essentials

Image Resize

Image Resize 212

节点中英文对比

按当前节点配置,分别展示中文与英文节点结构。

中文节点
Image Resize
  • image
  • IMAGE
  • width
  • height
  • width
    height
    interpolation
    method
    condition
    multiple_of
    英文节点
    Image Resize
  • image
  • IMAGE
  • width
  • height
  • width
    height
    interpolation
    method
    condition
    multiple_of

    参数说明

    依据当前节点关联的 `NodesItems` 数据展示输入、输出与控件说明。

    输入参数
    image image
    必须参数,传入待处理的图像
    输出参数
    IMAGE IMAGE
    输出处理后的图像
    width width
    处理后的宽度
    height height
    处理后的高度
    控件参数
    width width
    目标的宽度
    height height
    目标的高度
    interpolation interpolation
    插值算法,可选: nearest bilinear bicubic area nearest-exact lanczos
    method method
    缩放方式: stretch: 强制拉伸为指定尺寸(不保持比例) keep proportion: 等比缩放至目标框内 fill / crop: 填充后裁剪至目标尺寸 pad: 等比缩放后留黑边(padding)
    condition condition
    缩放条件: always: 始终执行缩放 downscale if bigger: 仅当图像尺寸大于目标时缩小 upscale if smaller: 仅当图像尺寸小于目标时放大 if bigger area: 仅当图像面积大于目标时缩小 if smaller area: 仅当图像面积小于目标时放大
    multiple_of multiple_of
    输出宽高是否需要是某个倍数(如 8、16、64 等),默认为 0 表示不限制。

    详细说明

    结合节点用途、参数和调用方式,给出更完整的说明内容。

    暂无节点说明

    同类节点导航

    继续浏览同一分类下的相邻节点,方便串联学习。