Added test image

This commit is contained in:
Andrew Murray 2015-09-19 10:12:00 +10:00 committed by Eric Soroos
parent e5513804a3
commit 4087479464
2 changed files with 5 additions and 0 deletions

BIN
Tests/images/16bit.s.tif Normal file

Binary file not shown.

View File

@ -198,6 +198,11 @@ class TestFileTiff(PillowTestCase):
self.assertEqual(b[0], b'\x01')
self.assertEqual(b[1], b'\xe0')
def test_16bit_s(self):
im = Image.open('Tests/images/16bit.s.tif')
im.load()
self.assertEqual(im.mode, 'I;16S')
def test_12bit_rawmode(self):
""" Are we generating the same interpretation
of the image as Imagemagick is? """