I have a cd full of images that i would just like to convert all of them to a certian resolution. How would i go about converting a whole cd of images to .png format and a screen resolution of 1024x768?
Thanks!

$ mkdir ~/pics
$ cd /mnt/cdrom
$ for i in `find | egrep -i ".jpg$|.gif$"`
> do
> convert -resize 1024x768 $i ~/pics/${i%%.[jJgG][pPiI][gGfF]}.png
> done

Users browsing this forum: No registered users and 2 guests