我們可以看到這是個 PIL.Image.Image 資料型態的檔案,而且這個檔案的模式為“RGB”。想要將圖片背景設為透明,我們首先需要將“RGB” 轉為“RGBA”。 image = ...
確定! 回上一頁