* Alastair Scott <[EMAIL PROTECTED]> [021001 08:07]: > On 30 Sep 2002 17:16:24 -0400 Paul Rodriguez <[EMAIL PROTECTED]> wrote: > > > Is there a way to resize a bunch of photos at the same time? I have a > > folder with 42 photos from my digital camera and would like to make them > > 1/3 the size to put on the web in as few strokes as possible. Ok, at > > least in an easy and reproducable way. > > ImageMagick - the mogrify command therein - will do it: > > http://www.imagemagick.org/www/mogrify.html > > Something like > > mogrify -resize 33%x33% *.jpg > > would appear to work. (Of course this will _replace_ all the > existing .jpg files with their smaller mogrifications, so back them > up first!)
I agree that mogrify works ... I use it all the time. One tip, though ... I have found that mogrify seems to have trouble compressing photos from my camera (an Olympus 3030z). If I load them into the Gimp first and save them, then when mogrify resamples them they will be a half to a tenth (on small images) the size! This is easier to do than it sounds, providing you have a good bit of RAM in your computer. From the GIMP, open a bunch of images ... I can easily open 50 640x480 images (but then I have 1GB of RAM). They will overlap all over the place on your desktop, but just let 'em finish loading. Then press CTRL+s to save the active image, and CTRL+w to close that window. Repeat until done. Then do your mogrify (see man mogrify) and compare to ones you did without the step of loading into the GIMP. Maybe the mogrify in 9.0 will make this unnecessary. But it's still a LOT faster than resampling them all in the GIMP. One day I'll write a Perl-Fu for it ;-) -- Jan Wilson, SysAdmin _/*]; [EMAIL PROTECTED] Corozal Junior College | |:' corozal.com corozal.bz Corozal Town, Belize | /' chetumal.com & linux.bz Reg. Linux user #151611 |_/ Network, PHP, Perl, HTML
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
