@ai-ecoverse/py-pillow

中文文档
13.0.0-3发布于 2026/10/20MIT-CMU构建来源已验证近 30 天下载 5075

Pillow, the Python imaging library.

原始使用文档

@ai-ecoverse/py-pillow

Pillow 13.0.0 for slicc WASIX CPython 3.15 (cp315-wasix_wasm32): JPEG, PNG (zlib) and FreeType text. Since the Python 3.15 flip (homescoop#761) this is latest; the cp314 builds stay on npm by exact version (release notes).

  • Side modules:
    • _imaging, with libjpeg-turbo 3.1.2 linked in statically; zlib comes from python.wasm;
    • _imagingft, with FreeType linked in statically;
    • _imagingmath and _imagingmorph. There's no _imagingtk (no Tk on WASIX), _imagingcms, _webp or _avif.
  • Build: in homescoop's CI from the PyPI sdist against wasix-python 3.15.0-1 (wasix-sysroot 2025.9.30-38).
  • Python range: >=3.15.0-1 <3.15.1.
  • Pillow 13 removals (see also "What changes for your code" below):
    • Python 3.10 support;
    • saving I-mode images as PNG with clipping;
    • Image.fromarray(mode=…) when it changes data types;
    • Image.Image.get_child_images(), moved to ImageFile;
    • Image._show;
    • ImageCmsProfile.product_name/product_info;
    • ExifTags.IFD.Makernote. ImageColor.getcolor() returns premultiplied values for RGBa/La. See Pillow's 13.0.0 release notes.

What changes for your code (Pillow 13 after 12.3)

  • Includes security fixes: two critical, thirteen high, among them a JPEG decoder overflow and stale image storage after a mode change.
  • Removed:
    • Image.Image.get_child_images(), now on ImageFile.ImageFile;
    • Image._show (use ImageShow.show);
    • ImageCms.ImageCmsProfile.product_name and .product_info;
    • ExifTags.IFD.Makernote (use MakerNote);
    • Image.fromarray(mode=...) no longer converts data types.
  • Changed:
    • I-mode images saved as PNG no longer clip quietly; convert first;
    • ImageColor.getcolor() returns premultiplied values for RGBa/La.

Details: homescoop's release notes.

版本与发布记录

@ai-ecoverse/py-pillow 共发布 12 个版本,首次发布于 2026/09/30;过去 12 个月发布了 12 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
13.0.0-3latest2026/10/2018 天前
13.0.0-22026/10/2018 天前
13.0.0-12026/10/1919 天前
12.3.0-102026/10/1821 天前
12.3.0-92026/10/1722 天前
12.3.0-82026/10/1622 天前

关于 @ai-ecoverse/py-pillow 的常见问题

@ai-ecoverse/py-pillow 是什么?

Pillow, the Python imaging library.

如何安装 @ai-ecoverse/py-pillow?

在项目目录运行 npm install @ai-ecoverse/py-pillow,或使用 pnpm add / yarn add / bun add。

@ai-ecoverse/py-pillow 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/ai-ecoverse__py-pillow 是否存在。

@ai-ecoverse/py-pillow 可以商用吗?

@ai-ecoverse/py-pillow 使用 MIT-CMU 许可。声明的许可为 MIT-CMU,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。

@ai-ecoverse/py-pillow 的下载量有多少?

根据 npm 官方下载统计,@ai-ecoverse/py-pillow 在 2026/10/05 – 2026/11/03 这 30 天内被下载 5,075 次,日均约 169 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@ai-ecoverse/py-pillow 还在维护吗?

最新版本 13.0.0-3 发布于 2026/10/20(18 天前);至今共发布 12 个版本,其中过去 12 个月发布了 12 个;首次发布于 2026/09/30。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。