Skip to content

Text: txt#

The txt parameter allows you to overlay text on top of an image.

txt=#

The text content to be overlayed on the image is specified using the txt= parameter.

txt-align=top,bottom,middle,left,right,center#

The text alignment can be specified using the txt-align parameter. The following options are supported:

  1. top
  2. bottom
  3. middle
  4. left
  5. right
  6. center

You can combine the options to specify a more precise alignment, for example, txt-align=top,center

txt-size#

The font size of the text can be specified using the txt-size parameter.

txt-font#

The font to be used when rendering the text can be specified using the txt-font parameter.

txt-color#

to use for the rendered text. The color of the text can be specified using the txt-color parameter. You can specify the color using Colour strings or color specifiers like hexadecimal, RGB or HSL.

txt-line#

The width of the outline border for the text can be specified using the txt-line parameter in pixels.

txt-line-color#

The color of the text outline can be specified using the txt-line-color parameter. You can specify the color using Colour strings or color specifiers like hexadecimal, RGB or HSL.

txt-pad#

The padding for the text can be specified using the txt-pad parameter in pixels.