Resize images on Commandline
In order to resize images using command you can use the convert
command.
convert img.jpg -resize 200x200 img-1.jpg
and you can also convert to different extenstions using convert
command.
convert img.png img.jpg
If you don't have convert
installed you can install from a package manager.