1.0.27 • Published 5 years ago
react-native-images-combine v1.0.27
react-native-images-combine
React Native Library for combine images
Getting started
$ npm install react-native-images-combine --save
iOS
- cd ios
- pod install
Usage
import ImagesCombineLibrary from 'react-native-images-combine';
ImagesCombineLibrary.combineImages([
Image.resolveAssetSource(require('../images/test1.png')),
Image.resolveAssetSource(require('../images/test2.png'))
]).then((base64) => {
});
Web Images, DynamicFiles, or Base64
Alternatively if you have a dynamic url android and iOS or file iOS only use the following syntax
import ImagesCombineLibrary from 'react-native-images-combine';
const image1 = base64Asset // any base64 asset
const image2 = fileUriAsset // any file url asset example file:///data/user/0/com.myapp//cache/tempitem.png
ImagesCombineLibrary.combineImages([
{ uri: image1 },
{ uri: image2 },
]).then(base64 => {
// do something here
})
1.0.27
5 years ago
1.0.26
6 years ago
1.0.25
6 years ago
1.0.24
6 years ago
1.0.23
6 years ago
1.0.22
6 years ago
1.0.21
6 years ago
1.0.19
6 years ago
1.0.18
6 years ago
1.0.20
6 years ago
1.0.17
6 years ago
1.0.16
6 years ago
1.0.15
6 years ago
1.0.14
6 years ago
1.0.13
6 years ago
1.0.12
6 years ago
1.0.11
6 years ago
1.0.10
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.4
6 years ago
1.0.2
6 years ago
1.0.3
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago