mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-03 19:45:56 +03:00
parent
1e2a27f00d
commit
a64c1674a1
|
@ -186,6 +186,16 @@ class TestFileTiffMetadata(PillowTestCase):
|
|||
self.assertEqual(im.tag_v2.tagtype[34675], 1)
|
||||
self.assertTrue(im.info['icc_profile'])
|
||||
|
||||
def test_iccprofile_save_png(self):
|
||||
im = Image.open('Tests/images/hopper.iccprofile.tif')
|
||||
outfile = self.tempfile('temp.png')
|
||||
im.save(outfile)
|
||||
|
||||
def test_iccprofile_binary_save_png(self):
|
||||
im = Image.open('Tests/images/hopper.iccprofile_binary.tif')
|
||||
outfile = self.tempfile('temp.png')
|
||||
im.save(outfile)
|
||||
|
||||
def test_exif_div_zero(self):
|
||||
im = hopper()
|
||||
info = TiffImagePlugin.ImageFileDirectory_v2()
|
||||
|
|
Loading…
Reference in New Issue
Block a user