mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-04-28 21:13:41 +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(
|
self.assert_image_equal_tofile(
|
||||||
im, "Tests/images/old-style-jpeg-compression.png"
|
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