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

JPG image first two bytes are not an SOI marker #2280

Closed
nricciardi opened this issue Jul 7, 2024 · 1 comment
Closed

JPG image first two bytes are not an SOI marker #2280

nricciardi opened this issue Jul 7, 2024 · 1 comment

Comments

@nricciardi
Copy link

Decoding a JPG image using:

let image = ImageReader::open(src_pathbuf.clone())?.decode();

It returns error: Format error decoding Jpeg: invalid JPEG format: first two bytes are not an SOI marker

I can open image correctly on my system.

Following the image:

egp-igp

@fintelia
Copy link
Contributor

fintelia commented Jul 7, 2024

I think this is a duplicate of #1233. In particular, the file you've attached is a PNG but the filename suggests otherwise

@fintelia fintelia closed this as not planned Won't fix, can't repro, duplicate, stale Jul 20, 2024
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

2 participants