Skip to content

Can't Extract colour from my image #4

@devilznat

Description

@devilznat

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 }} />

)
`
Could you help me find the solutions to this issue
and if you have any suggestion please tell me
Thank you in advance
N.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions