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
Counter + .JPG resize conversion
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Counter + .JPG resize conversion
if all the files are in a folder, you can use mogrify to downsize them. see http://www.imagemagick.org/Usage/basics/#mogrify