jimp-dev/jimp

Failing to read large files

Ouverte

#915 ouverte le 24 juil. 2020

 (31 commentaires) (18 réactions) (0 personne assignée)JavaScript (785 forks)batch import
bughelp wantedsolution in issue

Métriques du dépôt

Stars
 (13 218 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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?

Guide contributeur