i want to resize my image
when I try to do anything with big images I get this error
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)
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


Screenshots
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 Behaviorwhen 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 Reproducenewname = 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.jpgScreenshots
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
.
the 2 images that i posted on top
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
.
did you find anything
I'm with same problem...please fix this...
I am still facing this issue Error: marker was not found
Most helpful comment
I am still facing this issue
Error: marker was not found