jimp-dev/jimp

Failing to read large files

開放

#915 建立於 2020年7月24日

 (31 則留言) (18 個反應) (0 位負責人)JavaScript (785 個分叉)batch import
bughelp wantedsolution in issue

倉庫指標

星標
 (13,218 顆星)
PR 合併指標
 (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?

貢獻者指南