Re: FN-FORUM: Server Side Image Optimisation
date posted 14th August 2006 10:59
On Mon, Aug 14, 2006 at 10:03:48AM -0000, PuntersPower wrote:
>
> I have discovered I have taken over a site with a few hundred images that
> were uploaded in the original form. I need to run a server side batch
> routine to resize and optimise the images (all in the same dir)
>
> The last time I had to do this was 5 years ago.
>
> Any recommendations?
mogrify will do what you want, eg to resize everything in the current directory:
mogrify -resize 700x500 *
Beware: it will overwrite the existing files, to take a backup first - just in case.
--
Alain Williams
Parliament Hill Computers Ltd.
Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
#include