ComfyUI  >  Nodes  >  ComfyUI PixelArt Detector >  🕹️PixelArt Add Dither Pattern

ComfyUI Node: 🕹️PixelArt Add Dither Pattern

Class Name

PixelArtAddDitherPattern

Category
image/PixelArt🕹️
Author
dimtoneff (Account age: 3423 days)
Extension
ComfyUI PixelArt Detector
Latest Updated
6/14/2024
Github Stars
0.2K

How to Install ComfyUI PixelArt Detector

Install this extension via the ComfyUI Manager by searching for  ComfyUI PixelArt Detector
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI PixelArt Detector in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

🕹️PixelArt Add Dither Pattern Description

Enhance pixel art with ordered dither patterns for textured, detailed retro effects.

🕹️PixelArt Add Dither Pattern:

The PixelArtAddDitherPattern node is designed to enhance your pixel art images by adding an ordered dither pattern. Dithering is a technique used to create the illusion of color depth in images with a limited color palette. This node allows you to apply different types of dither patterns, such as Bayer and halftone, to your images, giving them a more textured and detailed appearance. By adjusting the pattern type, order, and amount, you can achieve various artistic effects, making your pixel art more visually appealing and unique. This node is particularly useful for artists looking to add a retro or stylized look to their digital artwork.

🕹️PixelArt Add Dither Pattern Input Parameters:

image

This parameter represents the input image to which the dither pattern will be applied. It is required and should be of type IMAGE.

pattern_type

This parameter allows you to select the type of dither pattern to apply. The available options are bayer, halftone, and none. The default value is bayer. Choosing bayer will apply a Bayer matrix dither pattern, while halftone will apply a halftone pattern. Selecting none will not apply any dither pattern.

pattern_order

This parameter determines the order of the dither pattern. It is an integer value with a default of 3, and it can range from 1 to 5. The order affects the complexity and granularity of the pattern, with higher values resulting in more detailed patterns.

amount

This parameter controls the intensity of the dither pattern applied to the image. It is a float value with a default of 0.25, and it can range from 0.0 to 1.0. A higher value will result in a more pronounced dither effect, while a lower value will produce a subtler effect.

custom_pattern

This optional parameter allows you to provide a custom dither pattern. It should be of type MASK. If a custom pattern is provided, it will be used instead of the predefined patterns.

🕹️PixelArt Add Dither Pattern Output Parameters:

IMAGE

The output is the processed image with the applied dither pattern. This image will have the same dimensions as the input image but with the added texture and detail from the dither pattern.

🕹️PixelArt Add Dither Pattern Usage Tips:

  • Experiment with different pattern_type and pattern_order settings to achieve various artistic effects in your pixel art.
  • Use the amount parameter to fine-tune the intensity of the dither pattern, ensuring it complements your artwork without overwhelming it.
  • If you have a specific dither pattern in mind, use the custom_pattern parameter to apply your unique design to the image.

🕹️PixelArt Add Dither Pattern Common Errors and Solutions:

"Invalid pattern order"

  • Explanation: The pattern_order value is outside the allowed range of 1 to 5. - Solution: Ensure that the pattern_order parameter is set to an integer value between 1 and 5.

"Custom pattern not provided"

  • Explanation: The custom_pattern parameter is expected but not provided.
  • Solution: Provide a valid custom dither pattern of type MASK if you have selected to use a custom pattern.

"Unsupported pattern type"

  • Explanation: The pattern_type value is not one of the supported options (bayer, halftone, none).
  • Solution: Ensure that the pattern_type parameter is set to one of the supported values: bayer, halftone, or none.

🕹️PixelArt Add Dither Pattern Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI PixelArt Detector
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.