./graphics/py-Pillow, Python Imaging Library (Fork)

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 11.0.0, Package name: py312-Pillow-11.0.0, Maintainer: pkgsrc-users

Pillow is the "friendly" PIL fork.
The Python Imaging Library (PIL) adds image processing capabilities to your
Python environment. This library provides extensive file format support, an
efficient internal representation, and powerful image processing capabilities.

This package is the current version of Pillow, which is available for
Python 3 only. See devel/py-Pillow6 for an old version which can be
used with Python 2.7.


Required to run:
[graphics/tiff] [graphics/freetype2] [devel/py-setuptools] [graphics/openjpeg] [graphics/lcms2] [graphics/libwebp] [graphics/libimagequant] [devel/py-olefile] [lang/python37]

Required to build:
[pkgtools/cwrappers] [devel/py-test-runner]

Master sites:

Filesize: 45642.363 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-20 22:05:35 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-Pillow: updated to 11.0.0

11.0.0 (2024-10-15)

- Update licence to MIT-CMU
- Conditionally define ImageCms type hint to avoid requiring core
- Support writing LONG8 offsets in AppendingTiffWriter
- Use ImageFile.MAXBLOCK when saving TIFF images
- Do not close provided file handles with libtiff when saving
- Support ImageFilter.BuiltinFilter for I;16* images
- Use ImagingCore.ptr instead of ImagingCore.id
- Updated EPS mode when opening images without transparency
- Use transparency when combining P frames from APNGs
- Support all resampling filters when resizing I;16* images
- Free memory on early return
- Cast int before potentially exceeding INT_MAX
- Check image value before use
- Improved copying imagequant libraries
- Use Capsule for WebP saving
- Fixed writing multiple StripOffsets to TIFF
- Fix dereference before checking for NULL in ImagingTransformAffine
- Use transposed size after opening for TIFF images
- Improve ImageFont error messages
- Mention MAX_TEXT_CHUNK limit in PNG error message
- Cast Dib handle to int
- Accept float stroke widths
- Deprecate ICNS (width, height, scale) sizes in favour of load(scale)
- Improved handling of RGBA palettes when saving GIF images
- Deprecate isImageType
- Support converting more modes to LAB by converting to RGBA first
- Deprecate support for FreeType 2.9.0
- Removed unused TiffImagePlugin IFD_LEGACY_API
- Handle duplicate EXIF header
- Return early from BoxBlur if either width or height is zero
- Check text is either string or bytes
- Added writing XMP bytes to JPEG
- Support JPEG2000 RGBA palettes
- Expand C image to match GIF frame image size
- Allow saving I;16 images as PPM
- When IFD is missing, connect get_ifd() dictionary to Exif
- Skip truncated ICO mask if LOAD_TRUNCATED_IMAGES is enabled
- Treat unknown JPEG2000 colorspace as unspecified
- Updated error message when saving WebP with invalid width or height
- Remove warning if NumPy failed to raise an error during conversion
- If left and right sides meet in ImageDraw.rounded_rectangle(), do not draw \ 
rectangle to fill gap
- Remove WebP support without anim, mux/demux, and with buggy alpha
- Add missing TIFF CMYK;16B reader
- Remove all WITH_* flags from _imaging.c and other flags
- Improve ImageDraw2 shape methods
- Lock around usages of imaging memory arenas
- Deprecate JpegImageFile huffman_ac and huffman_dc
- Deprecate ImageMath lambda_eval and unsafe_eval options argument
- Changed ContainerIO to subclass IO
- Move away from APIs that use borrowed references under the free-threaded build
- Allow size argument to resize() to be a NumPy array
- Drop support for Python 3.8
- Add support for Python 3.13
- Fix incompatibility with NumPy 1.20
- Remove PSFile, PyAccess and USE_CFFI_ACCESS
   2024-07-11 21:48:08 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-Pillow: enable raqm support

Bump PKGREVISION.
   2024-07-01 18:30:02 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-Pillow: updated to 10.4.0

10.4.0 (2024-07-01)

