EasyUse/Imagegenerated
ImageScaleToNormPixels(imageScaleToNormPixels)
ImageScaleToNormPixels node from ComfyUI-Easy-Use.
image Scale To Norm Pixels
image
image
upscale_method
COMBO
scale_by
1.00
Easy Use
The ImageScaleToNormPixels node scales an input image by a relative multiplier. It is grouped under EasyUse/Image and returns a resized IMAGE tensor, making it useful when you want to upscale or downscale by a factor rather than targeting a specific width/height.
Inputs
- image (
IMAGE, required): The input image tensor to be resized. - upscale_method (
COMBO, required): The resampling/upscaling algorithm to use. The dropdown provides the supported methods; select the one best suited for the image content and scaling direction. - scale_by (
FLOAT, required): The scale factor applied to both width and height.1.0leaves the image unchanged, values greater than1.0upscale, and values less than1.0downscale. Default is1.0, with a range of0.01to8.0and a step of0.01.
Outputs
- IMAGE: The scaled image tensor. The batch size and channel count match the input, while the spatial dimensions are multiplied by
scale_by.
Usage Notes
- Because
scale_byis a multiplier,2.0produces an image twice as large in both dimensions, while0.5halves both dimensions. - This node operates directly on standard image pixel tensors rather than latent representations.
- There are no separate width or height inputs; the output resolution is determined entirely by the input resolution and the chosen
scale_byvalue. - Use the
upscale_methoddropdown to control quality/behavior when changing resolution. Some methods are better suited for photographic images, while others are better for pixel art or UI elements.
Comments
Sign in with GitHub to join the discussion.