[wxPython-dev] img2py script
Robin Dunn
robin at alldunn.com
Mon Nov 26 11:28:17 PST 2007
Anthony Tuininga wrote:
>
> I'll make these changes and then submit them as a patch. I'll create a
> second patch for wx.lib and a third patch for the demo, ignoring
> images.py and throbImages.py as discussed above. Once the first patch
> is accepted then I can finish off the other two -- unless you want
> them all at once? The reason I am thinking of separating them and then
> waiting is that any changes you decide to make to the first patch may
> affect the other two. I'll do one or two changes just to make sure the
> first patch is indeed working, of course. :-)
I don't currently anticipate any additional changes, so I would prefer
to have them all at once.
BTW, since this will require some changes in existing user code if they
regenerate their python image files then I'm thinking that this should
not go into 2.8. Any thoughts from the group on that?
If we do want to get this into 2.8 then I think that we need to make
img2py still be able to generate functions like before instead of using
the new class, so the same API will be available in the generated file.
We can add an option that turns on the generation of code using the
class instead of functions, and then in 2.9 make that be the default.
The data can still be encoded with base64 in the new version using
either functions or the class instance since I don't think anybody will
care about that as long as they are able to get the bitmaps without
changing anything in their code.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-dev
mailing list