WebPImagePlugin 模块
-
classPIL.WebPImagePlugin.WebPImageFile(fp=None, filename=None) 基类:
PIL.ImageFile.ImageFile-
format= 'WEBP'
-
format_description= 'WebP image'
-
load() 基于平铺列表加载图像数据
-
seek(frame) 查找此序列文件中的给定帧。如果在序列结尾之外查找,该方法将引发
EOFError例外。打开序列文件时,库自动查找第0帧。见
tell().- 参数
frame -- 帧编号,从0开始。
- 引发
EOFError -- 如果调用试图在序列结束后查找。
-
tell() 返回当前帧号。见
seek().- 返回
帧编号,从0开始。
-