by captn3m0 · 5y ago · 0 comments
The whole reason for mogrify's existence is that it overwrites the original image file.
Imagine having the command “sedd” aliased to `sed -i`. It would be a usability nightmare.
Then it should not exist. To save one "rm", doesn't look like a good idea to me.
It definitely should.
This becomed critical when you are doing batch processing large amount of images in a cloud instance or somewhere else where disk space is a constraint.
I have used mogrify and similar custom solution when trying to batch-edit gigabytes of images while cleaning data for Computer Vision training.