[lug] Image conversion.
John Starkey
jstarkey at advancecreations.com
Fri Dec 22 16:38:57 MST 2000
Thank you very much.
Time to learn python :}
On Fri, 22 Dec 2000, Ken Kinder wrote:
> 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 ;)
>
> On Fri, Dec 22, 2000 at 04:28:24PM -0700, John Starkey wrote:
> > I've got 500 images to convert from .bmp to .gif (they're B&W). Obviously
> > being that many I won't be able to go thru them one by one until they're
> > posted so I need something that will do it right.
> >
> > Anyone have any suggestions on apps that will do this? I think I remember
> > ImageMagick or something similar doing this?
> >
> >
> > TIA,
> >
> > John
> >
> >
> > _______________________________________________
> > 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