react-native-image-with-adjustment

1.0.12 • Public • Published

Still in development

React Native Image with Adjustment

This is a component for react native to display images. It inherits all funcionality of the base react native image components, and adds three more props to change image's saturation, brightness and contrast. It also accepts a prop called save.

<ImageWithAdjustment
  brightness={this.state.brightness}
  saturation={this.state.saturation}
  contrast={this.state.contrast}
  src={{ source: [(uri: uri)], width: 1920, height: 1080 }}
  resizeMode="contain"
  onSave={this.onSave}
  save={this.triggerSave}
/>

This component is still being developed, it's not working currently. What you can do, is adapt the code for your given project. Noticed that the component is written on Android side with Java

/react-native-image-with-adjustment/

    Package Sidebar

    Install

    npm i react-native-image-with-adjustment

    Weekly Downloads

    0

    Version

    1.0.12

    License

    ISC

    Unpacked Size

    125 kB

    Total Files

    37

    Last publish

    Collaborators

    • juanjou