Open
Description
When trying to get palettes from larger images (like jpegs greater than 5mb) (using node) it appears that jimp/plugin-resize throws a maxMemoryUsageInMB
error. The default for jimp decode options is 512mb.
Where can it be configured from node-vibrant to allow working with larger images?
Be neat if the Jimp object could be exposed by Vibrant allowing for configuration like so:
Jimp.decoders['image/jpeg'] = (data: Buffer) => JPEG.decode(data, { maxMemoryUsageInMB: 1024 });