Converting Images

Jing Su jingsu-26n5VD7DAF2Tm46uYYfjYg at public.gmane.org
Sat Jan 24 17:39:12 UTC 2004


Have a look at the "convert" program.  Part of the ImageMagick package.

Roughly speaking, you could do something like:
for file in *.jpg; do convert $file -resize [newsize] mynew$file; done

On Sat, 24 Jan 2004, Jeremy Baker wrote:

> Date: Sat, 24 Jan 2004 12:28:09 -0500
> From: Jeremy Baker <jab-76OBl6+JcyzDN57Tih+YPw at public.gmane.org>
> Reply-To: tlug-lxSQFCZeNF4 at public.gmane.org
> To: tlug-lxSQFCZeNF4 at public.gmane.org
> Subject: [TLUG]: Converting Images
>
> I have lots of jpg images that I would like to reduce the resolution of
> in order to post them on a web page.  Is there a command line utility
> that I could run on an entire directory at once to do this?
>
> Any help would be appreciated
>
> Jeremy Baker
>
> --
> The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns
> How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
>
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list