I've used a variant of this code to tile large aerial surveys for processing. The snippet needs a bit of cleaning but it works out of the box:
https://gis.stackexchange.com/questions/306861/split-geotiff...
https://github.com/tombetthauser/protest_signsplitter/blob/m...
http://www.graphicsmagick.org/GraphicsMagick.html#details-cr...
«If the x and y offsets are omitted, a set of tiles of the specified geometry, covering the entire input image, is generated. The rightmost tiles and the bottom tiles are smaller if the specified geometry extends beyond the dimensions of the input image.»
% brew install graphicsmagick
% gm convert -crop 32x32 source_image.png +adjoin image_tile%02d.png
I'll have to put it through its paces on some large images this weekend.
% brew install openimageio
But have not yet put it to task with my large files.
Neither seem able to decompose an input image into smaller "tile" images.
I have some very large TIFFs that I cannot work with (I can't even open them in some cases!) and I would like to run them through a mill that can "paginate" the larger image into a number of smaller ones.