Me thinks something like this might work:
from wxPython.wx import *
from CStringIO import *
stream = CStringIO ( <str> )
image = wxImageFromStream ( stream )
bitmap = wxBitmapFromImage ( image )
···
On Fri, 2003-09-05 at 02:48, Przemo wrote:
hello,
in module zipfile, there's method z.read() which reads stream of bytes into
<str>, so how to convert "this"<str> to bitmapthanks in adv.
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
--
Jim West
CheckLogix -a Concord company
102 S. Tejon Ste 920, Colorado Springs, CO 80903
719.633.7005 x223 Fax: 719.633.7006 Cell: 719.660.5676