Nodes/Krea2_ComfyUI_Advanced/Eric Krea2 Latent Resize
ComfyUI Node

Eric Krea2 Latent Resize

A ComfyUI node in Eric/Krea2 with 6 inputs and 4 outputs.

By EricRollei·Created about a month ago·Updated 10 days ago· 5
Eric Krea2 Latent Resize
  • latent
  • latent
  • width
  • height
  • dims
modescale
scale2.00
width0
height0
megapixels3.00
CategoryEric/Krea2

Inputs (6)

NameTypeDefaultDescription
latentKREA2_LATENT
modeCOMBOscalescale: multiply both dims by 'scale'. dimensions: use width/height (0 on one axis = derive from the source aspect). megapixels: target area in MP, keeping the source aspect.
scaleoptFLOAT2.000.05–8Linear scale factor for 'scale' mode (2.0 = 2x each side = 4x area). Values < 1 downscale.
widthoptINT00–8192Target width for 'dimensions' mode (0 = derive from height + source aspect). Wire the Eric Krea2 Resolution node here. Rounded to /16.
heightoptINT00–8192Target height for 'dimensions' mode (0 = derive from width + source aspect). Rounded to /16.
megapixelsoptFLOAT3.000.05–16Target area in megapixels for 'megapixels' mode (source aspect kept).

Outputs (4)

NameTypeDescription
latentKREA2_LATENT
widthINT
heightINT
dimsSTRING