TIL: Scale images in command line

:til: :cli:

To resize images in commandline imagemagick package is required. With the package convert command becomes available which could be used to resize or scale images.

convert -resize 30% *.jpg
convert-resize 200x200 *.jpg