Composite Images

media · N060 · starter-package 7.0.1

Draw a second image over a base image at a pixel offset.

Coordinates are measured from the base image’s top left. Overlay alpha controls transparency. Parts outside the base are clipped. Output is PNG.

Inputs

ConnectorTypeUsage
filetextConnect a live file from this workflow. Required.
overlaytextThe upper image, drawn over File. Required.
xnumberDefault 0. ≥ -16384 / ≤ 16384
ynumberDefault 0. ≥ -16384 / ≤ 16384
nametextFilename for the new live file. Default composite.png.

Outputs

file (Text · file ID). Fire signals successful completion.

Connect File to the next file block. Use Copy File to save a persistent copy in a folder.

Supports PNG and JPEG up to 32 MiB, 16 million pixels and 16,384 pixels per axis.

What happens when it runs

If the block reports invalid input, check the file format and setting named in its message. Reconnect the matching output if the item came from an earlier run.

Exact settings reference

These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.

IDSettingControlDefaultBounds/options
xXnumber0—
yYnumber0—
nameOutput filenametextcomposite.png—

Connector data types

The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.

DirectionConnectorTypeRequired
Inputfile — Filetextyes
Inputoverlay — Overlaytextyes
Inputx — Xnumberno
Inputy — Ynumberno
Inputname — Output filenametextno
Outputfile — Filetexton success
Inputfire — Firefireno
Outputfire — Firefireon success