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
13.95k stars 762 forks source link

Error: marker was not found #1345

Open digimezzo opened 3 days ago

digimezzo commented 3 days ago

Expected Behavior

When performing read (see code below) on the attached JPG file, the call to read should be successful and the image object should contain the image data.

const image = await Jimp.read('C:\\path\\to\\folder.jpg');

Current Behavior

When performing read (see code below) on the attached JPG file, an error "Marker was not found" is raised.

const image = await Jimp.read('C:\\path\\to\\folder.jpg');

Failure Information (for bugs)

The file opens fine in image viewers. Tried, successfully with the following:

Steps to Reproduce

Failure Logs

The image:

folder