def set_lcd_filter(filt):
 library = get_handle()
 error = FT_Library_SetLcdFilter(library, filt)
 if error:
  raise FT_Exception(error)

def set_lcd_filter ( filt ) : library = get_handle ( ) error = FT_Library_SetLcdFilter ( library , filt ) if error : raise FT_Exception ( error )
this function is used to apply color filtering to lcd decimated bitmaps .