jimp-dev/jimp

Failing to read large files

Open

#915 geöffnet am 24. Juli 2020

Auf GitHub ansehen
 (31 Kommentare) (18 Reaktionen) (0 zugewiesene Personen)JavaScript (13.218 Stars) (785 Forks)batch import
bughelp wantedsolution in issue

Beschreibung

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