Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
That is not so easy, as the output filename only allows the use of
a single %d printf() format to specify the image size.
What you may need to do is either...
rename the files afterward converting the sequence
01 02 03 04 05....
into
01-01 01-02 ... 01-30 02-01 02-02 ...
etc. You will need to know how many tiles per row was generated though.
JPEG does not save the 'offset' from which an image is cropped. But PNG format does (it is also not color lossy). You can output the images as PNG, then read the virtual canvas offset, and from that determine the 'tile' position, allowing you to rename the image, or resave as JPEG images of the right name.
You can record the images virtual canvas offset
(position from where the image was cropped) into the images JPEG comment string before you remove that offset from the resulting image (JPEG does not store the virtual canavs information, so it losses that information)
In a FUTURE version of IM, you may be able to specify a filename for the output file (perhaps as a %s string). This might be able to also be able to be -set and the tile number calculated using %[FX:...] escapes.
However at this time the filename is not adjustable using -set, AND the X and Y virtual offsets of the image is not available within FX expressions. I have put in a request for the later, so the tile position can be at least calculated and recorded in comments. You may like to request the former '%s' to set the save images basename