In my app, after use selects an image from gallery, he needs to black out some part of it. for example draw a black line where there are some names or signatures.
Is it possible to achieve this with JS only? or do I have to make some native views separately for android/ios and implement it to react native?
or is there any image picker modules which provides such a feature?
In my app, after use selects an image from gallery, he needs to black out some part of it. for example draw a black line where there are some names or signatures.
Is it possible to achieve this with JS only? or do I have to make some native views separately for android/ios and implement it to react native?
or is there any image picker modules which provides such a feature?
Share Improve this question asked Mar 20, 2017 at 14:27 Ata MohammadiAta Mohammadi 3,5506 gold badges43 silver badges71 bronze badges1 Answer
Reset to default 4It's a little bit late, but I think this library will do the trick:
https://www.npmjs./package/@terrylinla/react-native-sketch-canvas
You can load a picture beforehand as your canvas with the localSourceImage
prop.