X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/091f5bedb451e8053afd8ebd81091bee58ce5f47..a7d5151df02bf70a9f6ff1c5c7fd33ab07bf409c:/wxPython/src/gtk/_core.py diff --git a/wxPython/src/gtk/_core.py b/wxPython/src/gtk/_core.py index d5db1b7c2c..f7ad0825f6 100644 --- a/wxPython/src/gtk/_core.py +++ b/wxPython/src/gtk/_core.py @@ -1,4 +1,4 @@ -# This file was created automatically by SWIG. +# This file was created automatically by SWIG 1.3.27. # Don't modify this file, modify the SWIG interface instead. import _core_ @@ -2937,6 +2937,16 @@ class Image(Object): """ return _core_.Image_Replace(*args, **kwargs) + def ConvertToGreyscale(*args, **kwargs): + """ + ConvertToGreyscale(self, double lr=0.299, double lg=0.587, double lb=0.114) -> Image + + Convert to greyscale image. Uses the luminance component (Y) of the + image. The luma value (YUV) is calculated using (R * lr) + (G * lg) + (B * lb), + defaults to ITU-T BT.601 + """ + return _core_.Image_ConvertToGreyscale(*args, **kwargs) + def ConvertToMono(*args, **kwargs): """ ConvertToMono(self, byte r, byte g, byte b) -> Image @@ -13626,3 +13636,4 @@ _core_._wxPyFixStockObjects() #---------------------------------------------------------------------------- +