test embed profile in tiff
test embed from file
This commit is contained in:
parent
66e0676a40
commit
f3e3514b03
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user