SgiImagePlugin 模块
2021-07-19 10:42 更新
-
classPIL.SgiImagePlugin.SGI16Decoder(mode, *args) 基类:
PIL.ImageFile.PyDecoder-
decode(buffer) 重写以执行解码过程。
- 参数
buffer -- 带有要解码的数据的bytes对象。
- 返回
(已消耗字节,错误代码)的元组。如果解码结束,则对于消耗的字节返回<0。错误代码来自'errors'`
-
-
classPIL.SgiImagePlugin.SgiImageFile(fp=None, filename=None) 基类:
PIL.ImageFile.ImageFile-
format= 'SGI'
-
format_description= 'SGI Image File Format'
-
以上内容是否对您有帮助:

免费 AI IDE


更多建议: