wxpython and images
Chris Liechti
cliechti at gmx.net
Sun Feb 10 11:36:39 EST 2002
sameer_ at email.com (sameer) wrote in
news:6bd9f01b.0202092351.3d73391f at posting.google.com:
> probably something silly i'm missing here, but why is that when i
run
> the wxpython demo (on win2k), wxImage shows jpg, gif, png, and bmp
> images, but when i run that same file from another directory, only
bmp
> images work, and wxpython gives a No image handler found type 17
> error.
>
somewhere befor the images are loaded you must call:
wxInitAllImageHandlers()
you can do it once, globaly for the entire app.
chris
--
Chris <cliechti at gmx.net>
More information about the Python-list
mailing list