- Raise FileNotFoundError if show_file() path does not exist
- Improved reading 16-bit TGA images with colour
- Deprecate non-image ImageCms modes
- Fixed processing multiple JPEG EXIF markers
- Do not preserve EXIFIFD tag by default when saving TIFF images
- Added ImageFont.load_default_imagefont()
- Added Image.WARN_POSSIBLE_FORMATS
- Remove zero-byte end padding when parsing any XMP data
- Do not detect Ultra HDR images as MPO
- Raise SyntaxError specific to JP2
- Do not use first frame duration for other frames when saving APNG images
- Consider I;16 pixel size when using a 1 mode mask
- When saving multiple PNG frames, convert to mode rather than raw mode
- Added byte support to FreeTypeFont
- Allow float center for rotate operations
- Do not read layers immediately when opening PSD images
- Restore original thread state
- Read IM and TIFF images as RGB, rather than RGBX
- Only preserve TIFF IPTC_NAA_CHUNK tag if type is BYTE or UNDEFINED
- Clarify ImageDraw2 error message when size is missing
- Support unpacking more rawmodes to RGBA palettes
- Removed support for Qt 5
- Improve ``ImageFont.freetype`` support for XDG directories on Linux
- Improved consistency of XMP handling
- Use pkg-config to help find libwebp and raqm
- Accept 't' suffix for libtiff version
- Deprecate ImageDraw.getdraw hints parameter
- Added ImageDraw circle()
- Add mypy target to Makefile
- Added more modes to Image.MODES
- Deprecate BGR;15, BGR;16 and BGR;24 modes
- Fix ImagingAccess for I;16N on big-endian
- Support reading P mode TIFF images with padding
- Deprecate support for libtiff < 4
- Corrected ImageShow UnixViewer command
- Use functools.cached_property in ImageStat
- Add support for reading BITMAPV2INFOHEADER and BITMAPV3INFOHEADER
- Support reading CMYK JPEG2000 images
   2024-04-17 12:38:36 by Thomas Klausner | Files touched by this commit (24)
Log message:
*: fix some CONFLICTS lines

Noted by riastradh@ in PR 58155.
   2024-04-02 07:55:48 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-Pillow: updated to 10.3.0

10.3.0 (2024-04-01)

- CVE-2024-28219: Use ``strncpy`` to avoid buffer overflow
- Deprecate ``eval()``, replacing it with ``lambda_eval()`` and ``unsafe_eval()``
- Raise ``ValueError`` if seeking to greater than offset-sized integer in TIFF
- Add ``--report`` argument to ``__main__.py`` to omit supported formats
- Added RGB to I;16, I;16L, I;16B and I;16N conversion
- Fix editable installation with custom build backend and configuration options
- Fix putdata() for I;16N on big-endian
- Determine MPO size from markers, not EXIF data
- Improved conversion from RGB to RGBa, LA and La
- Support FITS images with GZIP_1 compression
- Use I;16 mode for 9-bit JPEG 2000 images
- Raise ValueError if kmeans is negative
- Remove TIFF tag OSUBFILETYPE when saving using libtiff
- Raise ValueError for negative values when loading P1-P3 PPM images
- Added reading of JPEG2000 palettes
- Added alpha_quality argument when saving WebP images
- Fixed joined corners for ImageDraw rounded_rectangle() non-integer dimensions
- Stop reading EPS image at EOF marker
- PSD layer co-ordinates may be negative
- Use subprocess with CREATE_NO_WINDOW flag in ImageShow WindowsViewer
- When saving GIF frame that restores to background color, do not fill identical \ 
pixels
- Fixed reading PNG iCCP compression method
- Allow writing IFDRational to UNDEFINED tag
- Fix logged tag name when loading Exif data
- Use maximum frame size in IHDR chunk when saving APNG images
- Prevent opening P TGA images without a palette
- Use palette when loading ICO images
- Use consistent arguments for load_read and load_seek
- Turn off nullability warnings for macOS SDK
- Fix shift-sign issue in Convert.c
- Open 16-bit grayscale PNGs as I;16
- Handle truncated chunks at the end of PNG images
- Match mask size to pasted image size in GifImagePlugin
- Release GIL while calling ``WebPAnimDecoderGetNext``
- Fixed reading FLI/FLC images with a prefix chunk
- Update wl-paste handling and return None for some errors in grabclipboard() on \ 
Linux
- Remove execute bit from ``setup.py``
- Do not support using test-image-results to upload images after test failures
- Changed ImageMath.ops to be static
- Fix APNG info after seeking backwards more than twice
- Deprecate ImageCms constants and versions() function
- Added PerspectiveTransform
- Add support for reading and writing grayscale PFM images
- Add LCMS2 flags to ImageCms
- Rename x64 to AMD64 in winbuild
   2024-02-28 01:04:36 by Thomas Klausner | Files touched by this commit (3)
Log message:
py-Pillow: revert openjpeg 2.5.1 fixes, not needed with openjpeg-2.5.1nb1
   2024-02-27 11:00:09 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
py-Pillow: fix for OpenJPEG 2.5.1 (OPJ_VERSION_MAJOR is defined); bump revision