First of all thank you for making imagemagick. I am using the following version :-
Code: Select all
$ convert --version
Version: ImageMagick 6.7.7-10 2014-03-03 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
This is in debian testing and it will take sometime for the new version to come down to testing. We do have the new version in the archive due to our active maintainer.
Code: Select all
$ apt-show-versions -a imagemagick
imagemagick:amd64 8:6.7.7.10+dfsg-1 install ok installed
imagemagick:amd64 8:6.7.7.10+dfsg-1 testing debian.ec.as6453.net
No testing-updates version
imagemagick:amd64 8:6.7.7.10+dfsg-1 unstable debian.ec.as6453.net
imagemagick:amd64 8:6.8.8.2-1 experimental debian.ec.as6453.net
Now I have got a few images from a digital camera in the form of .jpg images. These images are quite large and I want them to be smaller but do not want to make any changes on the original images (in case something goes wrong or something.) While I did found that it's easier to do the same on a single image I do not know how to do the same when there are bunch of images in the same folder.
Code: Select all
$ ll -h sample.JPG
-rw-r--r-- 1 shirish shirish 6.5M Mar 14 14:45 sample.JPG
$ convert -define jpeg:extent=1024kb sample.JPG sample2.JPG
$ ll -h sample2.JPG
-rw-r--r-- 1 shirish shirish 982K Mar 14 14:46 sample2.JPG
Looking forward to answers.