Scripting Imagemagick (was Re: [plug] Scripting Gimp)

garry garbuck at westnet.com.au
Wed Oct 29 13:08:33 WST 2003


On Wed, 29 Oct 2003 09:29:28 +0800 (WST)
Mike Holland <myk at westnet.com.au> wrote:

> On Tue, 28 Oct 2003, Peter Wright wrote:
> 
> > > > convert -size 320x200 -resize 320x200 -quality 70 input.jpg
> > > > output.jpg
> 
> Thats a bit too easy. How about something more in the Unix philosophy?
> 
> $ djpeg -fast -scale 1/4 input.jpg | pnmscale -xysize 320 200 \
>    | cjpeg -quality 70 > output.jpg
> 
> Is that any faster? You'll need to set the '-scale' depending on the
> input size, for max speed.
> 

Thanks to all for the replies.

Leon's Way took my tired old PC less time to do it than it would have
taken to type in the command.. 

8^)==

Garry



-- 

Bigpond - Will the last one out please turn off the lights?

_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list