jimp-dev/jimp

Failing to read large files

Aperta

#915 aperta il 24 lug 2020

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

Metriche repository

Star
 (13.218 stelle)
Metriche merge PR
 (Metriche PR in attesa)

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