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
Unexpected End of PackBits Stream for some TIFF files #489
Comments
Thanks for reporting! I’ll look into it as soon as I’m back in the office. 😀 Best regards, -- |
@haraldk Hey! Sorry to bother, just wondering what the status of this is? Thanks! |
Hi, No worries. I just came back to work yesterday, and will look at the issue some time this week. Hopefully today. -- |
Okay, Had a quick look and it seems the problem is a combination of the software ("IMAGE MAKER: Spittin' Image Software Inc. V1.0") writing the TIFF not ending the PackBits stream correctly or not writing the correct I can probably fix this in my PackBits decoder, so that it no longer does this read-ahead. -- |
Yeah, I'm not super well versed in the TIFF format, but I guessed that it had something to do with the ancient software that made it. Thank you for looking into it! Very helpful. |
I pushed a fix for this issue now. -- |
Amazing! Thank you so much! |
Hiya. For some TIFF files that I've attempted to read using your library, I run into the following exception:
I've attached one of the files that caused this error in the following ZIP, because for whatever reason GitHub won't allow me to attach the TIFF directly:
TIFF Error.tif.zip
If you need any extra information from me, I am happy to provide it.
Thanks!
The text was updated successfully, but these errors were encountered: