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

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


Branch: CURRENT, Version: 6.2.0, Package name: py37-Pillow-6.2.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.


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:

SHA1: 7278bf3e78e5ac3cc1d3d1e47ec610949d6618b3
RMD160: adadeaf8395fbf08ad534ebe1f8da30892f5e31a
Filesize: 36492.267 KB

Version history: (Expand)


CVS history: (Expand)


   2019-10-02 09:55:41 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-Pillow: updated to 6.2.0

6.2.0:
- This is the last Pillow release to support Python 2.7
- Catch buffer overruns
- Initialize rows_per_strip when RowsPerStrip tag is missing
- Raise error if TIFF dimension is a string
- Added decompression bomb checks
- Fix ImageGrab.grab DPI scaling on Windows 10 version 1607+
- Corrected negative seeks
- Added argument to capture all screens on Windows
- Updated warning to specify when Image.frombuffer defaults will change
- Changed WindowsViewer format to PNG
- Use TIFF orientation
- Raise the same error if a truncated image is loaded a second time
- Lazily use ImageFileDirectory_v1 values from Exif
- Improved HSV conversion
- Added text stroking
- No more deprecated bdist_wininst .exe installers
- Do not allow floodfill to extend into negative coordinates
- Fixed arc drawing bug for a non-whole number of degrees
- Fix bug when merging identical images to GIF with a list of durations
- Fix bug in TIFF loading of BufferedReader
- Added fallback for finding ld on MinGW Cygwin
- Remove indirect dependencies from requirements.txt
- Depends: Update libwebp to 1.0.3, libimagequant to 2.12.5, freetype to 2.10.1
- Change overflow check to use PY_SSIZE_T_MAX
- Report reason for pytest skips 3942
   2019-07-03 19:19:01 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-Pillow: updated to 6.1.0

6.1.0:
- Deprecate Image.__del__
- Tiff: Add support for JPEG quality
- Respect the PKG_CONFIG environment variable when building
- Use explicit memcpy() to avoid unaligned memory accesses
- Improve encoding of TIFF tags
- Update Py_UNICODE to Py_UCS4
- Consider I;16 pixel size when drawing
- Add TIFFTAG_SAMPLEFORMAT to blocklist
- Create GIF deltas from background colour of GIF frames if disposal mode is 2
- Added ImageSequence all_frames
- Use unsigned int to store TIFF IFD offsets
- Include CPPFLAGS when searching for libraries
- Updated TIFF tile descriptors to match current decoding functionality
- Added an `image.entropy()` method (second revision)
- Pass the correct types to PyArg_ParseTuple
- Fixed crash when loading non-font bytes
- Fix SPARC memory alignment issues in Pack/Unpack functions
- Added CMYK;16B and CMYK;16N unpackers
- Fixed bugs in calculating text size
- Add __main__.py to output basic format and support information
- Added variation font support
- Do not down-convert if image is LA when showing with PNG format
- Improve handling of PSD frames
- Improved ICO and ICNS loading
- Changed Preview application path so that it is no longer static
- Corrected ttb text positioning
- Handle unexpected ICO image sizes
- Fixed bits value for RGB;16N unpackers
- Travis CI: Add Fedora 30, remove Fedora 28
- Added reading of CMYK;16L TIFF images
- Fixed dimensions of 1-bit PDFs
- Fixed opening mmap image through Path on Windows
- Fixed ImageDraw arc gaps
- Expand GIF to include frames with extents outside the image size
- Fixed ImageTk getimage
- Fixed bug in decoding large images
- Fixed reading APP13 marker without Photoshop data
- Added option to include layered windows in ImageGrab.grab on Windows
- Detect libimagequant when installed by pacman on MingW
- Fixed raqm layout bug
- Fixed loading font with non-Unicode path on Windows
- Travis CI: Upgrade PyPy from 6.0.0 to 7.1.1
- Depends: Updated openjpeg to 2.3.1
- Fix numpy bool bug
   2019-04-03 10:05:44 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-Pillow: updated to 6.0.0

