Skip to content

keithbmccall/react-native-color-lens

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published