Create artistic images based on color palettes derived from a single input image. This tool allows users to generate "paint-by-numbers" styled images, making it easy to create visually appealing artwork using existing color values.
- Utilizes custom color values in hex format, allowing users to paint without needing to purchase new colors.
- Features a K-Means based preprocessor to simplify color palettes, enabling smoother images with noise reduction and cleanup.
- Provides a systematic approach to overlay numbers onto lineart, helping users easily identify areas to paint.
Context
This extension for ComfyUI is designed to transform standard images into paint-by-color artworks. It streamlines the process of creating intricate coloring pages by using an input image and reducing it to a manageable color palette.
Key Features & Benefits
The tool includes a unique K-Means preprocessing step that simplifies the color palette by flattening similar shades, which is essential for creating clean and clear images. Additionally, it allows users to input their own hex color values, providing flexibility and personalization in the color selection process. The ability to overlay numbers on the processed images makes it user-friendly, especially for those creating guided coloring pages.
Advanced Functionalities
The extension offers advanced capabilities such as bilateral smoothing and noise removal during the color preprocessing stage, which enhance the quality of the output images. It also merges near-identical shades to produce a more cohesive and visually appealing result. Users can leverage these advanced features to achieve a professional-quality finish in their artworks.
Practical Benefits
This tool significantly enhances workflow efficiency by automating the color reduction and numbering process, allowing artists to focus more on the creative aspects of their work. The systematic approach to generating paint-by-numbers images ensures that users have greater control over the final output, resulting in higher quality and more organized artwork.
Credits/Acknowledgments
The project was initiated using a cookiecutter template from the Comfy-Org GitHub repository, ensuring a solid foundation for development. Contributions from the community and original authors are acknowledged, fostering an open-source environment for continuous improvement and collaboration.