6.0.0:
Python 2.7 support will be removed in Pillow 7.0.0
Add EXIF class
Add ImageOps exif_transpose method
Added warnings to deprecated CMSProfile attributes
Documented reading TIFF multiframe images
Improved speed of opening an MPO file
Update palette in quantize
Improvements to TIFF is_animated and n_frames
Fixed incompatible pointer type warnings
Improvements to PA and LA conversion and palette operations
Consistent DPI rounding
Change size of MPO image to match frame
Read Photoshop resolution data
Ensure image is mutable before saving
Correct remap_palette documentation
Promote P images to PA in putalpha
Allow RGB and RGBA values for new P images
Fixed TIFF bug when seeking backwards and then forwards
Cache EXIF information
Added transparency for all PNG greyscale modes
Fix deprecation warnings in Python 3.8
Fixed GIF bug when rewinding to a non-zero frame
Only close original fp in __del__ and __exit__ if original fp is exclusive
Fix BytesWarning in Tests/test_numpy.py
Add missing MIME types and extensions
Add I;16 PNG save
Add support for BMP RGBA bitfield compression
Added ability to set language for text rendering
Only close exclusive fp on Image __exit__
Changed EPS subprocess stdout from devnull to None
Add reading old-JPEG compressed TIFFs
Add EXIF support for PNG
Add option to set dither param on quantize
Add reading of DDS uncompressed RGB data
Correct length of Tiff BYTE tags
Add DIB saving and loading through Image open
Removed deprecated VERSION
Fix 'BytesWarning: Comparison between bytes and string' in PdfDict
Do not resize in Image.thumbnail if already the destination size
Replace .seek() magic numbers with io.SEEK_* constants
Make ContainerIO.isatty() return a bool, not int
Add support to all transpose operations for I;16 modes
Deprecate support for PyQt4 and PySide
Add TIFF compression codecs: LZMA, Zstd, WebP
Fixed pickling of iTXt class with protocol > 1
_util.isPath returns True for pathlib.Path objects
Remove unnecessary unittest.main() boilerplate from test files
Exif: Seek to IFD offset
Deprecate PIL.*ImagePlugin.__version__ attributes
Docs: Add note about ImageDraw operations that exceed image bounds
Allow for unknown PNG chunks after image data
Changed EPS subprocess stdin from devnull to None
Fix possible integer overflow
Catch BaseException for resource cleanup handlers
Improve pytest configuration to allow specific tests as CLI args
Drop support for Python 3.4
Remove deprecated PIL.OleFileIO
Remove deprecated ImageOps undocumented functions
Depends: Update libwebp to 1.0.2
Detect MIME types
   2019-01-07 11:16:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-Pillow: updated to 5.4.1

5.4.1:
- File closing: Only close __fp if not fp
- Fix build for Termux
- PNG: Detect MIME types
- PNG: Handle IDAT chunks after image end
   2019-01-02 13:16:42 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-Pillow: updated to 5.4.0

5.4.0:
- Docs: Improved ImageChops documentation
- Allow RGB and RGBA values for P image putpixel
- Add APNG extension to PNG plugin
- Lookup ld.so.cache instead of hardcoding search paths
- Added custom string TIFF tags
- Improve setup.py configuration
- Read textual chunks located after IDAT chunks for PNG
- Performance: Don't try to hash value if enum is empty
- Added custom int and float TIFF tags
- Fixes for issues reported by static code analysis
- GIF: Wait until mode is normalized to copy im.info into encoderinfo
- Docs: Add page of deprecations and removals
- Travis CI: Upgrade PyPy from 5.8.0 to 6.0
- Travis CI: Allow lint job to fail
- Resolve __fp when closing and deleting
- Close exclusive fp before discarding
- Updated open files documentation
- Added libjpeg_turbo to check_feature
- Change color table index background to tuple when saving as WebP
- Allow arbitrary number of comment extension subblocks
- Ensure previous FLI frame is loaded before seeking to the next
- ImageShow improvements
- Depends: Update libimagequant to 2.12.2, libtiff to 4.0.10, libwebp to 1.0.1, \ 
Tk Tcl to 8.6.9
- Check quality_layers type
- Add context manager, __del__ and close methods to TarIO
- Test: Do not play sound when running screencapture command
- Close exclusive fp on open exception
- Only close existing fp in WebP if fp is exclusive
- Docs: Re-add the downloads badge
- Added negative index to PixelAccess
- Change tuple background to global color table index when saving as GIF
- Test: Improved ImageGrab tests
- Flake8 fixes
- Only ask for YCbCr->RGB libtiff conversion for jpeg-compressed tiffs
- Optimise ImageOps.fit by combining resize and crop
   2018-10-02 11:10:47 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-Pillow: updated to 5.3.0

