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
x/image/tiff: unexpected EOF #30827
Comments
Probably an expert on the format needs to decide whether the image is encoded correctly. How did you generate it? |
The file is LZW-compressed, according to
I remember there being a bug about LZW decompression resulting in "unexpected EOF" errors but that was fixed long ago. However, the tags that tiffinfo complains about are part of the JPEG extension for TIFF ( The tiff package does not support the JPEG extension right now. Sorry. |
@bsiegert Thanks for your answer, and I have use |
What version of Go are you using (
|
I'm hitting the same issue with a valid LZW-compressed GeoTIFF. Getting Go version: Here is the code:
Here is the output:
And here is TIFF that triggers it: Additional details:
|
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
The image is here
1.tif.zip
What did you expect to see?
What did you see instead?
unexpected EOF
The text was updated successfully, but these errors were encountered: