mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-26 23:24:45 +03:00
Merge 7699621ca5
into 6d2a02c6b1
This commit is contained in:
commit
a4648ce01f
|
@ -1251,7 +1251,8 @@ class TiffImageFile(ImageFile.ImageFile):
|
|||
"tiff_deflate",
|
||||
"tiff_sgilog",
|
||||
"tiff_sgilog24",
|
||||
"tiff_raw_16"]:
|
||||
"tiff_raw_16",
|
||||
"jpeg"]:
|
||||
# if DEBUG:
|
||||
# print("Activating g4 compression for whole file")
|
||||
|
||||
|
|
|
@ -80,12 +80,8 @@ class TestFileTiff(PillowTestCase):
|
|||
self.assertEqual(im.mode, "RGB")
|
||||
self.assertEqual(im.size, (256, 256))
|
||||
self.assertEqual(
|
||||
im.tile, [
|
||||
('jpeg', (0, 0, 256, 64), 8, ('RGB', '')),
|
||||
('jpeg', (0, 64, 256, 128), 1215, ('RGB', '')),
|
||||
('jpeg', (0, 128, 256, 192), 2550, ('RGB', '')),
|
||||
('jpeg', (0, 192, 256, 256), 3890, ('RGB', '')),
|
||||
])
|
||||
im.tile, [('jpeg', (0, 0, 256, 256), 0, ('RGB', 'jpeg', False))]
|
||||
)
|
||||
im.load()
|
||||
|
||||
def test_sampleformat(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user