The text of MS-DOS .bat files:
1.
divide_BMP.bat
Code: Select all
@echo off
echo Hello this is a batch file to divide BMP into a sequence
:: Picture 4212x2808pix will be divided into a sequence of BMP files
convert example_4212x2808pix.bmp -crop 5x2808 +repage sliced\%%02d.bmp
chdir sliced
call flop.bat
flop.bat
Code: Select all
@echo off
echo Hello this is a batch file for flop BMP files
FOR %%a in (*.bmp) DO mogrify %%a -flop %%a
call montage_843.bat
montage_843.bat
Code: Select all
@echo off
echo Hello this is a batch file for montage of BMP sequence into single picture
montage -mode concatenate -tile 843x *.bmp joined.bmp
I shell be very appreciated for your reply.