示例#1
0
 def test_from_vimage(self):
     image = VImage.new_rgba(width=1, height=1)
     self.assertEqual(VImage.from_vimage(image).tostring(),
                      image.tostring())
示例#2
0
 def test_from_vimage(self):
     image = VImage.new_rgba(width=1, height=1)
     self.assertEqual(
         VImage.from_vimage(image).tostring(), image.tostring())