phoenix_title 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 Class Hierarchy

Inheritance diagram for class NativeImageHandler:

method_summary Methods Summary

HighlightImage

Adjust overall image brightness to highlight.

Load

Load the file.

Rotate

Rotate image by angle degrees.


api Class API

class NativeImageHandler(object)

This image handler loads and manipulates the thumbnails with the help of wxPython’s own image related functions.


Methods

HighlightImage(self, img, factor)

Adjust overall image brightness to highlight.

Parameters
  • img – an instance of wx.Image;

  • factor – a floating point number representing the highlight factor.



Load(self, filename)

Load the file.

Parameters

filename – a file containing an image;



Rotate(self, img, angle)

Rotate image by angle degrees.

Parameters
  • img – an instance of :class:wx.Image;

  • angle – angle in degrees

Returns

rotated image