Code: Select all
convert aaa/a.tif -write bbb/b.png -write ccc/c.jpg -resize 100x100! ddd/d.jpg
The main problem is that I don't know how to use -write option in mogrify.
What I can do now is use three command to deal with this.
Code: Select all
mogrify -path bbb -format png aaa/*.tif
mogrify -path ccc -format jpg aaa/*.tif
mogrify -path ddd -resize 100x100! -format jpg aaa/*.tif