-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
cannot identify image file #1602
Comments
The currently supported TIFF prefixes are This TIFF has a prefix of |
that is, we move on wand? |
It's an invalid image. It's tagged as little-endian, but with a big-endian magic number. (Where the magic number is 42, as an int16) http://partners.adobe.com/public/developer/en/tiff/TIFF6.pdf
|
I don't think struct.unpack('<H', b'*\x00')[0] == 42 |
That should teach me to comment quickly before leaving for the weekend. This one is returning a format key of:
Which is not one that we support. Specifically, multiband images with bit depth > 8 bit are not supported anywhere in the code. |
Having the same problem with single-channel paletted TIFF, created by GDAL, tiffinfo as follows: TIFFReadDirectory: Warning, Unknown field with tag 33550 (0x830e) encountered. |
That's actually a different issue, as it's a single channel image. (Though, palette, which may add wrinkles for support). Can you post the image? |
Yea I'll make a sample. Will get it to you next week. |
and it's me again :)
a35e6972-f868-42e4-86ac-42a6162c9c3e.tiff.tif.zip
unzip and load
And viewers show this file without problems. Not segfault, but bug. Nasty bug.
The text was updated successfully, but these errors were encountered: