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
TIF: read after save fails with EOFException #241
Comments
I just see that there was a remark in #237 "I suppose the Encoder is also affected" (I didn't get that mail). |
Indeed the writer defaults to uncompressed, if no compression mode is set by metadata or ImageWriterParams. So this is a duplicate of #229 |
I was just about to comment on that, but you beat me to it. Yes, I believe so too. Actually, it could be that we should use different defaults for compression depending on input image (b/w -> CCITT, uint RGB/Gray/CMYK -> LZW/PackBits, etc), but I think the current implementation will be fastest and most compatible (we should probably do the same thing as the JAI TIFFImageWriter does), at the expense of larger file sizes. But that is a different issue. Harald K |
I believe this is fixed in 04a3915. This will be part of the 3.3 release. Working hard on squashing the last known bugs.... Best regards, Harald K |
@THausherr This bugfix is now included in the official 3.3 release. |
I am unable to read the file from #237 after saving it as a TIF:
badccittstream.zip
The saved file cannot be displayed with IrfanView too.
The text was updated successfully, but these errors were encountered: