Batch resize of pictures
Posted: 2014-10-08 Filed under: academic, media | Tags: convert, imagemagic, mogrify, resize, scale Leave a commentI had generated graphics from the Simple Modular Architecture Research Tool (S.M.A.R.T.) in the highest possible resolution. However, later on I needed to scale down the graphics.
How to do that? I searched a bit and I found these explanations about the convert
command, part of Imagemagic. Very useful tips there, however I needed something that will batch process a bunch of picture files. The command mogrify
, also part of Imagemagic, is what I needed.
Just go to the folder with the pictures and do:
mogrify -resize 50% *
This will resize in half everything in the current folder, overwriting the original files. In case, you may need the original files later, better back them up. Also, Imagemagic comes with the standard Slackware installation.