Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply halftone effect to images with varying dot patterns, sizes, and colors in greyscale/CMYK modes for artistic versatility.
The CR Halftone Filter node is designed to apply a halftone effect to images, mimicking the dot patterns used in traditional printing techniques. This filter can transform your images into a series of dots, which vary in size and spacing to represent different shades and colors. The node supports both greyscale and CMYK color modes, allowing for versatile artistic effects. By adjusting parameters such as dot size, shape, and angles, you can achieve a wide range of visual styles, from classic comic book aesthetics to modern graphic designs. The filter also includes options for antialiasing and border blending to enhance the quality and smoothness of the final output.
This parameter accepts the input image that you want to apply the halftone effect to. The image can be in the form of a PIL Image or a PyTorch tensor. If a tensor is provided, it will be converted to a PIL Image internally. The quality and resolution of the input image will directly affect the final output.
This parameter determines the size of the dots used in the halftone effect. Larger dot sizes will create a more pronounced and less detailed effect, while smaller dot sizes will produce finer details. The value should be chosen based on the desired visual outcome and the resolution of the input image.
This parameter specifies the shape of the dots used in the halftone effect. Common shapes include circles, squares, and other geometric forms. The choice of shape can significantly influence the overall aesthetic of the image.
This parameter maps to the scale of the halftone effect. It can take values such as "normal" or "hi-res (2x output size)". The "hi-res" option will double the output size, providing a higher resolution and more detailed effect.
These parameters define the rotation angles for the cyan, magenta, yellow, and black channels, respectively. Adjusting these angles can help in achieving different visual effects and reducing moiré patterns in the final image.
This boolean parameter determines whether the image should be converted to greyscale before applying the halftone effect. If set to true, the image will be processed in greyscale mode, otherwise, it will use the CMYK color mode.
This boolean parameter enables or disables antialiasing. When enabled, the image will be scaled up during processing and then scaled back down to smooth out the edges of the dots, resulting in a higher quality output.
This parameter controls the blending of borders in the halftone effect. It helps in creating a smoother transition between the dots and the background, enhancing the overall visual quality.
This parameter specifies the scale factor used for antialiasing. A higher scale factor will result in better smoothing but may increase processing time.
The output parameter is the final image with the halftone effect applied. This image will be in the same format as the input image (PIL Image or PyTorch tensor) and will reflect all the adjustments made through the input parameters. The quality and style of the halftone effect will depend on the chosen settings.
© Copyright 2024 RunComfy. All Rights Reserved.