Hello World Example
This minimal example renders text on an uploaded image using the text
processor.
Demonstrates
- How to define a basic processor block
- Use of the
text
processor - Absolute and relative coordinate anchoring (
rel(0.5, 0.5)
) - Overlaying styled text on an input image
- Simple use of
inputs
andoutputs
Definition
- processor:
processor: "text"
inputs:
source: "input/input.png"
params:
text: "Hello, World!"
font: "gf:Roboto:normal"
size: 40
color: "#FFFFFF"
anchor: "rel(0.5,0.5)"
align: "center"
justify: "center"
outputs:
target: "output/output.png"