This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
Date: Mon, 5 Nov 2001 01:06:25 -0500 (EST)
From: Matt Billenstein <mbillens@one.net>
To: svlug@svlug.org
Subject: Re: [svlug] script the gimp
On Sun, 4 Nov 2001, Ira Weiny wrote:
> Matt Billenstein wrote:
> > I have a bunch of jpg images I want to resize.. I've
> > read a little bit about the scheme interface in the
> > gimp, but I'm lost. I'd like to use the gimp -batch
> > option with some type of input script if I could to make
> > a couple hundred images half size. Does anyone have an
> > example of using -batch or an example of a simple script
> > which opens an image, modifies it, and then saves it?
> Personally I do this all the time but I use cjpeg and
> djpeg. There is a loss involved since you are
> decompressing and recompressing the image but Gimp will in
> essence do the same thing.
> djpeg -targa -scale 1/2 input.jpg | cjpeg -progressive -outfile
> output.jpg
> Of course this also makes the output.jpg progressive for better web
> performance. But I am assuming that is what you are trying to do.
Cool, I think this is what I was looking for...
===
Date: Sun, 4 Nov 2001 16:52:35 -0800
Subject: Re: [svlug] script the gimp
From: bilbrey@orbdesigns.com (Brian Bilbrey)
On Sun, Nov 04, 2001 at 07:36:36PM -0500, Matt Billenstein wrote:
> All,
>
> I have a bunch of jpg images I want to resize.. I've read a little bit
> about the scheme interface in the gimp, but I'm lost. I'd like to use the
I don't use the Gimp for this, but I do use this:
http://www.klografx.de/software/image_pack.shtml
Aside from notes on that page, the programs also depend on
libjpeg-progs. For sizing chores, I've created variations on the
thumbs.sh script. Good stuff.
===
Date: Sun, 4 Nov 2001 21:38:04 -0800
From: "Karsten M. Self" <kmself@ix.netcom.com>
To: svlug@svlug.org
Subject: Re: [svlug] script the gimp
Matt Billenstein (mbillens@one.ne=
t) wrote:
> I have a bunch of jpg images I want to resize.. I've read
> a little bit about the scheme interface in the gimp, but
> I'm lost. I'd like to use the gimp -batch option with
> some type of input script if I could to make a couple
> hundred images half size. Does anyone have an example of
> using -batch or an example of a simple script which opens
> an image, modifies it, and then saves it?
$ apt-get install mogrify
$ man mogrify
Peace.
===