def test_normal_gif(self):
     image = Image.open(IMAGES_ROOT+'/test_gif.gif')
     res = detect_format._is_image_sequenced(image)
     self.assertFalse(res)
示例#2
0
 def test_normal_gif(self):
     image = Image.open(IMAGES_ROOT+'/test_gif.gif')
     res = detect_format._is_image_sequenced(image)
     self.assertFalse(res)
 def test_animated_gif(self):
     image = Image.open(IMAGES_ROOT+'/test_animated_gif.gif')
     res = detect_format._is_image_sequenced(image)
     self.assertTrue(res)
示例#4
0
 def test_animated_gif(self):
     image = Image.open(IMAGES_ROOT+'/test_animated_gif.gif')
     res = detect_format._is_image_sequenced(image)
     self.assertTrue(res)