[wxPython-users] About Embedded Image Source

Jia Lu roka100 at gmail.com
Fri Apr 13 20:41:35 PDT 2007


Thank you very much! Robin

2007/4/14, Robin Dunn <robin at alldunn.com>:
> 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!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>


-- 
-- Jia LU
<http://www.lujia.us>
Registered Linux user #434792
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')])
for p in '001akor at liamg.moc'.split('@')])"
--
 \     "Unix is an operating system, OS/2 is half an operating system, |
  `\       Windows is a shell, and DOS is a boot partition virus."  -- |
_o__)                                                  Peter H. Coffin |




More information about the wxpython-users mailing list