-
Notifications
You must be signed in to change notification settings - Fork 14
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
incompatible Float64 encoding? #84
Comments
I see. So this is because our TiffImages format is too advanced? |
Yeah, unfortunately simple TIFF readers are quite limited in what datatypes they support. TiffImages.jl supports reading/writing many combinations that are valid TIFFs but other less flexible readers might not support. That said, I don't support all TIFFs either, but I try to support most common scientific TIFF types. E.g. some readers only support Gray{Float32} and not Gray{Float64} etc while both are valid according to the spec. |
Curiously, if we wrap the LibTIFF C library, would you like to maintain it as a fallback backend inside TiffImages for cases we don't have much time/priority to implement? The benefit of keeping it inside TiffImages instead of FileIO is that we can hide the inconsistency by designing the backend delegation policy. Another alternative is to have meta TIffIO package to smartly call either LibTIFF.jl and TiffImages.jl on demand. |
I simply don't have the bandwidth to wrap it or really maintain this year. This package serves my needs for processing my microscopy images (particularly with it's advanced mmapping facilities that LibTIFF doesn't have AFAIK). I haven't gotten too many complaints since ImageIO.jl switched to using TiffImages.jl. Has it been causing problems for you? |
Yeap totally understandable.
Not much for the main functionality. The Jpeg compression stuff comes from the recent GSoC project JuliaImages/ExifViewer.jl#5 where thumbnail is a TIFF bytes sequence with JPEG compression. FYI, I'm working part-time in tongyuan.cc to bring a compatible image processing toolbox to MATLAB and I sometimes find compatibility issues across implementations for edge cases and advanced keyword options. |
This is only an issue of
Float64
and notN0f8
.However, this "tmp.tif" file is not loadable by other image viewers (both macOS and Windows' default image viewer fail to open it).
The text was updated successfully, but these errors were encountered: