Visit ComfyUI Online for ready-to-use ComfyUI environment
Transform images into halftone representations with adjustable parameters for creating unique artistic effects.
The image_halftone
node is designed to transform your images into halftone representations, a technique commonly used in printing to create gradients and shading through the use of dots of varying sizes and spacing. This node allows you to convert images into either grayscale or color halftones, providing a unique and artistic effect that mimics traditional print media. By adjusting parameters such as sample size, scaling, and angles for different color channels, you can achieve a wide range of visual styles. The node also supports previewing the halftone effect and saving the resulting images, making it a versatile tool for AI artists looking to add a vintage or stylized look to their creations.
This parameter takes the input image that you want to convert into a halftone. The image should be in tensor format, which is a common format used in machine learning and image processing.
This parameter controls the sample size for the halftone effect. A smaller sample size will result in finer dots, while a larger sample size will produce coarser dots. The default value is 10, and it can be adjusted to achieve the desired level of detail.
This parameter determines the scaling factor for the halftone dots. A higher scaling factor will enlarge the dots, making the halftone effect more pronounced. The default value is 1, and it can be adjusted to fit the specific needs of your project.
This parameter specifies whether the halftone effect should be applied in grayscale or color. Set this to "Yes" for a grayscale halftone and "No" for a color halftone. The default value is "No".
This parameter sets the angle for the cyan channel in the color halftone. Adjusting this angle can change the orientation of the dots for the cyan color, affecting the overall appearance of the halftone. The default value is 0 degrees.
This parameter sets the angle for the magenta channel in the color halftone. Adjusting this angle can change the orientation of the dots for the magenta color, affecting the overall appearance of the halftone. The default value is 15 degrees.
This parameter sets the angle for the yellow channel in the color halftone. Adjusting this angle can change the orientation of the dots for the yellow color, affecting the overall appearance of the halftone. The default value is 30 degrees.
This parameter sets the angle for the black channel in the color halftone. Adjusting this angle can change the orientation of the dots for the black color, affecting the overall appearance of the halftone. The default value is 45 degrees.
This parameter determines whether to generate a preview of the halftone effect. Set this to "Yes" to see a preview before finalizing the image, or "No" to skip the preview. The default value is "No".
This parameter specifies which image to display in the preview: the original image or the halftone image. Set this to "original" to display the original image or "halftone" to display the halftone image. The default value is "halftone".
This optional parameter allows you to add a prompt or description to the saved image file. This can be useful for keeping track of different versions or settings used.
This optional parameter allows you to add extra metadata to the saved PNG file. This can include additional information about the image or the settings used to create it.
This output parameter provides the halftone version of the input image in tensor format. This is the main result of the node and can be used for further processing or saving.
This output parameter provides the original input image in tensor format. This is useful for comparison purposes or if you need to revert to the original image.
This output parameter provides a dictionary containing information about the images generated for the user interface, including filenames and paths. This is useful for displaying previews or saving images with specific metadata.
© Copyright 2024 RunComfy. All Rights Reserved.