mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Added test image
This commit is contained in:
parent
e5513804a3
commit
4087479464
BIN
Tests/images/16bit.s.tif
Normal file
BIN
Tests/images/16bit.s.tif
Normal file
Binary file not shown.
|
@ -198,6 +198,11 @@ class TestFileTiff(PillowTestCase):
|
||||||
self.assertEqual(b[0], b'\x01')
|
self.assertEqual(b[0], b'\x01')
|
||||||
self.assertEqual(b[1], b'\xe0')
|
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):
|
def test_12bit_rawmode(self):
|
||||||
""" Are we generating the same interpretation
|
""" Are we generating the same interpretation
|
||||||
of the image as Imagemagick is? """
|
of the image as Imagemagick is? """
|
||||||
|
|
Loading…
Reference in New Issue
Block a user