[wxPython-users] About Embedded Image Source

Robin Dunn robin at alldunn.com
Fri Apr 13 12:42:40 PDT 2007


Jia Lu wrote:
> Hello all
> 
> I found it is a good way to embed images in source.
> But I got a question that how can I get the embed image code from a 
> image file.
> 
> I tried open&read() from a jpg file. But what I got is not a valid image 
> code.

See the img2py script included with wxPython.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list