jimp-dev/jimp

marker was not found on big images

Open

#654 aberto em 8 de nov. de 2018

Ver no GitHub
 (7 comments) (3 reactions) (0 assignees)JavaScript (785 forks)batch import
bughelp wanted

Métricas do repositório

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

Description

Expected Behavior

i want to resize my image

Current Behavior

when I try to do anything with big images I get this error

Failure Information (for bugs)

E:\Server\Server.js:118 if (err) throw err; ^

Error: marker was not found at decodeScan (E:\Server\node_modules\jpeg-js\lib\decoder.js:324:15) at Object.parse (E:\Server\node_modules\jpeg-js\lib\decoder.js:744:29) at Object.decode [as image/jpeg] (E:\Server\node_modules\jpeg-js\lib\decoder.js:983:11) at Jimp.parseBitmap (E:\Server\node_modules@jimp\core\dist\utils\image-bitmap.js:117:53) at Jimp.parseBitmap (E:\Server\node_modules@jimp\core\dist\index.js:498:32) at E:\Server\node_modules@jimp\core\dist\index.js:440:15 at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:447:3)

Steps to Reproduce

newname = path to file

Jimp.read(newname, (err, lenna) => { if (err) throw err; lenna .resize(1024, Jimp.AUTO) // resize //.quality(60) // set JPEG quality //.greyscale() // set greyscale .write(newname); // save });

here are the pictures I used

occu-lux-250-jb-bo-a arthur_ hi_res

Screenshots

Context

  • Jimp Version:5.6
  • Operating System: windows server 2012 R2 Standerd
  • Node version: 6.11.3

Failure Logs

Guia do colaborador