sd-pixel icon indicating copy to clipboard operation
sd-pixel copied to clipboard

Quickly and easily perform downscaling, color palette limiting, and other useful pixel art effects through the extras tab.

Pixel

Adds various useful tools for pixel art to the Extras tab.

Purpose

This extension is used to fix asymmetrical pixels in AI-generated pixel art through downscaling. It also can be used to limit color palette and clamp grayscale values to get more stylized results. You can also use the rescale feature to get a higher resolution image (best for preview on the webui canvas).

For use with this webui

Installation Guide

Install from webui's Extensions tab.

Extensions > Install from URL > Paste https://github.com/Leodotpy/sd-pixel.git > Install

Or install via the extensions menu by searching for "Pixel".

(Restart the webui via the Extensions menu to load the extension. If you run into issues loading the extension, reboot the app completely)

Feature Comparison Examples

Effect Before After
Downscale
Color Palette Limit
Gray Limit bad apple

Supported Downscaling Modes

Original Nearest Bicubic Bilinear Hamming Lanczos

Credits

  • Thanks AUTOMATIC1111 for an awesome sd webui