$imageTextFill

Add filled text to an image.

Usage

$imageTextFill[Text;position x;position y;color;opacity]

Parameters:

  • Text: The text you want to write on the image.
  • position x: The x-coordinate for the text's position. See Position: X & Y for more details.
  • position y: The y-coordinate for the text's position. See Position: X & Y for more details.
  • color: The color of the text fill (e.g., #4461b3, red, rgba(255,0,0,0.5)).
  • opacity: This parameter is deprecated and no longer functional. Use a rgba color value instead to specify opacity.
  • Position: X & Y: Learn more about specifying the X and Y coordinates for text placement here.
  • Size: Width & Height: Learn more about specifying width and height values related to images here. Note this link may not be directly relevant to this specific function, but is included for general context.

Example:

This example creates a 300x300 image, sets the text size to 30, aligns the text to the center, and then writes "CC is Awesome" at position 150,150 with the color #4461b3.

Member04/23/2025
!!exec $imageCreate[300;300]
$imageTextSize[30]
$imageTextAlign[center]
$imageTextFill[CC is Awesome;150;150;#4461b3]
$image[$imageOutput]

Custom Command Bot 04/23/2025