react-native-image-with-adjustment
v1.0.12
Published
## React Native Image with Adjustment
Downloads
6
Maintainers
Readme
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