chensiun/react-color-thief
A React component for grabbing the color palette from an image(一个提取图片主要颜色的React组件)
JavaScriptMIT
Issues
- 0
ColorThief.js:17 Uncaught (in promise) TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLCanvasElement or HTMLImageElement or HTMLVideoElement or ImageBitmap or OffscreenCanvas or SVGImageElement or VideoFrame)'.
#2 opened by Simoneth - 0