Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 879 Bytes

README.md

File metadata and controls

42 lines (34 loc) · 879 Bytes

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"