[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Batch Process Images - Debian



Hi

Oh... right.... thanks for everyone's help :)  Here we go... 'man 
imagemagick'.  I'd forgotten about that.  Too much use of KDE and 
Gnome...

> JPEG images at 1024x768 tend to range from 200-300KB, so I'd
> suggest you perhaps try ImageMagick's 'convert' program, say, on
> the lines of
>
> for i in *.jpg ; do
>  j=`basename $i jpg`
>  convert -geometry 1024x768 $i newpics/$j.1024x768.jpg
> done

Hmm... looks useful :)

> This should work OK, since digital camera photos generally
> have a 4:3 aspect ratio.

Yes, but the pro cameras tend to have 3 to 10Mb files for the 35 m/m 
SLR replacement and the digital Rollei medium format camera is about 
10Mb to 30Mb in size.  Hence the need for image processing when 
uploading to a web page.  In my case 3008x2000 pixels is small.

You can do this with Photoshop in Mac or winduhs but to be honest I 
prefer the Linux desktop and think that ImageMagick is better anyway.  
Oh....  mogrify... might work !


-- 
Richard

_______________________________________________
        Sheffield Linux User's Group
  http://www.sheflug.org.uk/mailfaq.html
 GNU - The choice of a complete generation