Nodes/ComfyUI-GameDev/Resize + Dither
ComfyUI Node

Resize + Dither

Resize each image in a batch using nearest-neighbor, then apply RGB dithering using either positional (ordered) Bayer dithering or Floyd-Steinberg error diffusion.

By ecalot·Created 4 months ago·Updated 4 months ago· 0
Resize + Dither
  • images
  • images
width0
height200
dither_modepositional
palette_modevga_256
palette_colors24
CategoryGame Development/Image Adjustments

Inputs (6)

NameTypeDefaultDescription
imagesIMAGE
widthINT00–8192
heightINT2000–8192
dither_modeCOMBOpositional2 options: positional, floyd
palette_modeCOMBOvga_2562 options: vga_256, optimized_x_colors
palette_colorsINT242–256

Outputs (1)

NameTypeDescription
imagesIMAGE