Repository navigation
Releases
Releases · skylerhu/py-img-processor
v1.3.7
v1.3.6
- fix:
transpose_im增强异常兜底与版本兼容能力- 异常捕获从
NotImplementedError扩大为Exception,兼容 EXIF 数据损坏、字节截断等导致的OSError等异常 - 回退分支转置完成后丢弃已损坏的 EXIF 信息,避免残留方向标签导致二次旋转
- 兼容 Pillow 8:
ExifTags.Base.Orientation替换为常量0x0112,Image.Transpose通过getattr回退到Image
- 异常捕获从
- fix:
save_img_to_file当im.format为空时默认使用JPEG,避免fmt为None导致AttributeError