mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
test for issue #1561
This commit is contained in:
parent
3b3b559d9e
commit
b68bb56b64
|
@ -165,6 +165,13 @@ class TestFileLibTiff(LibTiffTestCase):
|
|||
self.assertEqual(
|
||||
val, value, msg="%s didn't roundtrip" % tag)
|
||||
|
||||
# https://github.com/python-pillow/Pillow/issues/1561
|
||||
requested_fields = ['StripByteCounts',
|
||||
'RowsPerStrip',
|
||||
'StripOffsets']
|
||||
for field in requested_fields:
|
||||
self.assertTrue(field in reloaded, "%s not in metadata" %field)
|
||||
|
||||
def test_g3_compression(self):
|
||||
i = Image.open('Tests/images/hopper_g4_500.tif')
|
||||
out = self.tempfile("temp.tif")
|
||||
|
|
Loading…
Reference in New Issue
Block a user