I'm doing some batch image processing with imagemagick on OSX using this line:
for file in $(cat all.txt); do convert -crop 50X50@ +repage +adjoin "$file" "$file"_tile_50x50@_%d.jpeg; done
It takes a filelist as an input, chops each file into 50x50 pixel tiles, and labels the output with the original filename and an index number (%d). The quantity of imagery is about 400+ source images, and hence 1,000,000 output images.
I have to move the processing to a Windows 10 box. Can someone help me translate the above loop across, or suggest a better way to achieve the same outcome?