jimp-dev/jimp

Failing to read large files

Open

#915 建立於 2020年7月24日

在 GitHub 查看
 (31 留言) (18 反應) (0 負責人)JavaScript (785 fork)batch import
bughelp wantedsolution in issue

倉庫指標

Star
 (13,218 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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?

貢獻者指南