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

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


Branch: CURRENT, Version: 4.3.0, Package name: py27-Pillow-4.3.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/libimagequant] [devel/py-olefile]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: f070a099690b4a8d1539644c98c7fe65e66c8149
RMD160: e2d862ed90e654da9057f13443fedc390f935d9a
Filesize: 13548.979 KB

Version history: (Expand)


CVS history: (Expand)


   2017-10-03 21:48:28 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-Pillow: update to 4.3.0

4.3.0:
- Fix warning on pointer cast in isblock
- Doc: Added macOS High Sierra tested Pillow version
- Use correct Windows handle type on 64 bit in imagingcms
- 64 Bit Windows fix for block storage
- Fix "expression result unused" warning
- Add 16bit Read/Write and RLE read support to SgiImageFile
- Block & array hybrid storage
- Common seek frame position check
- Doc: Add note about aspect ratio to Image thumbnail script
- Fix ValueError: invalid version number '1.0.0rc1' in scipy release candidate
- Unfreeze requirements.txt
- Test: ResourceWarning tests
- Use n_frames to determine is_animated if possible
- Doc: Corrected parameters in documentation
- Avoid unnecessary Image operations
- Added register_extensions method
- Fix TIFF support for I;16S, I;16BS, and I;32BS rawmodes
- Fixed doc syntax in ImageDraw
- Fixed support for building on Windows/msys2. Added Appveyor CI coverage for \ 
python3 on msys2
- Fix ValueError in Exif/Tiff IFD
- Use pathlib2 for Path objects on Python < 3.4
- Export only required properties in unsafe_ptrs
- Alpha composite fixes
- Faster Transpose operations, added 'Transverse' option
- Deprecate ImageOps undocumented functions gaussian_blur, gblur, unsharp_mask, \ 
usm and box_blur in favor of ImageFilter implementations
- Dependencies: Updated freetype to 2.8.1
- Bug: Player skipped first image
- Faster filter operations for Kernel, Gaussian, and Unsharp Mask filters
- EPS: Add showpage to force rendering of some EPS images
- DOC: Fix type of palette parameter in Image.quantize.
- DOC: Fix Ico docs to match code
- Added file pointer save to SpiderImagePlugin
- Add targa version 2 footer
- Removed redundant lines
- Travis CI: Use default pypy/pypy3
- Fix for SystemError when rendering an empty string, added in 4.2.0
- Fix for memory leaks in font handling added in 4.2.0
- Tests:  cleanup, more tests. Fixed WMF save handler
- Removed debugging interface for Image.core.grabclipboard
- Doc syntax fix
- Faster packing and unpacking for RGB, LA, and related storage modes
- Use RGBX rawmode for RGB JPEG images where possible
- Remove palettes from non-palette modes in _new
- Delete transparency info when convert'ing RGB/L to RGBA
- Code tweaks to ease type annotations
- Fixed incorrect use of 's#' to byteslike object
- Fix JPEG subsampling labels for subsampling=2
- Region of interest (box) for resampling
- Basic support for Termux (android) in setup.py
- Bug: Fix Image.fromarray for numpy.bool type.
- CI: Add Fedora 24 and 26 to Docker tests
- JPEG: Fix ZeroDivisionError when EXIF contains invalid DPI (0/0).
- Depends: Updated openjpeg to 2.2.0
- Depends: Updated Tk Tcl to 8.6.7
- Depends: Updated libimagequant to 2.10.2
- Test: Added test for ImImagePlugin tell()
- Test: Additional tests for SGIImagePlugin
- New Image.getchannel method
- Remove unused im.copy2 and core.copy methods
- Fast Image.merge()
- Fast Image.split()
- Fast image allocation
- Storage cleanup
- FLI: Use frame count from FLI header
- Test: Test animated FLI file
- Bug: Fixed uninitialized memory in bc5 decoding
- Moved SgiImagePlugin save error to before the start of write operations
- Move createfontdatachunk.py so isn't installed globally
- Bug: Fix unexpected keyword argument 'align'
- Add newlines to error message for clarity
- Docs: Updated redirected URL
- Bug: Fix JPEG DPI when EXIF is invalid
- Bug: Fix for font getsize on empty string
- Docs: Improved ImageDraw documentation
- Docs: Corrected alpha_composite args documentation
- Docs: added the description of the filename attribute to images.rst
- Dependencies: Updated libimagequant to 2.10.1
- PDF: Renamed parameter to not shadow built-in dict
   2017-07-07 06:07:02 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
4.2.1:
- CI: Fix version specification and test on CI for PyPy/Windows
   2017-07-03 23:51:57 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
