ComfyUI  >  Nodes  >  ComfyUI-GlifNodes >  Film Grain Effect

ComfyUI Node: Film Grain Effect

Class Name

FilmGrain

Category
image/postprocessing
Author
glifxyz (Account age: 691 days)
Extension
ComfyUI-GlifNodes
Latest Updated
9/18/2024
Github Stars
0.0K

How to Install ComfyUI-GlifNodes

Install this extension via the ComfyUI Manager by searching for  ComfyUI-GlifNodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-GlifNodes 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

Film Grain Effect Description

Add realistic film grain effect to images for texture and visual appeal, with customizable intensity, size, saturation, and interaction.

Film Grain Effect:

The FilmGrain node is designed to add a realistic film grain effect to your images, enhancing their texture and visual appeal. This node simulates the grainy texture found in traditional film photography, which can add a nostalgic or artistic touch to your digital images. By adjusting various parameters, you can control the intensity, size, and saturation of the grain, as well as how it interacts with the brightness and color of the original image. This allows for a high degree of customization, enabling you to achieve the exact look you desire, whether it's a subtle enhancement or a dramatic effect.

Film Grain Effect Input Parameters:

image

This parameter takes the input image to which the film grain effect will be applied. The image should be in a compatible format that the node can process.

intensity

This parameter controls the strength of the film grain effect. A higher intensity value will result in a more pronounced grain effect, while a lower value will produce a subtler effect. The value ranges from 0.0 to 1.0, with a default of 0.1.

grain_size

This parameter determines the size of the grain particles. Smaller values will produce finer grain, while larger values will create coarser grain. The value ranges from 0.5 to 5.0, with a default of 1.0.

grain_saturation

This parameter adjusts the saturation of the grain. A value of 0.0 will produce monochrome grain, while a value of 1.0 will produce fully saturated color grain. The value ranges from 0.0 to 1.0, with a default of 0.0.

brightness_impact

This parameter controls how much the grain effect is influenced by the brightness of the original image. A higher value means the grain will be more pronounced in brighter areas and less so in darker areas. The value ranges from 0.0 to 1.0, with a default of 0.5.

image_saturation

This parameter adjusts the overall saturation of the image after the grain effect is applied. Increasing this value will make the colors more vivid, while decreasing it will make them more muted. The value ranges from 0.0 to 2.0, with a default of 1.0.

mode

This parameter allows you to choose between "Color" and "Black and White" modes for the grain effect. In "Color" mode, the grain will retain its color, while in "Black and White" mode, the grain will be monochrome.

Film Grain Effect Output Parameters:

IMAGE

The output is the processed image with the film grain effect applied. This image will have the same dimensions as the input image but with the added grain texture, adjusted according to the specified parameters.

Film Grain Effect Usage Tips:

  • To achieve a subtle film grain effect, use a low intensity value (e.g., 0.1) and a small grain size (e.g., 1.0).
  • For a more dramatic effect, increase the intensity and grain size, and experiment with the grain saturation to add color to the grain.
  • Adjust the brightness_impact parameter to control how the grain interacts with different brightness levels in your image, enhancing the texture in specific areas.
  • Use the image_saturation parameter to fine-tune the overall color saturation of your image after applying the grain effect.

Film Grain Effect Common Errors and Solutions:

"Input image is not in a compatible format"

  • Explanation: The input image provided is not in a format that the node can process.
  • Solution: Ensure that the input image is in a compatible format, such as a standard image file type (e.g., PNG, JPEG).

"Intensity value out of range"

  • Explanation: The intensity parameter value is outside the allowed range of 0.0 to 1.0.
  • Solution: Adjust the intensity parameter to be within the range of 0.0 to 1.0.

"Grain size value out of range"

  • Explanation: The grain_size parameter value is outside the allowed range of 0.5 to 5.0.
  • Solution: Adjust the grain_size parameter to be within the range of 0.5 to 5.0.

"Grain saturation value out of range"

  • Explanation: The grain_saturation parameter value is outside the allowed range of 0.0 to 1.0.
  • Solution: Adjust the grain_saturation parameter to be within the range of 0.0 to 1.0.

"Brightness impact value out of range"

  • Explanation: The brightness_impact parameter value is outside the allowed range of 0.0 to 1.0.
  • Solution: Adjust the brightness_impact parameter to be within the range of 0.0 to 1.0.

"Image saturation value out of range"

  • Explanation: The image_saturation parameter value is outside the allowed range of 0.0 to 2.0.
  • Solution: Adjust the image_saturation parameter to be within the range of 0.0 to 2.0.

Film Grain Effect Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-GlifNodes
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.