コード例 #1
0
ファイル: tests.py プロジェクト: pombredanne/pymaging-png
 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)