react-native-color-lens

2.2.4 • Public • Published

react-native-color-lens

A React-Native util for extracting the dominant colors from an image. Uses ColorThiefSwift as a foundation.

Getting started

npm install react-native-color-lens --save

or

yarn add react-native-color-lens

API

getPalette(imageUri, callback)

imageUri: String - uri location of local image

callback: Func - (err, swatches) => {}

Thanks

Contact

Package Sidebar

Install

npm i react-native-color-lens

Weekly Downloads

25

Version

2.2.4

License

ISC

Unpacked Size

208 kB

Total Files

22

Last publish

Collaborators

  • xecuti431