Extension for Automatic1111 webui that pixelize images.
- Go to "Extensions" tab
- Switch to "Install from url"
- Paste
https://github.com/mrreplicart/sd-webui-pixelart
to the "URL for extension's git repository" field and click "Install" button - After installation is complete, go to "Installed" tab and click "Apply and restart UI"
This extension can be found both in txt2img/img2img and extras. If you would like to process image right after generation you can use "Pixel art" script in txt2img/img2img. Or you can click "Send to extras" button and play with settings and process your images in extras tab.
Check "Enable" in script section and also check "Enable" for exact tab (color, grayscale, black and white or custom palette)
Downscale - image downscale factor, for example 512x512 image with downscale set to 2 become 256x256.
Rescale to original size - rescales image back to original size after downscale and color correction.
Palette Size - number of colors
Colors quantization method - different algorithms to get colors from image
Colors dither method - different methods to represent colors with limited color palette
Enable k-means for color quantization - in most cases picks better colors
Same as color tab, but instead of colors we work with shades of gray
Threshold - value that determens when we paint pixel black or white Inverse - inverse colors
This mode allows to paint image with colors from another image. If palette included in image, like palettes from lospec, script will automatically apply it, overwise you can select palette size manually with Palette Size (only for complex images) slider.