Re: [Tkinter-discuss] Possible to fade a small Tkinter image into a specific background color?
Christopher Barker <[email protected]>
| Newsgroups | gmane.comp.python.image,gmane.comp.python.tkinter |
|---|---|
| Message-ID | <[email protected]> |
On 12/7/10 5:07 AM, Wayne Werner wrote: > On Mon, Dec 6, 2010 at 8:38 PM, <[email protected] > Wondering if there's a PIL/Tkinter technique I can use to fade a > small image into a specific background color? > Well, if you convert the image to a numpy array then you can call some C > functions on it so it's not that slow. Once you've got it in a numpy array, you can use numpy to manipulate it -- you're unlikely to need C. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [email protected] _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig