[plug] Scripting Gimp

Kimberly Shelt kim at linmagau.org
Tue Oct 28 23:44:09 WST 2003


On Tue, Oct 28, 2003 at 11:20:01PM +0800, Ben New wrote:
> >Yes, but why not use ImageMagick for that?
> >
> >mkdir lowres
> >for i in *.jpg; do
> >    convert -size 320x200 -quality 55 $i lowres/$i;
> >done
> >
> >Or Konqueror? (-: Ctrl-I or Tools/Create Image Gallery.
> >
> >Cheers; Leon
> >
> 
> I've only just discovered the ImageMagick convert utility since I read 
> about it here... I was wondering the same thing as the original poster.
> 
> Anyway running the above creates output images that are not 320x200 in 
> size... (They are 512x384).  Changing the -size to -resize does, but it 
> runs really slowly.  Using both -size and -resize seems to work faster 
> and give the right sized output:
> 
> convert -size 320x200 -resize 320x200 -quality 70 input.jpg output.jpg

Did everyone stop using mogrify somewhere along the line..

why do I feel like I type this kind of sentance a lot :(
I am going grey :)

Kim
_______________________________________________
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