You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 });
The text was updated successfully, but these errors were encountered:
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 });
The text was updated successfully, but these errors were encountered: