React Native Expo: сохранение изображения после применения к нему фильтров с помощью response-native-gl-image-filters - PullRequest
0 голосов
/ 12 июля 2020

Я использую библиотеку response-native-gl-image-filters для применения некоторых фильтров к моему

  state = {
...settings,
hue: 0.0,
blur: 0.0,
sepia: 0,
sharpen: 0.0,
negative: 0,
contrast: 1,
saturation: 1,
brightness: 0.5,
temperature: 400,

};

render () {let photo = this.props .navigation.getParam ("photo", "empty");

return (
  <View style={styles.container}>
    <Surface
      style={{ width, height: width }}
      ref={(ref) => (this.image = ref)}
    >
      <ImageFilters {...this.state} width={width} height={width}>
        {{ photo }}
      </ImageFilters>
    </Surface>

Как я могу сохранить изображение после применения к нему фильтров? Спасибо

...