mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Added test
This commit is contained in:
parent
b37f12a5f8
commit
19ab3c36e6
BIN
Tests/images/no_rows_per_strip.tif
Normal file
BIN
Tests/images/no_rows_per_strip.tif
Normal file
Binary file not shown.
|
@ -818,3 +818,10 @@ class TestFileLibTiff(LibTiffTestCase):
|
|||
self.assert_image_equal_tofile(
|
||||
im, "Tests/images/old-style-jpeg-compression.png"
|
||||
)
|
||||
|
||||
def test_no_rows_per_strip(self):
|
||||
# This image does not have a RowsPerStrip TIFF tag
|
||||
infile = "Tests/images/no_rows_per_strip.tif"
|
||||
im = Image.open(infile)
|
||||
im.load()
|
||||
self.assertEqual(im.size, (950, 975))
|
||||
|
|
Loading…
Reference in New Issue
Block a user