Nodes/LF Nodes/Resolution switcher
ComfyUI Node

Resolution switcher

A ComfyUI node in ✨ LF Nodes/Logic with 6 inputs and 3 outputs.

By lucafoscili·Created 2 years ago·Updated about a year ago· 50
Resolution switcher
  • ui_widget
  • width
  • height
  • is_landscape
chance_landscape20
portrait_width832
portrait_height1216
landscape_width1216
landscape_height832
Category✨ LF Nodes/Logic

Inputs (6)

NameTypeDefaultDescription
chance_landscapeFLOAT200–100Percentage chance for landscape output, 0-100.
portrait_widthINT832Width when the image is portrait-oriented.
portrait_heightINT1216Height when the image is portrait-oriented.
landscape_widthINT1216Width when the image is landscape-oriented.
landscape_heightINT832Height when the image is landscape-oriented.
ui_widgetoptKUL_PROGRESSBAR[object Object]

Outputs (3)

NameTypeDescription
widthINT
heightINT
is_landscapeBOOLEAN