img2py fails

Hi,

I am using wxpython 2.8.10.1/python 2.6 on windows xp and I noticed that I am
not any longer able to convert png files to python source using wx.tools.img2py

Calling img2py('bla.png','bla.py') on any image results in a rather short .py
file (the data is always the same, disregarding the image):

···

#----------------------------------------------------------------------
# This file was generated by C:\Python26\scripts\ipython.py
#
from wx.lib.embeddedimage import PyEmbeddedImage

bla = PyEmbeddedImage(
    "iVBORwo=")
getblaData = bla.GetData
getblaImage = bla.GetImage
getblaBitmap = bla.GetBitmap

Any ideas?

Christian

Christian,

···

On 09/06/2010 11:03, Christian K. wrote:

Hi,

I am using wxpython 2.8.10.1/python 2.6 on windows xp and I noticed that I am
not any longer able to convert png files to python source using wx.tools.img2py

Calling img2py('bla.png','bla.py') on any image results in a rather short .py
file (the data is always the same, disregarding the image):
   

There was an issue with img2py, get the one for 2.8.10 out of SVN or update to 2.8.11.

See this thread "img2py does not pythonize PNGs?" in Oct 2009.

Werner

werner <wbruhin <at> free.fr> writes:

Christian,

There was an issue with img2py, get the one for 2.8.10 out of SVN or
update to 2.8.11.

See this thread "img2py does not pythonize PNGs?" in Oct 2009.

Thanks! Christian