ComfyUI Node: LayerUtility: ImageScaleByAspectRatio

Authored by chflame163

Created

Updated

3103 stars

Run LayerUtility: ImageScaleByAspectRatio without installing ComfyUI

This node already runs on ComfyICU. Open it in the browser, hit run, and you're billed for GPU seconds — not for setup, and not while you're idle.

Category

😺dzNodes/LayerUtility

Inputs

aspect_ratio
  • original
  • custom
  • 1:1
  • 3:2
  • 4:3
  • 16:9
  • 2:3
  • 3:4
  • 9:16
proportional_width INT
proportional_height INT
fit
  • letterbox
  • crop
  • fill
method
  • lanczos
  • bicubic
  • hamming
  • bilinear
  • box
  • nearest
round_to_multiple
  • 8
  • 16
  • 32
  • 64
  • 128
  • 256
  • 512
  • None
scale_to_longest_side BOOLEAN
longest_side INT
image IMAGE
mask MASK

Outputs

IMAGE

MASK

BOX

INT

INT

Extension: ComfyUI Layer Style

A set of nodes for ComfyUI it generate image like Adobe Photoshop's Layer Style. the Drop Shadow is first completed node, and follow-up work is in progress.

Authored by chflame163

Looking for a different node?

Run LayerUtility: ImageScaleByAspectRatio without installing ComfyUI

This node already runs on ComfyICU. Open it in the browser, hit run, and you're billed for GPU seconds — not for setup, and not while you're idle.

Learn more