swf.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:radar 作者: amoose136 项目源码 文件源码
def _open(self, fps=12, loop=True, html=False, compress=False): 
            if not _swf:
                load_lib()

            self._arg_fps = int(fps)
            self._arg_loop = bool(loop)
            self._arg_html = bool(html)
            self._arg_compress = bool(compress)

            self._fp = self.request.get_file()
            self._framecounter = 0
            self._framesize = (100, 100)

            # For compress, we use an in-memory file object
            if self._arg_compress:
                self._fp_real = self._fp
                self._fp = BytesIO()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号