jimp-dev/jimp

Failing to read large files

Open

#915 aberto em 24 de jul. de 2020

Ver no GitHub
 (31 comments) (18 reactions) (0 assignees)JavaScript (785 forks)batch import
bughelp wantedsolution in issue

Métricas do repositório

Stars
 (13.218 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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?

Guia do colaborador