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

Hit end of file before finding size #10

Closed
sudo-nice opened this issue Aug 9, 2020 · 7 comments
Closed

Hit end of file before finding size #10

sudo-nice opened this issue Aug 9, 2020 · 7 comments

Comments

@sudo-nice
Copy link

The error happens for this image.

@Roughsketch
Copy link
Owner

I can't figure out where the dimensions are for this image, so it looks like it's in some format that's not supported. Even searching in a hex editor I can't find them.

@sudo-nice
Copy link
Author

identify (which is shipped with imagemagick) reports:

bf9c2c39b6.jpg JPEG 4980x3321 4980x3321+0+0 8-bit sRGB 1.88553MiB 0.000u 0:00.000

@Roughsketch
Copy link
Owner

Found the issue with exiftool. Looks like the SOF tag was FFC1 but I only look for C0 or C2. Will push a fix here soon.

@Roughsketch
Copy link
Owner

v0.8.5 released, all tests including that image are working with the change.

Thank you very much for the issue!

@sudo-nice
Copy link
Author

That's really great, thanks a lot!

@sudo-nice
Copy link
Author

I managed to hit the issue again, this time for this image.

@sudo-nice
Copy link
Author

Thank you again.

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