[Image-SIG] [Tkinter-discuss] Possible to fade a small Tkinter image into a specific background color?

Christopher Barker Chris.Barker at noaa.gov
Thu Dec 9 18:58:09 CET 2010


On 12/7/10 5:07 AM, Wayne Werner wrote:
> On Mon, Dec 6, 2010 at 8:38 PM, <python at bdurham.com
>     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

Chris.Barker at noaa.gov


More information about the Image-SIG mailing list