jimp-dev/jimp

Failing to read large files

Open

#915 opened on Jul 24, 2020

View on GitHub
 (31 comments) (18 reactions) (0 assignees)JavaScript (13,218 stars) (785 forks)batch import
bughelp wantedsolution in issue

Description

I'm trying to use Jimp to process images that are about 70-100 MB in size. However, I get the following error

// image is 87.7 MB
Jimp.read('big-image', (err, img) => {
  console.log(err)
})
> Error: maxMemoryUsageInMB limit exceeded by at least 226MB

Is there any way around this?

Contributor guide