
wx.lib.agw.scrolledthumbnail.NativeImageHandler¶This image handler loads and manipulates the thumbnails with the help of wxPython’s own image related functions.
Class Hierarchy¶
Inheritance diagram for class NativeImageHandler:
Methods Summary¶Adjust overall image brightness to highlight. |
|
Load the file. |
|
Rotate image by angle degrees. |
Class API¶NativeImageHandler(object)¶This image handler loads and manipulates the thumbnails with the help of wxPython’s own image related functions.
HighlightImage(self, img, factor)¶Adjust overall image brightness to highlight.
img – an instance of wx.Image;
factor – a floating point number representing the highlight factor.
Load(self, filename)¶Load the file.
filename – a file containing an image;
Rotate(self, img, angle)¶Rotate image by angle degrees.
img – an instance of :class:wx.Image;
angle – angle in degrees
rotated image