ImageMagick Notes

2016-10-04 Tue

ImageMagick: Command-line image modification tools

So far, I've used convert and mogrify most frequently. (As I understand the difference: mogrify is used for in-place modification of a file, and convert is used for outputting new files. There are finer distinctions, efficiency differences, etc., but so far this is my working understanding.)

Some options I want to remember:


Combines -resize with -strip (which removes "profile" metadata). For example, this will turn foo.jpg into a thumbnail with a maximum X or Y dimension of 300px:

$ mogrify -thumbnail 300x300 foo.jpg