Movatterモバイル変換


[0]ホーム

URL:


ContentsMenuExpandLight modeDark modeAuto light/dark, in light modeAuto light/dark, in dark modeSkip to content
Pillow (PIL Fork) 12.0.0 documentation
Light LogoDark Logo
Pillow (PIL Fork) 12.0.0 documentation
Back to top

3.3.0 (2016-07-01)

Libimagequant support

There is now support for using libimagequant as a higher qualityquantization option inImage.quantize() on Unix-likeplatforms. This support requires building Pillow from source againstlibimagequant. We cannot distribute binaries due to licensingdifferences.

New setup.py options

There are two new options to control thebuild_ext task insetup.py:

  • --debug dumps all of the directories and files that arechecked when searching for libraries or headers when building theextensions.

  • --disable-platform-guessing removes many of the directoriesthat are checked for libraries and headers for build systems orcross compilers that specify that information in via environmentvariables.

Resizing

Image resampling for 8-bit per channel images was rewritten using only integercomputings. This is faster on most platforms and doesn’t introduce precisionerrors on the wide range of scales. With other performance improvements, thismakes resampling 60% faster on average.

Color calculation for images in theLA mode on semitransparent pixelswas fixed.

Rotation

Rotation for angles divisible by 90 degrees now always uses transposition.This greatly improves both quality and performance in this case.Also, the bug with wrong image size calculation when rotating by 90 degreeswas fixed.

Image metadata

The return type for binary data in version 2 Exif and Tiff metadatahas been changed from a tuple of integers to bytes. This is a changefrom the behavior since 3.0.0.

On this page

[8]ページ先頭

©2009-2025 Movatter.jp