parameters: (*args, **kwargs)
return_statement: return val
docstring: BitmapFromImage(Image image, int depth=BITMAP_SCREEN_DEPTH) -> Bitmap
  
      Creates bitmap object from a `wx.Image`. This has to be done to
      actually display a `wx.Image` as you cannot draw an image directly on
      a window. The resulting bitmap will use the provided colour depth (or
      that of the current screen colour depth if depth is -1) which entails
      that a colour reduction may have to take place.
docstring_summary: BitmapFromImage(Image image, int depth=BITMAP_SCREEN_DEPTH) -> Bitmap
docstring_tokens: BitmapFromImage ( Image image int depth = BITMAP_SCREEN_DEPTH ) - > Bitmap
function: def BitmapFromImage(*args, **kwargs):
      """
      BitmapFromImage(Image image, int depth=BITMAP_SCREEN_DEPTH) -> Bitmap
  
      Creates bitmap object from a `wx.Image`. This has to be done to
      actually display a `wx.Image` as you cannot draw an image directly on
      a window. The resulting bitmap will use the provided colour depth (or
      that of the current screen colour depth if depth is -1) which entails
      that a colour reduction may have to take place.
      """
      val = _gdi_.new_BitmapFromImage(*args, **kwargs)
      return val
function_tokens: def BitmapFromImage ( * args , * * kwargs ) : val = _gdi_ . new_BitmapFromImage ( * args , * * kwargs ) return val