Code: Select all
coords=$(echo "264x40+1609+111
423x145+69+203
423x145+990+203
423x145+529+203
423x145+1450+203")
Code: Select all
convert input.png
\( -clone 0 -crop 264x40+1609+111 -bordercolor "#990000" -border 4x4 -repage 858x360+293+0 \)
\( -clone 0 -crop 423x145+69+203 -bordercolor "#990000" -border 4x4 -repage 858x360+0+62 \)
\( -clone 0 -crop 423x145+990+203 -bordercolor "#990000" -border 4x4 -repage 858x360+0+208 \)
\( -clone 0 -crop 423x145+529+203 -bordercolor "#990000" -border 4x4 -repage 858x360+427+62 \)
\( -clone 0 -crop 423x145+1450+203 -bordercolor "#990000" -border 4x4 -repage 858x360+427+208 \) \
-delete 0 -flatten -resize 1150 -transparent white output.png