Quickly resize images in command line (requires ImageMagick)


/ Published in: Bash
Save to your folder(s)

This requires ImageMagick installed.
Resize, as well as convert the image format.
(Note: either of WIDTH or HEIGHT can be left blank, e.g. WIDTHx and the image will be resized proportionally)


Copy this code and paste it in your HTML
  1. convert -resize WIDTHxHEIGHT source.jpg target.png

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.