I need to edit multiple files in a folder.
The single commands for one file I have already.
Now I need this for all files in a folder.
The files must be in a new folder.
The files should retain their filenames.
The commands for one file:
Code: Select all
convert 001.jpg -gravity Center -crop 95x95+0+0 -resize 100x100 +repage ../new-one-90/001.png
Code: Select all
convert ../new-one-90/001.png \( -size 100x100 xc:none -fill white -draw "circle 49.5,49.5 48,1" \) -compose copy_opacity -composite ../new-one-90/001.png
Code: Select all
convert ../new-one-90/001.png -rotate 90 ../new-one-90/001.png