ComfyUI Node

RC Stroke

Apply Stroke effect to image with customizable position, size, and color.

By kj863257·Created 11 months ago·Updated 9 months ago· 16
RC Stroke
  • image
  • IMAGE
size3.0
positionoutside
opacity1.00
color_r0
color_g0
color_b0
blend_modenormal
fill_opacity1.00
auto_expand_canvastrue
CategoryRC/Layer Effects

Inputs (10)

NameTypeDefaultDescription
imageIMAGE
sizeFLOAT3.00–50Stroke width in pixels
positionCOMBOoutsideStroke position relative to shape
opacityFLOAT1.000–1Stroke opacity
color_rINT00–255Stroke color red component (0-255)
color_gINT00–255Stroke color green component (0-255)
color_bINT00–255Stroke color blue component (0-255)
blend_modeCOMBOnormalStroke blend mode: - normal: Normal blending, direct overlay - multiply: Multiply, darkens colors - screen: Screen, lightens colors - overlay: Overlay, enhances contrast - color_burn: Color burn, deeper shadows
fill_opacityFLOAT1.000–1Original image fill opacity: - 1.0: Normal image display - 0.0: Hollow effect, stroke only - 0.5: Semi-transparent image + stroke
auto_expand_canvasBOOLEANtrueAuto expand canvas: - True: Auto expand canvas when stroke exceeds bounds - False: Stroke is clipped to original canvas size

Outputs (1)

NameTypeDescription
IMAGEIMAGE