We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
misc.py
def showImage(imagepath): img = Image.open(imagepath) img = img.convert('RGB')#先做通道转换,不做会报错 img.show() img.close()
将 PNG 格式的图片保存为 JPG 格式,如果直接使用 save() 方法就会出现错误 所以要convert一下
up什么时候重构一下吧,感谢
The text was updated successfully, but these errors were encountered:
No branches or pull requests
misc.py
def showImage(imagepath):
img = Image.open(imagepath)
img = img.convert('RGB')#先做通道转换,不做会报错
img.show()
img.close()
将 PNG 格式的图片保存为 JPG 格式,如果直接使用 save() 方法就会出现错误
所以要convert一下
up什么时候重构一下吧,感谢
The text was updated successfully, but these errors were encountered: