I want to split a large JPG into equally sized PNGs with a certain overlap:
convert total.jpg -crop 10x10@+10+10 split_%04d.png
This works fine... but unfortunately the output pictures do sometimes differ in size by one if the source image is not exactly divisible by 10 (or whatever number I choose).
Is it possible to split the original picture into tiles of EXACT equal size in a single command or do I have to extend to a size that is divisible by the number of tiles in x/y direction before splitting? (That's what I do now)
Would it also be possible to specify the size AND overlap of the output pictures and make imagemagick automatically extend the last pictures in a row/column to simply extend with a certain color (e.g. black) in order to get equally sized output pictures?