raise ValueError(f"unknown file extension: {ext}") from e
ValueError: unknown file extension:
在python程序中,保存图片时如果出现该问题,则在保存图片时在图片名后面+.扩展名,可解决
12-17
06-18
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
11-22
9023
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
raise ValueError(f"unknown file extension: {ext}") from e
ValueError: unknown file extension:
在python程序中,保存图片时如果出现该问题,则在保存图片时在图片名后面+.扩展名,可解决