react-color-extractor icon indicating copy to clipboard operation
react-color-extractor copied to clipboard

Can't Extract colour from my image

Open devilznat opened this issue 5 years ago • 1 comments

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.

devilznat avatar Jun 10 '20 04:06 devilznat

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 ...

hpachy avatar Nov 09 '20 16:11 hpachy