Using imagemagick how can i slice up an image into several separate images? Using imagemagick how can i slice up an image into several separate images? bash bash

Using imagemagick how can i slice up an image into several separate images?


If each area has the same amount of padding around it, you can use the @ operator.

This cuts an image into 6 sections, 2 per row, with 40 pixels of horizontal padding and 20 pixels of vertical padding excluded from each section:

convert image.png -crop 2x3-40-20@ +repage +adjoin tile-%d.jpg