formatter.py 文件源码

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

项目:yuuno 作者: Irrational-Encoding-Wizardry 项目源码 文件源码
def ipy_image(self) -> IPyImage:
        """
        Converts a clip to an image.
        """
        raw = self.environment.parent.output.bytes_of(self.first_frame)
        return IPyImage(
            data=raw,
            format="png",
            embed=True,
            unconfined=True,
            width=self.first_frame.width,
            height=self.first_frame.height
        )
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号