Thanks! That's it.
Alex
Alex Li wrote:
val = imagec.wxBitmapFromImage(*_args,**_kwargs)
wxPython.wxc.wxPyAssertionError: C++ assertion "wxAssertFailure" failed in
c:\PROJECTS\wx\src\msw\bitmap.cpp(507): invalid imageThe wxpython demo can run, but mine can't? How come? Ideally I would like
to
use the img2py.py file to generate the image data from a xpm file... what is
the requirement of that xpm file, besides 32x32 in size and 16 colours?
Do you call wxInitAllImageHandlers() in your app?
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com