react-native-images-merge
Additional edits from react-native-images-merge
https://www.npmjs.com/package/react-native-images-merge
Platform Supported
- Android
- iOS
Getting started
$ npm install react-native-images-merge --save
cd ios
pod install
Mostly automatic installation
$ react-native link react-native-images-merge
Usage
import ImagesMerge from 'react-native-images-merge';
//Android
ImagesMerge.mergeImages([
{uri: 'data:image/png;base64'},
{ uri: 'data:image/png;base64' }
],orient)
//IOS
ImagesMerge.mergeImages([
{uri: 'data:image/png;base64,',orients: "horizontal"},
{uri: 'data:image/png;base64,',orients: "horizontal"}
],(result) => {
console.log(result)
});
*orient : string{"vertical","horizontal"} default "horizontal"