This image handler loads and manipulates the thumbnails with the help of PIL (the Python Imaging Library).
__init__ |
Default class constructor. |
HighlightImage |
Adjust overall image brightness to highlight. |
LoadThumbnail |
Load the file and rescale it. |
PILImageHandler
(object)¶This image handler loads and manipulates the thumbnails with the help of PIL (the Python Imaging Library).
__init__
(self)¶Default class constructor.
Note
If PIL is not installed, this will raise an exception. PIL can be downloaded from http://www.pythonware.com/products/pil/ .
HighlightImage
(self, img, factor)¶Adjust overall image brightness to highlight.
Parameters: |
|
---|
LoadThumbnail
(self, filename, thumbnailsize)¶Load the file and rescale it.
Parameters: |
|
---|