第三方插件 ComfyUI-Easy-Use

图像比率

ImageRatio 232

用于计算图像的宽高比例。

节点中英文对比

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

中文节点
图像比率
  • image
  • width_ratio_int
  • height_ratio_int
  • width_ratio_float
  • height_ratio_float
  • 英文节点
    ImageRatio
  • image
  • width_ratio_int
  • height_ratio_int
  • width_ratio_float
  • height_ratio_float
  • 参数说明

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

    输入参数
    image image
    输入图像张量。支持单张图像。
    输出参数
    width_ratio_int width_ratio_int
    最简化后的宽度比例(整数)。
    height_ratio_int height_ratio_int
    最简化后的高度比例(整数)。
    width_ratio_float width_ratio_float
    与整数相同,保留为 float 类型。
    height_ratio_float height_ratio_float
    与整数相同,保留为 float 类型。

    详细说明

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

    暂无节点说明

    同类节点导航

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