This is the description of standalone Python functions in the rulerctrl module.
ConvertPILToWX | Converts a PIL image into a wx.Image. |
ConvertWXToPIL | Converts a wx.Image into a PIL image. |
GetIndicatorBitmap | Returns the image indicator as a wx.Bitmap. |
GetIndicatorData | Returns the image indicator as a decompressed stream of characters. |
GetIndicatorImage | Returns the image indicator as a wx.Image. |
MakePalette | Creates a palette to be applied on an image based on input colour. |
Converts a PIL image into a wx.Image.
Parameters: |
|
---|
Note
Requires PIL (Python Imaging Library), which can be downloaded from http://www.pythonware.com/products/pil/
Converts a wx.Image into a PIL image.
Parameters: | bmp – an instance of wx.Image. |
---|
Note
Requires PIL (Python Imaging Library), which can be downloaded from http://www.pythonware.com/products/pil/
Creates a palette to be applied on an image based on input colour.
Parameters: |
|
---|