jimp-dev/jimp

Failing to read large files

Aberta

#915 aberto em 24 de jul. de 2020

 (31 comentários) (18 reações) (0 responsável)JavaScript (785 forks)batch import
bughelp wantedsolution in issue

Métricas do repositório

Stars
 (13.218 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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