jimp-dev / jimp-dev/jimp

Error: marker was not found

Open
#1,345 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
14.7k
Forks
777
PR merge metrics
No merged PRs in 30d

Description

# 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:

- Irfanview
- Gimp
- Paint.net
- Windows 11 paint
- Windows 11 Photos

## Steps to Reproduce

- Jimp Version: 1.6.0
- Operating System: Windows 11
- Node version: 20.17.0

## Failure Logs

The image:

![folder](https://github.com/user-attachments/assets/822e48c3-c42e-4249-b548-293f6f8f9807)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.