Visit ComfyUI Online for ready-to-use ComfyUI environment
Apply vignette effect to images, darkening edges to highlight center, adjustable strength for focal point enhancement.
The Vignette node is designed to apply a vignette effect to your images, which darkens the edges of the image to draw attention to the center. This effect is commonly used in photography and digital art to create a focal point and add a dramatic or vintage feel to the image. By adjusting the vignette strength, you can control the intensity of the effect, making it either subtle or pronounced. This node is particularly useful for enhancing the visual impact of your artwork, guiding the viewer's eye towards the main subject.
The image
parameter is the input image to which the vignette effect will be applied. This should be a tensor representing the image data. The image serves as the base on which the vignette effect will be overlaid.
The vignette
parameter controls the strength of the vignette effect. It is a floating-point value that ranges from 0.0 to 10.0, with a default value of 0.0. A value of 0.0 means no vignette effect is applied, while higher values increase the intensity of the darkening around the edges of the image. The parameter allows for fine-tuning with a step size of 0.01, enabling precise control over the effect.
The output is an IMAGE
tensor that represents the input image with the applied vignette effect. The vignette effect darkens the edges of the image based on the specified vignette strength, creating a gradient that draws attention to the center of the image. The output image retains the same dimensions and format as the input image but with the added vignette effect.
.to(device)
or similar methods before applying the vignette effect.© Copyright 2024 RunComfy. All Rights Reserved.