jimp-dev / jimp-dev/jimp

unrecognised content at end of stream

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

Description

Hello,
You could probably argue this isn't a bug... as it is throwing the right error "unrecognised content at end of stream", however i'm wondering if it's possible to instead just ignore data after IEND? My IDE, finder, etc, can all open this image so are just ignoring that.

Unfortunately I have some pictures (attached) which are a product of ffmpeg that seem to have this.

Screenshot 2023-11-13 at 20 37 03

![image](https://github.com/jimp-dev/jimp/assets/1486729/896d96f4-d0ed-440f-9f4e-62609b7d460c)

Sorry if this is a dumb question by the way, i'm super new to image manipulation.

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.