applyFilter(type, options, isSilent) {
    const executeMethodName = isSilent ? 'executeSilent' : 'execute';

    return this[executeMethodName](commands.APPLY_FILTER, type, options);
  }
Apply filter on canvas image
@param {string} type - Filter type
@param {object} options - Options to apply filter
@param {boolean} isSilent - is silent execution or not
@returns {Promise<FilterResult, ErrorMsg>}
@example
imageEditor.applyFilter('Grayscale');
@example
imageEditor.applyFilter('mask', {maskObjId: id}).then(obj => {
    console.log('filterType: ', obj.type);
    console.log('actType: ', obj.action);
}).catch(message => {
    console.log('error: ', message);
});;