Comments (1)
This library is a wrapper around the Palette class on Android and UIImageColors on iOS. So because they have different implementation, they can extract different colors for the same image.
There isn't anything you can do. you could tinker with the colors extracted for some image and see which properties are closest to each other in iOS and Android.
you can check if node-vibrant works with react native since its implemented in JS and will get the same colors for both platforms.
from react-native-image-colors.
Related Issues (20)
- Not working with locally cached images HOT 1
- TypeError: null is not an object (evaluating '_module.RNImageColors.getColors') HOT 15
- This is not working in Apple tv . HOT 8
- Need to update kotlin-gradle-plugin to 1.6.20 as kotlin-android-extensions needs gradle plugin version >= 1.6.20 HOT 1
- [Error: ImageColors: Invalid image URI – failed to get image]
- can get same color both ios and android? HOT 1
- ImageColors: Illegal character in path HOT 4
- Android always gives unknown color error when fallback color is #000 HOT 6
- Error when building for Android with Expo SDK 49 and React Native 0.72.1 HOT 2
- this package is not working HOT 2
- Error in react native CLI HOT 7
- Pod install not working after installing react-native-image-colors HOT 3
- Cannot find native module 'ImageColors' HOT 9
- [iOS] Doesn't build with RN 0.73
- [Android] build failed HOT 1
- [iOS] Replace iOS underlying implementation
- Question: How to get the colors for a portion of an image
- [Expo 51] Build failed on android
- Can not find native module ImageColors in react native cli HOT 2
- I introduced getColors in the RN project and got an undefined HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-image-colors.