react-native-merge-two-image
v1.1.9
Published
Combine square images
Downloads
6
Readme
react-native-merge-two-image
Additional edits from react-native-images-merge
https://www.npmjs.com/package/react-native-images-merge
Platform Supported
- [x] Android
- [x] iOS
Getting started
$ npm install react-native-merge-two-image --save
cd ios
pod install
Mostly automatic installation
$ react-native link react-native-merge-two-image
Usage
import ImagesMerge from 'react-native-merge-two-image';
//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"