Nodes/jlc-comfyui-nodes/ JLC Resize Multiple Images
ComfyUI Node

 JLC Resize Multiple Images

Resize one to five independent IMAGE tensors with one shared policy while preserving each input's aspect ratio. Individual outputs retain their own calculated dimensions. The trailing batch output follows ComfyUI ImageBatch behavior and normalizes later results to the first active result's dimensions before concatenation.

By Damkohler·Created 5 months ago·Updated 3 days ago· 23
 JLC Resize Multiple Images
  • image_1
  • image_2
  • image_3
  • image_4
  • image_5
  • image_1
  • image_2
  • image_3
  • image_4
  • image_5
  • batch
slot_count1
resize_byscale longer dimension
multiplier1.00
longer_size1024
shorter_size1024
width1024
height1024
megapixels1.00
scale_methodarea
divisible_by16
Categoryutils/image

Inputs (15)

NameTypeDefaultDescription
image_1IMAGEIncoming IMAGE tensor to resize. If the upstream connected node deliberately outputs None at runtime, this node passes None through.
slot_countINT11–5Number of active image inputs and individual outputs. Press Update Visible Slots to apply the frontend socket layout.
resize_byCOMBOscale longer dimensionAspect-ratio-preserving resize policy.
multiplierFLOAT1.000.01–8Scale factor; 2.0 doubles both dimensions.
longer_sizeINT10241–16384Target size of the source image's longer edge.
shorter_sizeINT10241–16384Target size of the source image's shorter edge.
widthINT10241–16384Target width; height is calculated from aspect ratio.
heightINT10241–16384Target height; width is calculated from aspect ratio.
megapixelsFLOAT1.000.01–64Target total megapixels using 1024×1024 per megapixel.
scale_methodCOMBOareaInterpolation method. Area is generally strong for downscaling; Lanczos is often useful for upscaling.
divisible_byINT161–512After aspect-ratio calculation, round width and height down to this multiple. Use 1 to disable.
image_2optIMAGEOptional source image for active slot 2.
image_3optIMAGEOptional source image for active slot 3.
image_4optIMAGEOptional source image for active slot 4.
image_5optIMAGEOptional source image for active slot 5.

Outputs (6)

NameTypeDescription
image_1IMAGE
image_2IMAGE
image_3IMAGE
image_4IMAGE
image_5IMAGE
batchIMAGE