Nodes/ComfyMath/ImageAspectResolution
ComfyUI Node

ImageAspectResolution

Calculates a resolution from an image aspect ratio, target megapixels, and pixel multiple.

By rabanti-github·Created about a month ago·Updated 18 days ago· 0
ImageAspectResolution
  • image
  • width
  • height
megapixels1.00
multiple16
Categorymath/graphics

Inputs (3)

NameTypeDefaultDescription
imageIMAGE
megapixelsFLOAT1.00
multipleINT161–512

Outputs (2)

NameTypeDescription
widthINT
heightINT