node-colour-extractor
node-colour-extractor copied to clipboard
Extract colour palettes from images 🎨
This is to allow color extraction to still continue working in case of error or exception. In `parseHistogramLine` function, when `gm` does not fully remove the EXIF data, error such...
a simple: ``` ce.topColours("_screenshot.jpg", true, function(colours) { console.log(colours); }); ``` leads to: ``` { [Error: Command failed: ] code: null, signal: 'SIGSEGV' } events.js:72 throw er; // Unhandled 'error' event...
since this module doesn't support `gm >= 1.0.0`, let's specify it in `package.json`.
Hello! Seems like a potentially good project! Nicely done! I was definitely interested due to the implementation being in Rust and not depending on any external dependencies like ImageMagick (or...