[wxPython-users] wx.animate.Animation Question
Grzegorz Adam Hankiewicz
ghankiewicz at rastertech.es
Fri Mar 9 04:19:29 PST 2007
Hannes Mueller wrote:
> ani = wx.animate.Animation("filename.gif")
>
> I want to distribute this application, and I want to reduce the amount
> of files i have to distribute and that can lead to "user induced errors".
> Is there any way I can store the gif information in the code and make
> the Animation constructor read it from there?
wxPython provides wx.tools.img2py, which can be called to convert .png
files into importable python source code. I guess it works with .gif
too, or there's some other similar script for gifs which you could use.
--
Rastertech España S.A.
Grzegorz Adam Hankiewicz
/Jefe de Producto TeraVial/
C/ Perfumería 21. Nave I. Polígono industrial La Mina
28770 Colmenar Viejo. Madrid (España)
Tel. +34 918 467 390 (Ext.18) *·* Fax +34 918 457 889
ghankiewicz at rastertech.es *·* www.rastertech.es
<http://www.rastertech.es/>
More information about the wxpython-users
mailing list