Skip to content

JuanJouglard/react-native-image-with-adjustment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published