jimp-dev/jimp

Failing to read large files

Open

#915 opened on 2020年7月24日

GitHub で見る
 (31 comments) (18 reactions) (0 assignees)JavaScript (785 forks)batch import
bughelp wantedsolution in issue

Repository metrics

Stars
 (13,218 stars)
PR merge metrics
 (30d に merged 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?

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