My understanding from reading the ImageMagick documentation regarding text, is that the @- notation reads the contents of standard input.
As such, this
No need to build from source. Just replace @- with "`tee`" :
printf "Hello\nWorld" |
convert \
-size 1280x100 \
-background '#0000FF10' \
-density 90 \
-gravity Center \
-fill black \
-font Helvetica \
caption:"`tee`" \
test.png
`tee` will execute first and 'process' stdin before completing the convert command.