Nodes/ComfyUI-TextureAlchemy/Smart Texture Resizer
ComfyUI Node

Smart Texture Resizer

A ComfyUI node in Texture Alchemist/Texture with 5 inputs and 1 output.

By amtarr·Created 8 months ago·Updated 4 months ago· 54
Smart Texture Resizer
  • image
  • image
target_megapixels2.00
multiple_of32
resize_modefit_within
scaling_methodlanczos
CategoryTexture Alchemist/Texture

Inputs (5)

NameTypeDefaultDescription
imageIMAGE
target_megapixelsFLOAT2.000.25–16Target size in megapixels (e.g., 2.0 = 2 million pixels)
multiple_ofCOMBO32Ensure width/height are multiples of this value
resize_modeCOMBOfit_withinfit_within (stay under target), fit_exact (closest match), no_upscale (never increase size)
scaling_methodCOMBOlanczosResampling algorithm for quality

Outputs (1)

NameTypeDescription
imageIMAGE