mogrify
Mogrify is a command-line tool that is part of the ImageMagick software suite and is used to apply image transformations to one or more files. It is commonly employed for batch processing, allowing users to modify several images in a single operation. By default, mogrify processes files in place, meaning it overwrites the original files, though it can write outputs to a different directory or create new files with certain options.
The tool supports a wide range of operations, including resizing, cropping, rotating, converting formats, changing quality,
Usage is typically straightforward: mogrify [options] image-files. You can specify multiple files or use wildcards (for
For safety, it is advised to back up originals before running mogrify, since many transformations modify files