imagemagick

composite -compose Dst_Over base.png mask.png masked.png
for f in inputs-*; do convert "$f" -crop ${width}x${height}+${x_offset}+${y_offset} "cropped/$f"; done
convert -append cropped/* vertically-stacked.ext
convert input.jpg -interlace plane output.jpg
  • Last modified: 2022-03-20 12:24
  • by Peter