How to use the react-native-video.FilterType.INVERT function in react-native-video

To help you get started, we’ve selected a few react-native-video examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github flow-typed / flow-typed / definitions / npm / react-native-video_v4.x.x / flow_v0.77.0- / test_react-native-video.js View on Github external
it('should has values', () => {
    (FilterType.NONE: '');
    (FilterType.INVERT: 'CIColorInvert');
    (FilterType.MONOCHROME: 'CIColorMonochrome');
    (FilterType.POSTERIZE: 'CIColorPosterize');
    (FilterType.FALSE: 'CIFalseColor');
    (FilterType.MAXIMUMCOMPONENT: 'CIMaximumComponent');
    (FilterType.MINIMUMCOMPONENT: 'CIMinimumComponent');
    (FilterType.CHROME: 'CIPhotoEffectChrome');
    (FilterType.FADE: 'CIPhotoEffectFade');
    (FilterType.INSTANT: 'CIPhotoEffectInstant');
    (FilterType.MONO: 'CIPhotoEffectMono');
    (FilterType.NOIR: 'CIPhotoEffectNoir');
    (FilterType.PROCESS: 'CIPhotoEffectProcess');
    (FilterType.TONAL: 'CIPhotoEffectTonal');
    (FilterType.TRANSFER: 'CIPhotoEffectTransfer');
    (FilterType.SEPIA: 'CISepiaTone');
  });
github react-native-community / react-native-video / examples / basic / index.ios.js View on Github external
import {
  AlertIOS,
  AppRegistry,
  Platform,
  StyleSheet,
  Text,
  TouchableOpacity,
  View,
} from 'react-native';

import Video,{FilterType} from 'react-native-video';

const filterTypes = [
    FilterType.NONE,
    FilterType.INVERT,
    FilterType.MONOCHROME,
    FilterType.POSTERIZE,
    FilterType.FALSE,
    FilterType.MAXIMUMCOMPONENT,
    FilterType.MINIMUMCOMPONENT,
    FilterType.CHROME,
    FilterType.FADE,
    FilterType.INSTANT,
    FilterType.MONO,
    FilterType.NOIR,
    FilterType.PROCESS,
    FilterType.TONAL,
    FilterType.TRANSFER,
    FilterType.SEPIA
];