41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
From: joe at strout.net (Joe Strout)
|
|
Date: Thu, 29 Apr 1999 10:45:02 -0700
|
|
Subject: GUI and creating GIF
|
|
References: <7g7u2k$fr0$1@wanadoo.fr>
|
|
Message-ID: <joe-290419991045026773@chinacat.salk.edu>
|
|
Content-Length: 1117
|
|
X-UID: 831
|
|
|
|
[[ This message was both posted and mailed: see
|
|
the "To," "Cc," and "Newsgroups" headers for details. ]]
|
|
|
|
In article <7g7u2k$fr0$1 at wanadoo.fr>, Frank.Derville
|
|
<Frank.Derville at wanadoo.fr> wrote:
|
|
|
|
> I would like to
|
|
> 1) create a GIF file under Python by drawing lines, text, ... I have looked
|
|
> at Tk which can create bitmaps and photoimage but their seem to be no
|
|
> possibility to transform a canvas into a photoimage.
|
|
> 2) rotate some text on a canvas.
|
|
|
|
You can do this with PIL (Python Imaging Library), but it's a little
|
|
painful.
|
|
|
|
You can also try PIDDLE, which is still under development -- but it can
|
|
do this if you're brave. It's the piddlePIL backend that you'd want.
|
|
See: http://www.strout.net/python/piddle/ for more info.
|
|
|
|
Cheers,
|
|
-- Joe
|
|
|
|
--
|
|
,------------------------------------------------------------------.
|
|
| Joseph J. Strout Biocomputing -- The Salk Institute |
|
|
| joe at strout.net http://www.strout.net |
|
|
`------------------------------------------------------------------'
|
|
Check out the Mac Web Directory! http://www.strout.net/macweb.cgi
|
|
|
|
|
|
|
|
|