[wxPython-users] how to load an icon from a string?

Christopher Barker Chris.Barker at noaa.gov
Fri Dec 7 13:11:46 PST 2007



Mark Erbaugh wrote:

> A while back, I found some code online for importing jpeg files,

See the py2img utility that ships with wxPython for this -- it convets 
images to python source code.

I dont' think it works with Icons though -- they can be multiple 
resolutions all stored in one file. If you only need one resolution, 
though, it should work fine.

-CHB

-- 
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 wxpython-users mailing list