jimp-dev/jimp

Jimp crashes when reading large files (Greater than 1MB) on firefox (mobile device)

Open

#937 geöffnet am 2. Sept. 2020

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (785 Forks)batch import
bugfile size issuehelp wanted

Repository-Metriken

Stars
 (13.218 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Expected Behavior

Jimp should read the file successfully and return an object

Current Behavior

The catch block is called. Note that it works perfectly well on chrome browser

Failure Information (for bugs)

On firefox (on mobile devices), reading a large file (Above 1MB) causes Jimp to crash

Steps to Reproduce

  1. Read a large image on firefox (on a mobile device) Jimp.read(image)
  2. The catch block will be called

Context

  • Jimp Version: 0.16.1
  • Operating System: Android
  • Node version:10.6.2

Failure Logs

Contributor Guide