Nodes/Pixelization/Pixelization
ComfyUI Node

Pixelization

Pixelization node for ComfyUI, based on the 'Make Your Own Sprites' paper. This node pixelizes images using a pre-trained model and allows for color copying from the original image. * upscale_after: If true, the pixelized image will be upscaled after processing with NEAREST resampling. * copy_hue: Copy the hue from the original image when pixelizing. * copy_sat: Copy the saturation from the original image when pixelizing. * copy_val: Copy the value (brightness) from the original image when pixelizing. * restore_dark: Restore dark pixels by a percentage (0-100) of the original image's value. * restore_bright: Restore bright pixels by a percentage (0-100) of the original image's value.

By filipemeneses·Created 3 years ago·Updated 6 months ago· 130
Pixelization
  • image
  • IMAGE
pixel_size4
upscale_aftertrue
copy_huefalse
copy_satfalse
copy_valfalse
restore_dark15
restore_bright1
Categorypostprocessing/Effects

Inputs (8)

NameTypeDefaultDescription
imageIMAGE
pixel_sizeINT41–32
upscale_afterBOOLEANtrue
copy_hueBOOLEANfalse
copy_satBOOLEANfalse
copy_valBOOLEANfalse
restore_darkINT150–100
restore_brightINT10–100

Outputs (1)

NameTypeDescription
IMAGEIMAGE