ComfyUI Extension: ComfyUI-ARZUMATA-PixelIt
A python port of pixelit by giventofly.
Custom Nodes (0)
README
ComfyUI-ARZUMATA-PixelIt
A python port of pixelit by giventofly
This node allows users to pixelate images using various parameters such as block size, color reduction, and grid overlay. Added some extra features for my needs for ComfyUI.
Installation
Clone this repository to ComfyUI/custom_nodes
directory.
git clone https://github.com/your-repo-url.git
Preview
Preview
<details> <summary>Preview</summary>Usage
To use the PixelIt node in ComfyUI:
-
Open ComfyUI: Launch the ComfyUI application.
-
Access the Node: In the node palette, search for "PixelIt" to locate the custom node.
-
Configure Parameters:
image
: The input image that you want to pixelate.convert_grayscale
: If checked, converts the image to grayscale before pixelation.convert_palette
: If checked, converts the image to a color palette.reduce_colors
: If checked, reduces the number of colors in the image.colors
: The target number of colors for the reduced-color option (range: 1-256).block_size
: The size of each pixel block (range: 1-256).target_block_size_resize
: If checked, resizes the image based on the target block size.target_block_size
: The target block size for resizing (range: 1-256).grid
: If checked, overlays a grid over the pixelated image.grid_alpha
: The alpha transparency of the grid overlay (range: 0-255).
- Execute the Node: Connect the PixelIt node to your workflow and run it to generate the pixelated output.
Example Workflow
- Load an image using the
ImageLoader
node. - Connect the output from the
ImageLoader
node to thePixelIt
node. - Configure the parameters as desired.
- Add any additional nodes to process or save the output, such as a
ImageSaver
.
Credit
giventofly/pixelit - inspired by.
And, for all ComfyUI custom node developers