Home | Trees | Index | Help |
|
---|
Package wx :: Class Quantize |
|
object
--+
|
Quantize
Performs quantization, or colour reduction, on a wxImage.
Method Summary | |
---|---|
__init__(self)
| |
__repr__(self)
| |
bool |
Reduce the colours in the source image and put the result into the destination image, setting the palette in the destination if needed. (Static method) |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
Return a new object with type S, a subtype of T... | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
Return str(x)... |
Static Method Details |
---|
Quantize(src, dest, desiredNoColours=236, flags=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTIN...)Reduce the colours in the source image and put the result into the destination image, setting the palette in the destination if needed. Both images may be the same, to overwrite the source image. :todo: Create a version that returns the wx.Palette used.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 17:01:06 2007 | http://epydoc.sf.net |