How to merge actions on one call?
Posted: 2019-01-30T23:46:56-07:00
Hello.
I have three commands:
Can these commands be combined into one?
Or at least the last two commands combined into one?
I have three commands:
Code: Select all
convert "$DST" -size ${MW2}x${MH} -fill black -draw "rectangle ${MX0},0 ${MX2},${MH}" "$DST"
convert "$SRC" -crop ${MW1}x${MH}+${MX0}+0 "$TMP/crop.jpg"
composite -geometry +${MX0}+0 "$TMP/crop.jpg" "$DST" "$DST"
Or at least the last two commands combined into one?