How to resize photographs on Linux – The convert utility?

I was struggling to resize photographs when I found the convert utility –

You can also check –

I got this simple loop in place –

alias cvt=’for img in $images ; do convert -sample 25%x25% $img $(basename $img) ; done’

images can be initialized as desired

images=$(ls *.jpg)  # This will resize the pics in place so you better have a backup

Need to get a command to convert raw files to jpeg. Later…

Author Details

Mayank Rungta

Leave A Comment?