adding text to jpeg images using Python/PIL/???
Chris Gonnerman
chris.gonnerman at usa.net
Sun Apr 8 02:26:23 EDT 2001
You can do this with either PIL (Python Imaging Library):
http://www.pythonware.com/downloads/index.htm
or gdmodule:
http://newcenturycomputers.net/projects/gdmodule
In either case, you would load the picture, draw the text
at the desired location (both libraries will report the
picture size if requested), and resave it, possibly under
a different name.
----- Original Message -----
From: "Greg Foltz" <gfoltz at gsf.com>
Newsgroups: comp.lang.python
To: <python-list at python.org>
Sent: Saturday, April 07, 2001 7:44 PM
Subject: adding text to jpeg images using Python/PIL/???
> I'm trying to add a name and copyright to jpeg's before publishing on the
> web. Seems I remember seeing this question and answer sometime in the
past
> but cannot find the answer now without deja.news. Any and all suggestions
> solicited, perhaps with a code snippet. I've googled and searched most of
> the usual Python sites without coming up with a good approach.
>
> Thanks beforehand,
>
> Greg
More information about the Python-list
mailing list