react-color-extractor
react-color-extractor copied to clipboard
Can't Extract colour from my image
Here's the code, it does not return any color palette but it works when using some image that I saved from google.
` import { ColorExtractor } from 'react-color-extractor';
return ( <ColorExtractor getColors={colors => this.setState({ colors })}> <img src='https://cms.dmpcdn.com/dev_sportschedule/2019/07/26/816e2b70-da46-4c2e-98f8-3e621dafc4a6_original.jpg' style={{ width: 700, height: 500 }} /> </ColorExtractor> ) ` Could you help me find the solutions to this issue and if you have any suggestion please tell me Thank you in advance N.
same .....
I got a weird result... It's work with the link example : 'https://i.imgur.com/OCyjHNF.jpg', but when I tried open source img that's returned me undefined ...