*********** wx.Quantize *********** Inheritance diagram for `wx.Quantize`: | .. inheritance-diagram:: wx.Quantize | Description =========== Performs quantization, or colour reduction, on a `wx.Image `_. Functions in this class are static and so a `wx.Quantize` object need not be created. Derived From ^^^^^^^^^^^^^ * `wx.Object `_ Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ * `Quantize <#Quantize>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__() `No docstrings available for this method.` -------- .. method:: Quantize(src, dest, desiredNoColours=236, flags=wx.QUANTIZE_INCLUDE_WINDOWS_COLOURS|wx.QUANTIZE_FILL_DESTINATION_IMAGE) 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. **Parameters:** * `src` (`wx.Image `_): the source image. * `dest` (`wx.Image `_): the destination image. * `desiredNoColours` (int) * `flags` (int) | **Returns:** `bool`