Nodes/ComfyUI-PixelForge/PixelForge · Resolution Selector
ComfyUI Node

PixelForge · Resolution Selector

A ComfyUI node for selecting mathematically valid image resolutions filtered by aspect ratio, orientation, and megapixel limit.

By room3dev·Created 7 months ago·Updated 7 months ago· 0
PixelForge · Resolution Selector
    • width_px
    • height_px
    • ratio_w
    • ratio_h
    • orientation
    • total_megapixels
    aspect_ratio1:1
    orientationsquare
    divisible_by16
    max_megapixels1 MP
    resolution1024×1024
    CategoryPixelForge

    Inputs (5)

    NameTypeDefaultDescription
    aspect_ratioCOMBO1:15 options: 1:1, 3:2, 4:3, 16:9, 16:10
    orientationCOMBOsquare3 options: landscape, portrait, square
    divisible_byCOMBO163 options: 16, 32, 64
    max_megapixelsCOMBO1 MP7 options: 1 MP, 2 MP, 4 MP, 6 MP, 8 MP, 12 MP, +1
    resolutionCOMBO1024×1024692 options: 16×16, 32×32, 32×48, 48×32, 48×48, 48×64, +686

    Outputs (6)

    NameTypeDescription
    width_pxINT
    height_pxINT
    ratio_wINT
    ratio_hINT
    orientationSTRING
    total_megapixelsFLOAT