Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance images with customizable stroke effects for dynamic and professional-looking outlines.
LayerStyle: Stroke V2 is a powerful node designed to enhance your images by adding customizable stroke effects to specific layers. This node allows you to create visually appealing outlines around your image layers, which can be adjusted in terms of color, width, opacity, and blending mode. The primary goal of this node is to provide you with the flexibility to create dynamic and professional-looking strokes that can be tailored to fit the aesthetic of your artwork. Whether you are looking to highlight certain elements or add a creative touch to your images, LayerStyle: Stroke V2 offers a range of options to achieve the desired effect.
This parameter accepts an image that serves as the background layer over which the stroke effect will be applied. The background image is essential as it provides the base onto which the layer image and stroke are composited.
This parameter takes an image that will be the primary focus of the stroke effect. The layer image is the element that will be outlined with the stroke, making it stand out against the background image.
This boolean parameter determines whether the mask should be inverted. By default, it is set to True
. Inverting the mask can be useful when you want to reverse the areas where the stroke is applied.
This parameter specifies the blending mode used to combine the stroke with the layer image. Different blending modes can create various visual effects, allowing you to achieve the perfect look for your artwork.
This integer parameter controls the transparency of the stroke effect. It ranges from 0 to 100, with a default value of 100. Adjusting the opacity allows you to make the stroke more or less visible, depending on your needs.
This integer parameter defines the amount by which the stroke should grow or shrink. It ranges from -999 to 999, with a default value of 0. Positive values will expand the stroke, while negative values will contract it.
This integer parameter sets the width of the stroke. It ranges from 0 to 999, with a default value of 8. The stroke width determines how thick or thin the outline around the layer image will be.
This integer parameter controls the amount of blur applied to the stroke. It ranges from 0 to 100, with a default value of 0. Adding blur can soften the edges of the stroke, creating a more subtle effect.
This string parameter specifies the color of the stroke. The default value is #FF0000
(red). You can change the stroke color to any valid hex color code to match the desired aesthetic of your artwork.
This optional parameter accepts a mask image that defines the areas of the layer image where the stroke should be applied. Using a mask allows for more precise control over the stroke effect.
This output parameter returns the final image with the applied stroke effect. The resulting image combines the background image, the layer image, and the customized stroke, providing a polished and professional look.
#FF0000
for red).© Copyright 2024 RunComfy. All Rights Reserved.