./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-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
   2024-01-06 00:47:53 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-Pillow: updated to 10.2.0

10.2.0 (2024-01-02)

- Add ``keep_rgb`` option when saving JPEG to prevent conversion of RGB colorspace
- Trim glyph size in ImageFont.getmask()
- Deprecate IptcImagePlugin helpers
- Allow uncompressed TIFF images to be saved in chunks
- Concatenate multiple JPEG EXIF markers
- Changed IPTC tile tuple to match other plugins
- Do not assign new fp attribute when exiting context manager
- Support arbitrary masks for uncompressed RGB DDS images
- Support setting ROWSPERSTRIP tag
- Apply ImageFont.MAX_STRING_LENGTH to ImageFont.getmask()
- Optimise ``ImageColor`` using ``functools.lru_cache``
- Restricted environment keys for ImageMath.eval()
- Optimise ``ImageMode.getmode`` using ``functools.lru_cache``
- Fix incorrect color blending for overlapping glyphs
- Attempt memory mapping when tile args is a string
- Fill identical pixels with transparency in subsequent frames when saving GIF
- Corrected duration when combining multiple GIF frames into single frame
- Handle disposing GIF background from outside palette
- Seek past the data when skipping a PSD layer
- Import plugins relative to the module
- Translate encoder error codes to strings; deprecate ``ImageFile.raise_oserror()``
- Support reading BC4U and DX10 BC1 images
- Optimize ImageStat.Stat.extrema
- Handle pathlib.Path in FreeTypeFont
- Added support for reading DX10 BC4 DDS images
- Optimized ImageStat.Stat.count
- Correct PDF palette size when saving
- Fixed closing file pointer with olefile 0.47
- Raise ValueError when TrueType font size is not greater than zero
- If absent, do not try to close fp when closing image
- Allow configuring JPEG restart marker interval on save
- Decrement reference count for PyObject
- Implement ``streamtype=1`` option for tables-only JPEG encoding
- If save_all PNG only has one frame, do not create animated image
- Fixed frombytes() for images with a zero dimension
   2023-11-12 14:24:43 by Thomas Klausner | Files touched by this commit (2570)
Log message:
*: revebump for new brotli option for freetype2

Addresses PR 57693
   2023-10-21 19:11:59 by Greg Troxel | Files touched by this commit (1345) | Package updated
Log message:
recursive revbump for tiff update
   2023-10-16 21:26:49 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-Pillow: updated to 10.1.0

10.1.0 (2023-10-15)

- Added TrueType default font to allow for different sizes
- Fixed invalid argument warning
- Added ImageOps cover method
- Catch struct.error from truncated EXIF when reading JPEG DPI
- Consider default image when selecting mode for PNG save_all
- Support BGR;15, BGR;16 and BGR;24 access, unpacking and putdata
- Added CMYK to RGB unpacker
- Improved flexibility of XMP parsing
- Support reading 8-bit YCbCr TIFF images
- Allow saving I;16B images as PNG
- Corrected drawing I;16 points and writing I;16 text
- Set blue channel to 128 for BC5S
- Increase flexibility when reading IPTC fields
- Set C palette to be empty by default
- Added gs_binary to control Ghostscript use on all platforms
- Read bounding box information from the trailer of EPS files if specified
- Added reading 8-bit color DDS images
- Added has_transparency_data
- Fixed bug when reading BC5S DDS images
- Prevent TIFF orientation from being applied more than once
- Use previous pixel alpha for QOI_OP_RGB
- Added BC5U reading
- Allow getpixel() to accept a list
- Allow GaussianBlur and BoxBlur to accept a sequence of x and y radii
- Expand JPEG buffer size when saving optimized or progressive
- Added session type check for Linux in ImageGrab.grabclipboard()
- Allow "loop=None" when saving GIF images
- Fixed transparency when saving P mode images to PDF
- Added saving LA images as PDFs
- Set SMaskInData to 1 for PDFs with alpha
- Changed Image mode property to be read-only by default
- Silence exceptions in _repr_jpeg_ and _repr_png_
- Do not use transparency when saving GIF if it has been removed when \ 
normalizing mode
- Fix missing symbols when libtiff depends on libjpeg