With mogrify do NOT specify input names. just output names, at the end. The file names are used for BOTH read and write!
The way you have it specified (with two *.jpg) you will be reading and writing your JPG images TWICE!!!
That is especially not good with JPEG due to its lossy compression file format
Multiple resize/rename on all files within directory
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Multiple resize/rename on all files within directory
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/