Visit ComfyUI Online for ready-to-use ComfyUI environment
Render multiline text on images with optional character outlines for visually appealing overlays.
The ImageTextMultilineOutlined
node is designed to render multiline text onto an image with an optional outline around each character. This node is particularly useful for creating visually appealing text overlays on images, such as captions, annotations, or artistic text elements. It allows you to customize various aspects of the text, including font, size, color, alignment, and outline properties, providing a high degree of flexibility and control over the final appearance. The main goal of this node is to facilitate the creation of text that stands out against different backgrounds, ensuring readability and aesthetic appeal.
This parameter specifies the text string that you want to render on the image. It supports multiline input, allowing you to include line breaks within the text. The text will be split into multiple lines based on newline characters.
This parameter determines the font type used for rendering the text. You can select from a list of available fonts in your system. The font choice significantly impacts the style and readability of the text.
This parameter sets the alignment of the text. Options include "left", "center", and "right". The alignment affects how the text is positioned within the image canvas.
This parameter defines the size of the text in points. The default value is 28, with a minimum value of 1. Adjusting the size allows you to scale the text to fit your design needs.
This parameter sets the red component of the text color. The value ranges from 0 to 255, with a default of 255. It controls the intensity of the red color in the text.
This parameter sets the green component of the text color. The value ranges from 0 to 255, with a default of 255. It controls the intensity of the green color in the text.
This parameter sets the blue component of the text color. The value ranges from 0 to 255, with a default of 255. It controls the intensity of the blue color in the text.
This parameter specifies the width of the outline around each character. The default value is 1. Increasing the outline size makes the text more prominent and easier to read against complex backgrounds.
This parameter sets the red component of the outline color. The value ranges from 0 to 255, with a default of 0. It controls the intensity of the red color in the outline.
This parameter sets the green component of the outline color. The value ranges from 0 to 255, with a default of 0. It controls the intensity of the green color in the outline.
This parameter sets the blue component of the outline color. The value ranges from 0 to 255, with a default of 0. It controls the intensity of the blue color in the outline.
This parameter defines the opacity of the text. The value ranges from 0 to 1, where 0 is fully transparent and 1 is fully opaque. It allows you to blend the text with the background image.
This parameter sets the horizontal margin around the text. It adds padding to the left and right sides of the text, ensuring it does not touch the edges of the image canvas.
This parameter sets the vertical margin around the text. It adds padding to the top and bottom of the text, ensuring it does not touch the edges of the image canvas.
The output is an image tensor containing the rendered text with the specified properties. This image can be used in further processing or directly displayed as part of your artwork. The tensor format ensures compatibility with various image processing and machine learning frameworks.
© Copyright 2024 RunComfy. All Rights Reserved.