Image filters for gl-react and gl-react-native
npm install gl-react-imagefilters
Image filters for gl-react and gl-react-native
- children (required): the content to negate.
- sepia: optionally the intensity of the effect. 1.0 is normal. higher than 1 will add sepia.
- hue: optional input to adjust the hue filter (Default: 0 )
- blur: optional input to adjust the blur filter (Default: 0 )
- sepia: optional input to adjust the sepia filter (Default: 0 )
- sharpen: optional input to adjust the sharpen filter (Default: 0 )
- negative: optional input to adjust the negative filter (Default: 0 )
- contrast: optional input to adjust the contrast filter (Default: 1 )
- saturation: optional input to adjust the saturation filter (Default: 1 )
- brightness: optional input to adjust the brightness filter (Default: 1 )
- temperature: optional input to adjust the temperature filter (Default: 6500, Normal range: 2000-12000 )
``js`
var ImageFilter = require("gl-react-imagefilters");
// or
import ImageFilter from "gl-react-imagefilters";
`html`
`html``
imageSize={{ width: 300, height: 200 }}
resizeMode="cover" />