如何对文件夹中的多个图像执行批量调整大小?
例如,我在文件夹C:\tryd 中有4个图像
image1.jpeg
image2.png
image3.bmp
image4.tiff
我想
1. convert them to JPG
2. resize them to 575px
3. lower the quality of each image to 90%
4. move them into different folder
5. delete every picture that converted
我可以在Windows中使用批处理文件(*.bat(吗
从数字1开始,
堆栈溢出有很多例子:
magick mogrify -path OUTPUTDIRECTORY -format JPEG -resize 575 -quality 90 *.tif *.jpg *.bmp
你必须自己删除它们。