Edit history

Edit: -1 of 1
Time: 2007-01-20 21:26:40
Note: /dabosite/wiki/DaboUiImageFromData/reparent

changed:
-
Signature:

 <pycode>dabo.ui.imageFromData(data)</pycode>

Description:

 Using the img2py.py script in the wx.tools folder, you can convert an image to a text stream that can be included in a Python script. This allows for greater portability, since you don't need to distribute a separate image file.

Returns:

 wx.Image object.

Comments:

 Rarely used by a programmer; mostly used internally by the framework.