[lug] Image conversion.

Rob Riggs rob at pangalactic.org
Sun Dec 24 17:07:10 MST 2000


Weird. I never received that message, and in my threaded view it appeared
that you were responding to Scott Herod's C shell script.

I guess that's the problem with not including any context in replies...

kil wrote:

> >>>>> "Rob" == Rob Riggs <rob at pangalactic.org> writes:
>
> Rob> Python? PYTHON???
> Rob> Look again. That *was* a shell loop... a C shell loop. ;-)
>
> which mailing list are *you* reading?  look at which article i was
> actually responding to:
>
> | From: Ken Kinder <ken at kenkinder.com>
> | Subject: Re: [lug] Image conversion.
> | To: lug at lug.boulder.co.us
> | Date: Fri, 22 Dec 2000 16:26:04 -0700
> | Message-ID: <20001222162604.A460 at kenkinder.com>
> | References: <Pine.LNX.4.21.0012221625330.19678-100000 at localhost.localdomain>
> | In-Reply-To: <Pine.LNX.4.21.0012221625330.19678-100000 at localhost.localdomain>; from jstarkey at advancecreations.com on Fri, Dec 22, 2000 at 04:28:24PM -0700
> | List-Id: Boulder (Colorado) Linux Users Group -- General Mailing List <lug.lug.boulder.co.us>
> | X-BeenThere: lug at lug.boulder.co.us
> |
> | Imagemagick has a nifty convert program. Install it and use a simple Python
> | script like:
> |
> | import sys, os, string
> | files = sys.argv[1:]
> |
> | for file in files:
> |     # filename will be w/o the extension
> |     filename, extension = string.split(file, '.', 1)
> |     os.system('convert %s %s.gif', file, filename)
> |
> | Then just call your python script with *.bmp ;)
>
> funny, looks like python to me.  i know someone else posted a csh
> loop, but i ignored that one.
>
> t.
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug





More information about the LUG mailing list