Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reading png throws Uncaught Error: unrecognised content at end of stream after 0.17.0 version #1260

Closed
imranbarbhuiya opened this issue Sep 24, 2023 · 0 comments

Comments

@imranbarbhuiya
Copy link

imranbarbhuiya commented Sep 24, 2023

Expected Behavior

Jimp should read the image properly

Current Behavior

Jimp is throwing Uncaught Error: unrecognized content at end of stream

Failure Information (for bugs)

after debugging, I found using pngjs v5 works fine but since jimp is now using pngjs v6 so it's throwing this error

Steps to Reproduce

use

await require('jimp').read('https://cdn.w1st.xyz/frames/$5a226-155799572940062720.png')

$5a226-155799572940062720

Screenshots
image

Context

  • Jimp Version: 0.22.10
  • Operating System: Windows 11 and ubuntu 20
  • Node version: v18.16.1

Failure Logs

@imranbarbhuiya imranbarbhuiya changed the title reading valid png throws Uncaught Error: unrecognised content at end of stream in new version reading png throws Uncaught Error: unrecognised content at end of stream in new version Sep 24, 2023
@imranbarbhuiya imranbarbhuiya changed the title reading png throws Uncaught Error: unrecognised content at end of stream in new version reading png throws Uncaught Error: unrecognised content at end of stream after 0.17.0 version Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant