def savePNG(self, filename, rws):
print 'saving the PNG'
f = open(string.join(['img/', str(self.folderName), filename]), 'wb')
w = png.Writer(self.proccessingHeight, self.proccessingWidth, greyscale=True)
w.write(f, rws)
f.close()
# - - - - - - - - - - - - - - - -
# - - - BLINK CAMERA LED - - - -
# - - - - - - - - - - - - - - - -
评论列表
文章目录