def OpenGif(self, filename):
try:
import imageio
except BaseException:
raise Exception('To use this feature, install imageio')
if filename[-3:] != 'gif':
raise Exception('Unsupported filetype')
self.mwriter = imageio.get_writer(filename, mode='I')
评论列表
文章目录