jimp-dev/jimp

Failing to read large files

オープン

#915 opened on 2020/07/24

 (31 件のコメント) (18 件のリアクション) (0 人の担当者)JavaScript (785 件のフォーク)batch import
bughelp wantedsolution in issue

Repository metrics

Stars
 (13,218 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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?

コントリビューターガイド