OSError: cannot write mode P as JPEG
·
source:https://blog.csdn.net/z704630835/article/details/84968767
solution:
bg_img = Image.open(curtain_bg_img)
if bg_img.mode is not 'RGB':
bg_img.convert('RGB')
更多推荐
source:https://blog.csdn.net/z704630835/article/details/84968767
solution:
bg_img = Image.open(curtain_bg_img)
if bg_img.mode is not 'RGB':
bg_img.convert('RGB')
更多推荐
所有评论(0)