gm mogrify: Wrong documentation for option -output-directory
Swiss army knife of image processing
Brought to you by:
bfriesen
The manpage says:
"Normally mogrify overwrites the input files"
This is wrong. For filenames without an extension, an extension is automatically appended and the output is written to a new file. For files with a different extension than the output format, the original extension is removed and a new one appended, also resulting in the creation of a new file instead of overwriting the original one.
graphicsmagick 1.3.25-8 on Debian Stretch
Thank you for the helpful feedback. The option documentation has been improved to reflect that a file extension is automatically added if the input file lacks an extension, and the sub-directories are automatically created when needed.