Multiple resize/rename on all files within directory

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
User avatar
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

Post by anthony »

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
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply