[wxPython-dev] img2py script
Anthony Tuininga
anthony.tuininga at gmail.com
Sat Nov 24 22:27:01 PST 2007
On Nov 20, 2007 1:01 PM, Patrick K. O'Brien <pobrien at orbtech.com> wrote:
> On Nov 20, 2007, at 1:35 PM, Anthony Tuininga wrote:
>
> > Unless I hear otherwise I'll assume that patches against the 2.8
> > branch work for you. I'll send one further e-mail with a link to the
> > tracker when I've got something I think is worth looking at. Thanks.
>
> This will be a nice improvement to this script. Thanks for taking
> this on, Anthony. :-)
You're welcome. Now I understand why you wanted to thank me in advance... :=
-)
I created the basic module for the embedded images (see attached),
modified img2py.py from the tools subdirectory, modified all of the
wx.lib modules that used the old technique and started on the demo.
I've got a few dozen files changed already, some of them large. I was
planning to simply dump everything on one patch but perhaps this needs
to be split further? I'd like some direction here before I spend a
great deal more time on it.
First of all, I've named the module
wx.lib.images
and the name of the class is PyEmbeddedImage as suggested by Robin.
I've tested this on a number of things and it appears to function
fine.
This module and wx.tools.img2py (see attached diff) can be checked in
independently of all of other changes. Since some of the other changes
are rather large it may prove simpler to simply give me (temporary)
SVN write access or for me to send them directly to someone else
rather than use the tracker. Some of the diffs are quite large (the
images.py in the demo is over 1 MB).
I'd also appreciate any feedback on the two attached files as they are
the basis for all of the other changes in wx.lib and the demo. Thanks.
Anthony
> --
> Patrick K. O'Brien
> Orbtech http://www.orbtech.com
> Schevo http://www.schevo.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-dev-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-dev-help at lists.wxwidgets.org
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: images.py
Type: text/x-python
Size: 1168 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-dev/attachments/2007112=
4/74e9bfe1/images.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: img2py.py.diff
Type: text/x-patch
Size: 8492 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-dev/attachments/2007112=
4/74e9bfe1/img2py.py.bin
More information about the wxpython-dev
mailing list