5.3.0:
Changed Image size property to be read-only by default
Add warnings if image file identification fails due to lack of WebP support
Hide the Ghostscript progress dialog popup on Windows
Adding support to reading tiled and YcbCr jpeg tiffs through libtiff
Fixed None as TIFF compression argument
Changed GIF seek to remove previous info items
Improved PDF document info
Add line width parameter to rectangle and ellipse-based shapes
Fixed decompression bomb check in _crop
Added support to ImageDraw.floodfill for non-RGB colors
Tests: Avoid catching unexpected exceptions in tests
Use TextIOWrapper.detach() instead of NoCloseStream
Added transparency to matrix conversion
Added ImageOps pad method
Give correct extrema for I;16 format images
Added PySide2
Corrected TIFF tags
CI: Install CFFI and pycparser without any PYTHONOPTIMIZE
Read/Save RGB webp as RGB (instead of RGBX)
ImageDraw: Add line joints
Improved performance of ImageDraw floodfill method
Fix builds with --parallel
Add more raw Tiff modes (RGBaX, RGBaXX, RGBAX, RGBAXX)
Close existing WebP fp before setting new fp
Add orientation, compression and id_section as TGA save keyword arguments
Convert int values of RATIONAL TIFF tags to floats
Fix code for PYTHONOPTIMIZE
Changed ImageFilter.Kernel to subclass ImageFilter.BuiltinFilter, instead of the \ 
other way around
Remove unused draw.draw_line, draw.draw_point and font.getabc methods
Tests: Added ImageFilter tests
Tests: Added ImageChops tests
AppVeyor: Download lib if not present in pillow-depends
Travis CI: Add Python 3.7 and Xenial
Docs: Added documentation for NumPy conversion
Depends: Update libimagequant to 2.12.1
Add three-color support to ImageOps.colorize
Tests: Add LA to TGA test modes
Skip outline if the draw operation fills with the same colour
Flake8 fixes
Avoid deprecated 'U' mode when opening files
   2018-07-03 09:44:00 by Adam Ciarcinski | Files touched by this commit (5) | Package updated
Log message:
py-Pillow: updated to 5.2.0

5.2.0:
Fixed saving a multiframe image as a single frame PDF
If a Qt version is already imported, attempt to use it first
Fix transform fill color for alpha images
TGA: Add support for writing RLE data
TGA: Read and write LA data
QuantOctree.c: Remove erroneous attempt to average over an empty range
Changed ICNS format tests to pass on OS X 10.11
Fixed bug in ImageDraw.multiline_textsize()
Added getsize_multiline support for PIL.ImageFont
Added ImageFile get_format_mimetype method
Changed mmap file pointer to use context manager
Changed ellipse point calculations to be more evenly distributed
Only extract first Exif segment
Tests: Test ImageDraw2, WalImageFile
Remove unnecessary '#if 0' code
Tests: Added GD tests
Fix collections ABCs DeprecationWarning in Python 3.7
unpack_from is faster than unpack of slice
Docs: Add coordinate system links and file handling links in documentation
Tests: TestFilePng: Fix test_save_l_transparency()
Docs: Correct argument name
Docs: Update CMake download URL
Docs: Improve Image.transform documentation
Fix transform fillcolor argument when image mode is RGBA or LA
Tests: More specific Exception testing
Add getrgb HSB/HSV color strings
Allow float values in getrgb HSL color string
AppVeyor: Upgrade to Python 2.7.15 and 3.4.4
AppVeyor: Upgrade to PyPy 6.0.0
Deprecate PILLOW_VERSION and VERSION
Support Python 3.7
Depends: Update freetype to 2.9.1, libjpeg to 9c, libwebp to 1.0.0
Build macOS wheels with Xcode 6.4, supporting older macOS versions
Fix _i2f compilation on some GCC versions
Changed encoderinfo to have priority over info when saving GIF images
Rename PIL.version to PIL._version and remove it from module
Enable background colour parameter on rotate
Remove unnecessary #if 1 directive
Remove unused Python class, Path
Fix dereferencing type-punned pointer will break strict-aliasing
   2018-04-03 11:24:20 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-Pillow: updated to 5.1.0

5.1.0:
Close fp before return in ImagingSavePPM
Added documentation for ICNS append_images
Docs: Move intro text below its header
CI: Rename appveyor.yml as .appveyor.yml
Fix TypeError for JPEG2000 parser feed
Certain corrupted jpegs can result in no data read
Add support for BLP file format
Simplify version checks
Fix "invalid escape sequence" warning on Python 3.6+
Allow append_images to set .icns scaled images
Support appending to existing PDFs
Fix and improve efficient saving of ICNS on macOS
Build: Enable pip cache in AppVeyor build
Trim trailing whitespace
Docs: Correct reference to Image.new method
Rearrange ImageFilter classes into alphabetical order
Test: Remove duplicate line
Build: Update AppVeyor PyPy version
Tiff: Open 8 bit Tiffs with 5 or 6 channels, discarding extra channels
Readme: Added Twitter badge
Removed __main__ code from ImageCms
Test: Changed assert statements to unittest calls
Depends: Update libimagequant to 2.11.10, raqm to 0.5.0, freetype to 2.9
Remove _imaging.crc32 in favor of builtin Python crc32 implementation
Move Tk directory to src directory
Enable pip cache in Travis CI
Remove unused and duplicate imports
Docs: Changed documentation references to 2.x to 2.7
Fix memory leak when opening webp files
Setup: Fix "TypeError: 'NoneType' object is not iterable" for PPC and CRUX
Setup: Add libdirs for ppc64le and armv7l