jimp-dev / jimp

An image processing library written entirely in JavaScript for Node, with zero external or native dependencies.
http://jimp-dev.github.io/jimp/
MIT License
14k stars 759 forks source link

marker was not found on big images #654

Open hershyheilpern opened 5 years ago

hershyheilpern commented 5 years ago

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

Failure Logs

hipstersmoothie commented 5 years ago

Can I get your test image? On Thu, Nov 8, 2018 at 11:53 AM hershyheilpern notifications@github.com wrote:

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

[image: occu-lux-250-jb-bo-a] https://user-images.githubusercontent.com/12531645/48223271-accab280-e364-11e8-8268-92b1a69eb026.jpg [image: arthur_ hi_res] https://user-images.githubusercontent.com/12531645/48223272-accab280-e364-11e8-85e7-583626648486.jpg

Screenshots Context

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

Failure Logs

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/oliver-moran/jimp/issues/654, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIyBCHtFKwlAq44tZh9QvIloA0nJidyks5utIvUgaJpZM4YVX0l .

hershyheilpern commented 5 years ago

the 2 images that i posted on top

hipstersmoothie commented 5 years ago

Sorry didn’t show up in the email On Thu, Nov 8, 2018 at 12:41 PM hershyheilpern notifications@github.com wrote:

the 2 images that i posted on top

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/oliver-moran/jimp/issues/654#issuecomment-437148264, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIyBBClIppQXHbuDAf_zqoDaNbCBn2Dks5utJcPgaJpZM4YVX0l .

hershyheilpern commented 5 years ago

http://1hclouds.com/temp/OCCU-LUX-250-JB-BO-A.jpg http://1hclouds.com/temp/Arthur_(hi_res).jpg

hershyheilpern commented 5 years ago

did you find anything

marceloagil commented 4 years ago

I'm with same problem...please fix this...

krishnaTORQUE commented 4 years ago

I am still facing this issue Error: marker was not found