jimp-dev/jimp

Failing to read large files

Open

#915 aperta il 24 lug 2020

Vedi su GitHub
 (31 commenti) (18 reazioni) (0 assegnatari)JavaScript (785 fork)batch import
bughelp wantedsolution in issue

Metriche repository

Star
 (13.218 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor