Posts

Showing posts from September, 2018

ImageMagick Resize the width, adding a prefix to the same names in current directory under Windows 7

Image
ImageMagick


Resize the width, adding a prefix to the same names in current directory under Windows 7:
& 'C:\Program Files\ImageMagick-7.0.8-Q16\convert.exe' -strip -thumbnail '250x>' *.jpg -set filename:area "thumb-%t" ./%[filename:area].png

Result:  1.jpg --> thumb-1.png 2.jpg --> thumb-2.png 3.jpg --> thumb-3.png 4.jpg --> thumb-4.png