Vibrant-Colors / node-vibrant

🎨 Extract prominent colors from an image
MIT License
2.01k stars 107 forks source link

fix: jimp import #102

Closed sentialx closed 4 years ago

sentialx commented 4 years ago

In my project I get error: Jimp.read is not a function, because it was in Jimp.default.read, so I pushed a little fix.

crutchcorn commented 4 years ago

This seems to throw issues in the Node V11. I'm trying to fix up JIMP currently so we can upgrade and fix imports. Jimp has been having issues with TS (in no small part thanks to me)

crutchcorn commented 4 years ago

Replaced by #109. Thank you so much for submitting this