How to get colour from image in react native [closed]
It seem silly question but I am new to react technology . Here I want to pick a color from image . For Example When User select a image to upload then I want to get all color which are used in image . If it possible please give me suggestion or solution or give me some resource ( video ) to complete my project
Thanks
javascript reactjs react-native ecmascript-6
closed as too broad by Kaiido, Book Of Zeus, Ian Lim, greg-449, Springer F Jan 2 at 11:02
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
It seem silly question but I am new to react technology . Here I want to pick a color from image . For Example When User select a image to upload then I want to get all color which are used in image . If it possible please give me suggestion or solution or give me some resource ( video ) to complete my project
Thanks
javascript reactjs react-native ecmascript-6
closed as too broad by Kaiido, Book Of Zeus, Ian Lim, greg-449, Springer F Jan 2 at 11:02
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Try this if you are still looking for something like that npmjs.com/package/get-image-colors
– Basav
Feb 16 at 2:44
add a comment |
It seem silly question but I am new to react technology . Here I want to pick a color from image . For Example When User select a image to upload then I want to get all color which are used in image . If it possible please give me suggestion or solution or give me some resource ( video ) to complete my project
Thanks
javascript reactjs react-native ecmascript-6
It seem silly question but I am new to react technology . Here I want to pick a color from image . For Example When User select a image to upload then I want to get all color which are used in image . If it possible please give me suggestion or solution or give me some resource ( video ) to complete my project
Thanks
javascript reactjs react-native ecmascript-6
javascript reactjs react-native ecmascript-6
asked Jan 1 at 18:54
JonJon
757
757
closed as too broad by Kaiido, Book Of Zeus, Ian Lim, greg-449, Springer F Jan 2 at 11:02
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as too broad by Kaiido, Book Of Zeus, Ian Lim, greg-449, Springer F Jan 2 at 11:02
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Try this if you are still looking for something like that npmjs.com/package/get-image-colors
– Basav
Feb 16 at 2:44
add a comment |
Try this if you are still looking for something like that npmjs.com/package/get-image-colors
– Basav
Feb 16 at 2:44
Try this if you are still looking for something like that npmjs.com/package/get-image-colors
– Basav
Feb 16 at 2:44
Try this if you are still looking for something like that npmjs.com/package/get-image-colors
– Basav
Feb 16 at 2:44
add a comment |
3 Answers
3
active
oldest
votes
I am not sure this suffices for your specifications, but Color Thief is a JS library which extracts the dominant color from an image. You would not be able to use it as such since it is created specifically for web and makes use of canvas, but there is not much code to it so with some work you could get this to work I guess ...
add a comment |
The best way to do image processing is on Backend. But there are cases where you want to do theming on the device based on the image. In that case, you can use an iOS cocopod like ChameleonFramework and create a Native Bridge to call iOS classes.
To create a Native Bridge you can check out Native iOS Bridge for iOS and Android
add a comment |
I suggest that you could try Google cloud vision. After upload an image, Google returns relevant information including colors
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
I am not sure this suffices for your specifications, but Color Thief is a JS library which extracts the dominant color from an image. You would not be able to use it as such since it is created specifically for web and makes use of canvas, but there is not much code to it so with some work you could get this to work I guess ...
add a comment |
I am not sure this suffices for your specifications, but Color Thief is a JS library which extracts the dominant color from an image. You would not be able to use it as such since it is created specifically for web and makes use of canvas, but there is not much code to it so with some work you could get this to work I guess ...
add a comment |
I am not sure this suffices for your specifications, but Color Thief is a JS library which extracts the dominant color from an image. You would not be able to use it as such since it is created specifically for web and makes use of canvas, but there is not much code to it so with some work you could get this to work I guess ...
I am not sure this suffices for your specifications, but Color Thief is a JS library which extracts the dominant color from an image. You would not be able to use it as such since it is created specifically for web and makes use of canvas, but there is not much code to it so with some work you could get this to work I guess ...
answered Jan 1 at 19:46
dentemmdentemm
2,81121225
2,81121225
add a comment |
add a comment |
The best way to do image processing is on Backend. But there are cases where you want to do theming on the device based on the image. In that case, you can use an iOS cocopod like ChameleonFramework and create a Native Bridge to call iOS classes.
To create a Native Bridge you can check out Native iOS Bridge for iOS and Android
add a comment |
The best way to do image processing is on Backend. But there are cases where you want to do theming on the device based on the image. In that case, you can use an iOS cocopod like ChameleonFramework and create a Native Bridge to call iOS classes.
To create a Native Bridge you can check out Native iOS Bridge for iOS and Android
add a comment |
The best way to do image processing is on Backend. But there are cases where you want to do theming on the device based on the image. In that case, you can use an iOS cocopod like ChameleonFramework and create a Native Bridge to call iOS classes.
To create a Native Bridge you can check out Native iOS Bridge for iOS and Android
The best way to do image processing is on Backend. But there are cases where you want to do theming on the device based on the image. In that case, you can use an iOS cocopod like ChameleonFramework and create a Native Bridge to call iOS classes.
To create a Native Bridge you can check out Native iOS Bridge for iOS and Android
answered Jan 2 at 4:51
Abhishek NalwayaAbhishek Nalwaya
845
845
add a comment |
add a comment |
I suggest that you could try Google cloud vision. After upload an image, Google returns relevant information including colors
add a comment |
I suggest that you could try Google cloud vision. After upload an image, Google returns relevant information including colors
add a comment |
I suggest that you could try Google cloud vision. After upload an image, Google returns relevant information including colors
I suggest that you could try Google cloud vision. After upload an image, Google returns relevant information including colors
answered Jan 2 at 4:55
Vu LuuVu Luu
467310
467310
add a comment |
add a comment |
Try this if you are still looking for something like that npmjs.com/package/get-image-colors
– Basav
Feb 16 at 2:44