阅读(783) 赞(7)

Pillow DcxImagePlugin 模块

2021-07-16 17:45:29 更新
​classPIL.DcxImagePlugin.DcxImageFile(fp=None, filename=None)​

基类:PIL.PcxImagePlugin.PcxImageFile

​format= 'DCX'​
​format_description= 'Intel DCX'​
​seek(frame)​

查找此序列文件中的给定帧。如果在序列结尾之外查找,该方法将引发 EOFError 例外。打开序列文件时,库自动查找第0帧。

见 tell() .

参数

frame -- 帧编号,从0开始。

引发

EOFError -- 如果调用试图在序列结束后查找。

​tell()​

返回当前帧号。见 seek() .

返回

帧编号,从0开始。