-
Notifications
You must be signed in to change notification settings - Fork 37
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
load() on a TIFF image returns all 0xffff #99
Comments
I think it's mostly an ImageMagick issue, but TIFF is a pretty complicated format. I don't have any great ideas, but a couple of options I thought of:
|
I should note that I tested several non-Julia applications, and only ImageJ handled the file properly. |
i've heard libtiff is great. might be worth making a julia wrapper for it if one doesn't already exist. |
Thanks for taking a look Tim, and thanks for the pointers! |
There's also https://github.com/tlnagy/TiffImages.jl. Closing since this seems to be an upstream issue. |
I have a few images I'm trying to read where
load()
returns an array of allGrey{N0f16}(1.0)
, but this doesn't seem to be the true file contents when read with other tools. An example image is here: https://www.dropbox.com/s/lelfacepaxvaf6w/testcase.tif?dl=0In Python, I can load the same image with
cv2
, and get the correct shape of(256, 256, 4)
and non-constant data:I suppose this might be a libmagickwand problem, but any advice would be appreciated!
The text was updated successfully, but these errors were encountered: