I'm trying to using ImageMagick's mogrify command to cut up a large image into 512x512 tiles, like so:
mogrify -path \temp2 -crop 512x512 \temp\IMG_4113.JPG
This creates the files IMG_4113-0.JPG, IMG_4113-1.JPG,... IMG_4113-53.JPG as I would expect. And each one is 512x512 (or smaller, if it's at the right or bottom edge) as I would expect. But each tile shows a copy of the ENTIRE original image. It is not slicing up the image into tiles like it should.
If I simply convert the JPEG to a PNG:
convert IMG_4113.JPG IMG_4113.PNG
and then run the same mogrify command on the PNG:
mogrify -path \temp2 -crop 512x512 \temp\IMG_4113.PNG
it works correctly: each tile is a small slice of the original, large image. Why doesn't this work with the JPEG, and what can I do about it?