reSWIGged with new SWIG runtime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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()
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user