ComfyUI  >  Nodes  >  Allor Plugin >  ImageTextMultilineOutlined

ComfyUI Node: ImageTextMultilineOutlined

Class Name

ImageTextMultilineOutlined

Category
image/draw
Author
Nourepide (Account age: 2900 days)
Extension
Allor Plugin
Latest Updated
5/22/2024
Github Stars
0.2K

How to Install Allor Plugin

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

ImageTextMultilineOutlined Description

Render multiline text on images with optional character outlines for visually appealing overlays.

ImageTextMultilineOutlined:

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.

ImageTextMultilineOutlined Input Parameters:

text

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.

font

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.

align

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.

size

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.

red

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.

green

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.

blue

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.

outline_size

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.

outline_red

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.

outline_green

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.

outline_blue

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.

alpha

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.

margin_x

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.

margin_y

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.

ImageTextMultilineOutlined Output Parameters:

IMAGE

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.

ImageTextMultilineOutlined Usage Tips:

  • To ensure your text is readable against any background, experiment with different outline sizes and colors.
  • Use the alignment parameter to position your text appropriately within the image, especially when dealing with multiline text.
  • Adjust the alpha parameter to create semi-transparent text effects, which can add a layer of sophistication to your designs.
  • Test different font types and sizes to find the best combination that fits the style and tone of your artwork.

ImageTextMultilineOutlined Common Errors and Solutions:

"Font file not found"

  • Explanation: The specified font file could not be located in the system.
  • Solution: Ensure that the font name is correct and that the font file is available in the designated fonts directory.

"Text size too large"

  • Explanation: The specified text size exceeds the canvas dimensions.
  • Solution: Reduce the text size parameter or increase the canvas size to accommodate the larger text.

"Invalid color value"

  • Explanation: One of the color parameters (red, green, blue) is outside the valid range of 0 to 255. - Solution: Verify that all color values are within the 0 to 255 range and adjust them accordingly.

"Alpha value out of range"

  • Explanation: The alpha parameter is outside the valid range of 0 to 1.
  • Solution: Ensure that the alpha value is between 0 and 1, inclusive, and adjust if necessary.

ImageTextMultilineOutlined Related Nodes

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