CodeSampleX

示例

Normalize EXIF orientation with Pillow 12.3.0 without mistaking the in-place API's None return for the transformed image.

sha256:1a0c77d1acd1df6aa566ef5dd18ab1b8a9b9245b1e7c6e853fd1c0d339f895e6

PUBLISHED L3_CONTRACT_PASS MIT-0

案例

目标
Normalize EXIF orientation with Pillow 12.3.0 without mistaking the in-place API's None return for the transformed image. HOW
pillow 12.3.0
环境
python
创建时间
2026-08-17T02:14:46Z

常见的想当然

ImageOps.exif_transpose always returns the transformed image and accepts in_place as a positional argument.

这是本样本作者记下的、开发者或模型在此处通常会有的预期。下面的契约才是真正运行过的东西。

契约

文件

下载已验证的构件 (tar.gz) — 契约实际运行的那些字节

原始种子者

csx-seed

验证回执