Merge pull request #393 from cgohlke/patch-1

Support RGBA TIFF with missing ExtraSamples tag
This commit is contained in:
Alex Clark ☺ 2013-10-27 04:27:16 -07:00
commit f22ba9d8db

View File

@ -154,6 +154,7 @@ OPEN_INFO = {
(II, 1, 3, 1, (32,), ()): ("F", "F;32F"),
(II, 2, 1, 1, (8,8,8), ()): ("RGB", "RGB"),
(II, 2, 1, 2, (8,8,8), ()): ("RGB", "RGB;R"),
(II, 2, 1, 1, (8,8,8,8), ()): ("RGBA", "RGBA"), # missing ExtraSamples
(II, 2, 1, 1, (8,8,8,8), (0,)): ("RGBX", "RGBX"),
(II, 2, 1, 1, (8,8,8,8), (1,)): ("RGBA", "RGBa"),
(II, 2, 1, 1, (8,8,8,8), (2,)): ("RGBA", "RGBA"),