Batch resize images into new folder using ImageMagick

后端 未结 6 2072
余生分开走
余生分开走 2021-01-31 08:37

I have a folder of images over 4MB - let\'s call this folder dsc_big/. I\'d like to use convert -define jpeg:extent=2MB to convert them to

6条回答
  •  春和景丽
    2021-01-31 08:56

    Here's a solution without using for loops on the console

    convert *.jpeg -define jpeg:extent=2MB -set filename:f '../dsc_small/%t_small.%e' +adjoin '%[filename:f]'
    

提交回复
热议问题