Nodes/ComfyUI-AutoFlow/Image Resize Calculator
ComfyUI Node

Image Resize Calculator

A ComfyUI node in AutoFlow/Image with 3 inputs and 2 outputs.

By ZXL-Xinram·Created about a year ago·Updated 8 months ago· 4
Image Resize Calculator
    • width_max
    • height_max
    width1024
    height1024
    num_pixels1048576
    CategoryAutoFlow/Image

    Inputs (3)

    NameTypeDefaultDescription
    widthINT10241–65536Original image width
    heightINT10241–65536Original image height
    num_pixelsINT10485761–16777216Target maximum total pixels (width_max * height_max <= num_pixels)

    Outputs (2)

    NameTypeDescription
    width_maxINT
    height_maxINT