4.2.0:
Doc: Clarified Image.save:append_images documentation
CI: Amazon Linux and Centos6 docker images added to TravisCI
Image.alpha_composite added
Complex Text Support
Added threshold parameter to ImageDraw.floodfill
Added dBATCH parameter to ghostscript command
JPEG: Adjust buffer size when icc_profile > MAXBLOCK
Specify Pillow Version in one place
CI: Change the owner of the TRAVIS_BUILD_DIR, fixing broken docker runs
Fix truncated PNG loading for some images, Fix memory leak on truncated PNG images.
Add decompression bomb check to Image.crop
ImageFile: Ensure that the err_code variable is initialized in case of exception.
Tiff: Support append_images for saving multipage TIFFs
Doc: Clarify that draft is only implemented for JPEG and PCD
Test: MicImagePlugin
Use round() instead of floor() to eliminate zero coefficients in resample
Remove deprecated code
Added append_images to PDF saving
Remove unused function core image function new_array
Remove unnecessary calls to dict.keys()
Add more ImageDraw.py tests and remove unused Draw.c code
Test: More tests for ImageMorph
Test: McIDAS area file
Update Feature Detection
CI: Update pypy on TravisCI
ImageMorph: Fix wrong expected size of MRLs read from disk
Docs: Update install docs for FreeBSD
Build: Ignore OpenJpeg 1.5 on FreeBSD
Remove 'not yet implemented' methods from PIL 1.1.4
Dependencies: Update FreeType to 2.8, LibTIFF to 4.0.8 and libimagequant to 2.9.1
Raise TypeError and not also UnboundLocalError in ImageFile.Parser()
Test: Use Codecov for coverage
Use PNG for Image.show()
Remove WITH_DEBUG compilation flag
Fix return value on parameter parse error in _webp.c
Set executable flag on scripts with shebang line
Flake8
Doc: Release Process Changes
CI: Added region for s3 deployment on appveyor
Doc: Updated references to point to existing files
Return copy on Image crop if crop dimensions match the image
Test: Optimize CI speed
   2017-05-09 10:06:54 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
Changes 4.1.1:
- Undef PySlice_GetIndicesEx, see https://bugs.python.org/issue29943
- Fix for file with DPI in EXIF but not metadata, and XResolution is an int \ 
rather than tuple
- Docs: Removed broken download counter badge
- Docs: Fixed rst syntax error
   2017-04-16 10:11:17 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
Changes 4.1.0:
- Close files after loading if possible
- Fix Image Access to be reloadable when embedding the Python interpreter
- Fetch DPI from EXIF if not specified in JPEG header
- Removed winbuild checksum verification
- Git: Set ContainerIO test file as binary
- Remove superfluous import of FixTk
- Fix import of tkinter/Tkinter
- Pure Python Decoders, including Python decoder to fix for MSP images
- Reorganized GifImagePlugin
- Doc: Reordered operating systems in Compatibility Matrix
- Test: Additional tests for BurfStub, Eps, Container, GribStub, IPTC, Wmf, \ 
XVThumb, ImageDraw, ImageMorph ImageShow
- Health fixes
- Test: Correctness tests ContainerIO, XVThumbImagePlugin, BufrStubImagePlugin, \ 
GribStubImagePlugin, FitsStubImagePlugin, Hdf5StubImagePlugin, PixarImageFile, \ 
PsdImageFile
- Remove unused imports
- Replaced KeyError catch with dictionary get method
- Test: Removed unrunnable code in test_image_toqimage
- Removed use of spaces in TIFF kwargs names, deprecated in 2.7
- Removed deprecated ImageDraw setink, setfill, setfont methods
- Send unwanted subprocess output to /dev/null
- Fix division by zero when creating 0x0 image from numpy array
- Test: Added matrix convert tests
- Replaced broken URL to partners.adobe.com
- Removed unused private functions in setup.py and build_dep.py
- Test: Fixed Qt tests for QT5 and saving 1 bit PNG
- Test: docker builds for Arch and Debian Stretch
- Updated libwebp to 0.6.0 on appveyor
- More explicit error message when saving to a file with invalid extension
- Docs: Update some http urls to https
- Preserve aux/alpha channels when performing Imagecms transforms
- Test linear and radial gradient effects
- Test ImageDraw.Outline and and ImageDraw.Shape
- Added PySide to ImageQt documentation
- BUG: Empty image mode no longer causes a crash
- Exclude .travis and contents from manifest
- Remove 'MIT-like' from license
- Tests: Add tests for several Image operations
- PNG: Moved iCCP chunk before PLTE chunk when saving as PNG, restricted chunks \ 
known value/ordering
- Default to inch-interpretation for missing ResolutionUnit in TiffImagePlugin
- Bug: Fixed segfault when using ImagingTk on pypy
- Bug: Fixed Integer overflow using ImagingTk on 32 bit platforms
- Tests: Added docker images for testing alternate platforms. See also \ 
https://github.com/python-pillow/docker-images.
- Removed PIL 1.0 era TK readme that concerns Windows 95/NT
- Prevent `nose -v` printing docstrings
- Replaced absolute PIL imports with relative imports
- Added context managers for file handling
- Expose registered file extensions in Image
- Make mode descriptor cache initialization thread-safe.
- Updated Windows test dependencies: Freetype 2.7.1, zlib 1.2.11
- Followed upstream pngquant packaging reorg to libimagquant
- Fix invalid string escapes
- Add test for crop operation with no argument
   2017-02-28 16:20:12 by Ryo ONODERA | Files touched by this commit (208)
