Пример #1
0
 def test_save(self):
     with open(get_test_file(__file__, 'black-white-with-transparency.png'), 'rb') as fobj:
         img = PNG.decode(fobj)
     sio = StringIO()
     PNG.encode(img, sio)