Page 1 of 1

Re: Windows Batch script to resize many folders with many photos

Posted: 2007-11-19T18:35:29-07:00
by anthony
http://imagemagick.org/Usage/basics/#mogrify_not

Code: Select all

  # Use find to substitute filenames into a 'convert' command
  # This also provides the ability to recurse though directories by removing
  # the -prune option, as well as doing other file checks (like image type,
  # or the disk space used by an image).
  find * -prune -name '*.jpg' \
         -exec  convert '{}' -thumbnail 200x90 thumbnails/'{}'.gif \;