Log message:
Recursive revbump from graphics/libwebp
   2017-01-31 15:08:06 by Leonardo Taccari | Files touched by this commit (1) | Package updated
Log message:
Pillow>=4.0.0 needs olefile module, add it to DEPENDS.

From Pillow-4.0.0 changelog:

 - Remove vendored version of olefile Python package in favor of
   upstream #2199 [jdufresne]

Bump PKGREVISION
   2017-01-29 13:46:45 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
Changes 4.0.0:
- Refactor out postprocessing hack to load_end in PcdImageFile
- Add center and translate option to Image.rotate. 2328
- Test: Relax WMF test condition, fixes 2323
- Allow 0 size images, Fixes 2259, Reverts to pre-3.4 behavior.
- SGI: Save uncompressed SGI/BW/RGB/RGBA files 2325
- Depends: Updated pngquant to 2.8.2 2319
- Test: Added correctness tests for opening SGI images 2324
- Allow passing a list or tuple of individual frame durations when saving a GIF 2298
- Unified different GIF optimize conditions 2196
- Build: Refactor dependency installation 2305
- Test: Add python 3.6 to travis, tox 2304
- Test: Fix coveralls coverage for Python+C 2300
- Remove executable bit and shebang from OleFileIO.py 2308
- PyPy: Buffer interface workaround 2294
- Test: Switch to Ubuntu Trusty 14.04 on Travis CI 2294
- Remove vendored version of olefile Python package in favor of upstream 2199
- Updated comments to use print as a function 2234
- Set executable flag on selftest.py, setup.py and added shebang line 2282, 2277
- Test: Increase epsilon for FreeType 2.7 as rendering is slightly different. 2286
- Test: Faster assert_image_similar 2279
- Removed depreciated internal "stretch" method 2276
- Removed the handles_eof flag in decode.c 2223
- Tiff: Fix for writing Tiff to BytesIO using libtiff 2263
- Doc: Design docs 2269
- Test: Move tests requiring libtiff to test_file_libtiff 2273
- Update Maxblock heuristic 2275
- Fix for 2-bit palette corruption 2274
- Tiff: Update info.icc_profile when using libtiff reader. 2193
- Test: Fix bug in test_ifd_rational_save when libtiff is not available 2270
- ICO: Only save relevant sizes 2267
- ICO: Allow saving .ico files of 256x256 instead of 255x255 2265
- Fix TIFFImagePlugin ICC color profile saving. 2087
- Doc: Improved description of ImageOps.deform resample parameter 2256
- EMF: support negative bounding box coordinates 2249
- Close file if opened in WalImageFile 2216
- Use Image._new() instead of _makeself() 2248
- SunImagePlugin fixes 2241
- Use minimal scale for jpeg drafts 2240
- Updated dependency scripts to use FreeType 2.7, OpenJpeg 2.1.2, WebP 0.5.2 and \ 
Tcl/Tk 8.6.6 2235, 2236, 2237, 2290, 2302
- Fix "invalid escape sequence" bytestring warnings in Python 3.6 2186
- Removed support for Python 2.6 and Python 3.2 2192
- Setup: Raise custom exceptions when required/requested dependencies are not \ 
found 2213
- Use a context manager in FontFile.save() to ensure file is always closed 2226
- Fixed bug in saving to fp-objects in Python >= 3.4 2227
- Use a context manager in ImageFont._load_pilfont() to ensure file is always \ 
closed 2232
- Use generator expressions instead of list comprehension 2225
- Close file after reading in ImagePalette.load() 2215
- Changed behaviour of default box argument for paste method to match docs 2211
- Add support for another BMP bitfield 2221
- Added missing top-level test __main__ 2222
- Replaced range(len()) 2197
- Fix for ImageQt Segfault, fixes 1370 2182
- Setup: Close file in setup.py after finished reading 2208
- Setup: optionally use pkg-config (when present) to detect dependencies 2074
- Search for tkinter first in builtins 2210
- Tests: Replace try/except/fail pattern with TestCase.assertRaises() 2200
- Tests: Remove unused, open files at top level of tests 2188
- Replace type() equality checks with isinstance 2184
- Doc: Move ICO out of the list of read-only file formats 2180
- Doc: Fix formatting, too-short title underlines and malformed table 2175
- Fix BytesWarnings 2172
- Use Integer division to eliminate deprecation warning. 2168
- Doc: Update compatibility matrix