automatic gif formation from list of strings?

jepler at unpythonic.net jepler at unpythonic.net
Wed Aug 7 22:57:25 EDT 2002


I don't know if all the pieces are available on Windows, but on Unix I
would use "gimp-python", which allows one to write scripts for the gimp
image editing program in Python.

Furthermore, gimp already includes many scripts written in a dialect of
Scheme which can create buttons and labels in various styles.  Probably you
could develop something whose main loop is little more difficult than:

    for i in range(1900, 2000):
	img = gimp.pdb.script_fu_????(...., str(i), ...)
	img.save("%s.jpg" % i)
	img.close()

to create 100 drawings with the desired text and consistent style.

If you want to learn scheme, you could write this almost as easily without
installing gimp-python at all, just using a basic installation of the gimp.

Jeff




More information about the Python-list mailing list