jimp-dev/jimp

Failing to read large files

Open

#915 ouverte le 24 juil. 2020

Voir sur GitHub
 (31 commentaires) (18 réactions) (0 assignés)JavaScript (785 forks)batch import
bughelp wantedsolution in issue

Métriques du dépôt

Stars
 (13 218 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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