Counter + .JPG resize conversion

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?".
Post Reply
capnjazz
Posts: 1
Joined: 2011-08-10T18:51:14-07:00
Authentication code: 8675308

Counter + .JPG resize conversion

Post by capnjazz »

counter=1000
for f in IMG*.JPG; do
> counter=counter+1
> echo $counter
> small${counter:1}.JPG
> done

I have a series of images I'm trying to resize. Should I being using convert and ffmeg to downsize the files and ultimately make a movie from the .JPGs
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Counter + .JPG resize conversion

Post by fmw42 »

if all the files are in a folder, you can use mogrify to downsize them. see http://www.imagemagick.org/Usage/basics/#mogrify
Post Reply