jimp icon indicating copy to clipboard operation
jimp copied to clipboard

marker was not found on big images

Open hershyheilpern opened this issue 7 years ago • 7 comments

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

hershyheilpern avatar Nov 08 '18 19:11 hershyheilpern

Can I get your test image? On Thu, Nov 8, 2018 at 11:53 AM hershyheilpern [email protected] 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 .

hipstersmoothie avatar Nov 08 '18 20:11 hipstersmoothie

the 2 images that i posted on top

hershyheilpern avatar Nov 08 '18 20:11 hershyheilpern

Sorry didn’t show up in the email On Thu, Nov 8, 2018 at 12:41 PM hershyheilpern [email protected] 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 .

hipstersmoothie avatar Nov 08 '18 20:11 hipstersmoothie

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

hershyheilpern avatar Nov 08 '18 20:11 hershyheilpern

did you find anything

hershyheilpern avatar Nov 12 '18 17:11 hershyheilpern

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

marceloagil avatar Nov 14 '19 13:11 marceloagil

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

krishnaTORQUE avatar Aug 13 '20 17:08 krishnaTORQUE