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.
Pixelization
- image
- IMAGE
◄pixel_size4►
◄upscale_aftertrue►
◄copy_huefalse►
◄copy_satfalse►
◄copy_valfalse►
◄restore_dark15►
◄restore_bright1►
Categorypostprocessing/Effects
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| pixel_size | INT | 41–32 | — |
| upscale_after | BOOLEAN | true | — |
| copy_hue | BOOLEAN | false | — |
| copy_sat | BOOLEAN | false | — |
| copy_val | BOOLEAN | false | — |
| restore_dark | INT | 150–100 | — |
| restore_bright | INT | 10–100 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |