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 (785 Forks)batch import
bughelp wantedsolution in issue

Repository-Metriken

Stars
 (13.218 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

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