Visit ComfyUI Online for ready-to-use ComfyUI environment
Add realistic film grain effect to digital images for vintage or cinematic feel, with adjustable density and intensity.
The Image Film Grain node is designed to add a realistic film grain effect to your images, mimicking the texture and noise found in traditional film photography. This effect can enhance the visual appeal of your digital images by introducing a layer of organic noise, which can make them appear more dynamic and less sterile. The node achieves this by applying grayscale noise with adjustable density, intensity, and highlights to the image, creating a nuanced and customizable grain effect. This can be particularly useful for AI artists looking to add a vintage or cinematic feel to their work, or to simply add a touch of texture to otherwise smooth digital images.
This parameter expects an image input in the form of a PIL image. It is the base image to which the film grain effect will be applied.
The density parameter controls the amount of noise added to the image. It is a float value between 0 and 1, where 0 means no noise and 1 means maximum noise density. The default value is 0.1. Increasing the density will result in more grain particles being added to the image, making the grain effect more pronounced.
The intensity parameter determines the strength of the grain effect. It is a float value where 0 means no effect and higher values increase the intensity of the grain. The default value is 1.0. Adjusting the intensity will blend the noise with the original image to varying degrees, allowing for subtle to strong grain effects.
The highlights parameter adjusts the brightness of the grain effect. It is a float value where 1.0 means no change in brightness, values less than 1.0 will darken the grain, and values greater than 1.0 will brighten it. The default value is 1.0. This parameter helps in fine-tuning the visual impact of the grain, especially in the lighter areas of the image.
The supersample_factor parameter controls the resolution at which the noise is generated before being scaled back to the original image size. It is an integer value, with a default of 4. Higher values can produce finer grain details but may increase processing time. This parameter is useful for achieving a more detailed and less pixelated grain effect.
The output is a single image with the film grain effect applied. This image retains the original dimensions and format but now includes the added texture and noise, giving it a more organic and film-like appearance.
© Copyright 2024 RunComfy. All Rights Reserved.