Text: txt¶
The txt parameter allows you to overlay text on top of an image.
txt=¶
The text content to be overlaid on the image is specified using the txt= parameter.
txt-align=top,bottom,middle,left,right,centre¶
The text alignment can be specified using the txt-align parameter. The following options are supported:
- top
- bottom
- middle
- left
- right
- centre
You can combine the options to specify a more precise alignment, for example, txt-align=top,centre
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 colour of the text can be specified using the txt-color parameter. You can specify the colour using Colour strings or colour 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 colour of the text outline can be specified using the txt-line-color parameter. You can specify the colour using Colour strings or colour specifiers like hexadecimal, RGB or HSL.
txt-pad¶
The padding for the text can be specified using the txt-pad parameter in pixels.