阅读(1847) 赞(4)

SpiderImagePlugin 模块

2021-07-19 09:42:52 更新
​classPIL.SpiderImagePlugin.SpiderImageFile(fp=None, filename=None)​

基类:PIL.ImageFile.ImageFile

​convert2byte(depth=255)​
​format= 'SPIDER'​
​format_description= 'Spider 2D image'​
​propertyis_animated​
​propertyn_frames​
​seek(frame)​

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

见 tell() .

参数

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

引发

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

​tell()​

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

返回

帧编号,从0开始。

​tkPhotoImage()​
​PIL.SpiderImagePlugin.isInt(f)​
​PIL.SpiderImagePlugin.isSpiderHeader(t)​
​PIL.SpiderImagePlugin.isSpiderImage(filename)​
​PIL.SpiderImagePlugin.loadImageSeries(filelist=None)​

创建的列表 Image 蒙太奇中使用的对象

​PIL.SpiderImagePlugin.makeSpiderHeader(im)​