diff --git a/test/test_foreign.py b/test/test_foreign.py index d0bd4f69..0e67aac0 100755 --- a/test/test_foreign.py +++ b/test/test_foreign.py @@ -204,17 +204,20 @@ class TestForeign(unittest.TestCase): self.save_load("%s.tif", self.cmyk) self.save_load("%s.tif", self.onebit) - self.save_load("%s.tif[squash]", self.onebit) - self.save_load("%s.tif[miniswhite]", self.onebit) - self.save_load("%s.tif[squash,miniswhite]", self.onebit) + self.save_load_file("test-1.tif", "[squash]", self.onebit, 0) + self.save_load_file("test-2.tif", "[miniswhite]", self.onebit, 0) + self.save_load_file("test-3.tif", "[squash,miniswhite]", self.onebit, 0) - self.save_load_file("test.tif", "[tile]", self.colour, 0) - self.save_load_file("test.tif", "[tile,pyramid]", self.colour, 0) - self.save_load_file("test.tif", - "[tile,pyramid,compression=jpeg]", self.colour, 0) - self.save_load_file("test.tif", "[bigtiff]", self.colour, 0) - self.save_load_file("test.tif", "[compression=jpeg]", self.colour, 10) - self.save_load_file("test.tif", + self.save_load_file("test-4.tif", + "[profile=images/sRGB.icm]", + self.colour, 0) + self.save_load_file("test-5.tif", "[tile]", self.colour, 0) + self.save_load_file("test-6.tif", "[tile,pyramid]", self.colour, 0) + self.save_load_file("test-7.tif", + "[tile,pyramid,compression=jpeg]", self.colour, 60) + self.save_load_file("test-8.tif", "[bigtiff]", self.colour, 0) + self.save_load_file("test-9.tif", "[compression=jpeg]", self.colour, 60) + self.save_load_file("test-10.tif", "[tile,tile-width=256]", self.colour, 10) def test_magickload(self):