| Trees | Indices | Help |
|
|---|
|
|
Wrapper class for the PIL Image class.
The main purpose for this base class is to provide a consistent interface for defining bitmaps constructed in various different ways. The resulting bitmap is a PIL Image object that can be accessed using the normal PIL interface.
If subclasses use the _arrayToImage() function provided, any pixels larger than the maximum that can be displayed will be counted before they are clipped; these are stored in the clipped_pixels attribute.
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
clipped_pixels = 0int(x[, base]) -> integer |
|||
name = <param.parameterized.String object at 0xa8ebb2c>String identifier for this object. |
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
|
|
|
Generate a 1-channel PIL Image from an array of values from 0 to 1.0. Values larger than 1.0 are clipped, after adding them to the total clipped_pixels. Returns a one-channel (monochrome) Image. |
|
|||
clipped_pixelsint(x[, base]) -> integer Convert a string or number to an integer, if possible. A floating point argument will be truncated towards zero (this does not include a string representation of a floating point number!) When converting a string, use the optional base. It is an error to supply a base when converting a non-string. If base is zero, the proper base is guessed based on the string content. If the argument is outside the integer range a long object will be returned instead.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 5 14:59:42 2010 | http://epydoc.sourceforge.net |