Pillow MspImagePlugin模塊

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

基類:PIL.ImageFile.PyDecoder

?decode(buffer)?

重寫以執(zhí)行解碼過程。

參數(shù)

buffer -- 帶有要解碼的數(shù)據(jù)的bytes對象。

返回

(已消耗字節(jié),錯誤代碼)的元組。如果解碼結束,則對于消耗的字節(jié)返回<0。錯誤代碼來自'errors'`

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

基類:PIL.ImageFile.ImageFile

?format= 'MSP'?
?format_description= 'Windows Paint'?


以上內(nèi)容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號