阅读(1133) (11)

Pillow MspImagePlugin模块

2021-07-19 09:30:41 更新
classPIL.MspImagePlugin.MspDecoder(mode*args)

基类:PIL.ImageFile.PyDecoder

decode(buffer)

重写以执行解码过程。

参数

buffer -- 带有要解码的数据的bytes对象。

返回

(已消耗字节,错误代码)的元组。如果解码结束,则对于消耗的字节返回<0。错误代码来自'errors'`

classPIL.MspImagePlugin.MspImageFile(fp=Nonefilename=None)

基类:PIL.ImageFile.ImageFile

format= 'MSP'
format_description= 'Windows Paint'