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

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


Branch: CURRENT, Version: 4.1.0, Package name: py27-Pillow-4.1.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] [lang/python27] [graphics/lcms2] [graphics/libwebp] [graphics/libimagequant] [devel/py-olefile]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 145c859d03d64ff67fd97f9379ffa9fd68e4d7bc
RMD160: 739ee0c718939bfda84930ac8b9eed7792f4a32e
Filesize: 10993.824 KB

Version history: (Expand)


CVS history: (Expand)


   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
   2016-11-06 16:05:30 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
Changes 3.4.2:
- Fix Resample coefficient calculation
   2016-10-04 21:30:24 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
3.4.1 (2016-10-04)
------------------
- Allow lists as arguments for Image.new()
- Fix fix for map.c overflow (also in 3.3.3)

3.4.0 (2016-10-03)
------------------
- Removed Image.core.open_ppm, added negative image size checks in Image.py.
- Windows build: fetch dependencies from pillow-depends
- Add TIFF save_all writer.
- Move libtiff fd duplication to _load_libtiff
- Speed up GIF save optimization step
- Fix for ImageCms Segfault
- Make Image.crop an immediate operation, not lazy.
- Skip empty values in ImageFileDirectory
- Force reloading palette when using mmap in ImageFile.
- Fix "invalid escape sequence" warning in Python 3.6
- Update documentation about drafts
- Converted documentation parameter format, comments to docstrings
- Fixed typos
- Renamed references to OS X to macOS
- Use truth value when checking for progressive and optimize option on save
- Convert DPI to ints when saving as JPEG
- Added append_images parameter to GIF saving
- Speedup paste with masks up to 80%
- Rewrite DDS decoders in C, add DXT3 and BC7 decoders
- Fix PyArg_ParseTuple format in getink()
- Fix saving originally missing TIFF tags.
- Allow pathlib.Path in Image.open on Python 2.7
- Use modern base64 interface over deprecated
- ImageColor.getrgb hexadecimal RGBA
- Test fix for bigendian machines
- Resampling lookups, trailing empty coefficients, precision
- Add (un)packing between RGBA and BGRa
- Added return for J2k (and fpx) Load to return a pixel access object
- Skip failing numpy tests on Pypy <= 5.3.1
- Show warning when trying to save RGBA image as JPEG
- Respect pixel centers during transform
- TOC for supported file formats
- Fix conversion of bit images to numpy arrays
- Add ImageOps.scale to expand or contract a PIL image by a factor
- Flake8 fixes
- Updated freetype to 2.6.5 on Appveyor builds
- PCX encoder fixes
- Docs: Windows console prompts are >
- Expose Pillow package version as PIL.__version__
- Add Box and Hamming filters for resampling
- Retain a reference to core image object in PyAccess
   2016-08-13 10:07:22 by Wen Heping | Files touched by this commit (4) | Package updated
Log message:
Update to 3.3.0

Upstream changes:
3.3.0 (2016-07-01)

    Fixed enums for Resolution Unit and Predictor in TiffTags.py #1998 [wiredfool]
    Fix issue converting P mode to LA #1986 [didrix]
    Moved test_j2k_overflow to check_j2k_overflow, prevent DOS of our 32bit \ 
testing machines #1995 [wiredfool]
    Skip CRC checks in PNG files when LOAD_TRUNCATED_IMAGES is enabled #1991 \ 
[kkopachev]
    Added CMYK mode for opening EPS files #1826 [radarhere]
    Docs: OSX build instruction clarification #1994 [wiredfool]
    Docs: Filter comparison table #1993 [homm]
    Removal of pthread based Incremental.c, new interface for file \ 
decoders/encoders to access the python file. Fixes assorted J2k Hangs. #1934 \ 
[wiredfool]
    Skip unnecessary passes when resizing #1954 [homm]
    Removed duplicate code in ImagePalette #1832 [radarhere]
    test_imagecms: Reduce precision of extended info due to 32 bit machine \ 
precision #1990 [AbdealiJK]
    Binary Tiff Metadata/ICC profile. #1988 [wiredfool]
    Ignore large text blocks in PNG if LOAD_TRUNCATED_IMAGES is enabled #1970 [homm]
    Replace index = index+1 in docs with +=1 [cclauss]
    Skip extra 0xff00 in jpeg #1977 [kkopachev]
    Use bytearray for palette mutable storage #1985 [radarhere, wiredfool]
    Added additional uint modes for Image.fromarray, more extensive tests of \ 
fromarray #1984 [mairsbw, wiredfool]
    Fix for program importing PyQt4 when PyQt5 also installed #1942 [hugovk]
    Changed depends/install_*.sh urls to point to github pillow-depends repo \ 
#1983 [wiredfool]
    Allow ICC profile from encoderinfo while saving PNGs #1909 [homm]
    Fix integer overflow on ILP32 systems (32-bit Linux). #1975 [lambdafu]
    Change function declaration to match Tcl_CmdProc type #1966 [homm]
    Integer overflow checks on all calls to *alloc #1781 [wiredfool]
    Change equals method on Image so it short circuits #1967 [mattBoros]
    Runtime loading of TCL/TK libraries, eliminating build time dependency. \ 
#1932 [matthew-brett]
    Cleanup of transform methods #1941 [homm]
    Fix "Fatal Python error: UNREF invalid object" in debug builds \ 
#1936 [wiredfool]
    Setup fixes for Alpine linux #1937 [wiredfool]
    Split resample into horizontal + vertical passes #1933 [homm]
    Box blur with premultiplied alpha #1914 [homm]
    Add libimagequant support in quantize() #1889 [rr-]
    Added internal Premultiplied luminosity (La) mode #1912 [homm]
    Fixed point integer resample #1881 [homm]
    Removed docs/BUILDME script #1924 [radarhere]
    Moved comments to docstrings #1926 [hugovk]
    Include Python.h before wchar.h so _GNU_SOURCE is set consistently #1906 [hugovk]
    Updated example decoder in documentation #1899 [radarhere]
    Added support for GIF comment extension #1896 [radarhere]
    Removed support for pre- 1.5.2 list form of Image info in Image.new #1897 \ 
[radarhere]
    Fix typos in TIFF tags #1918 [radarhere]
    Skip tests that require libtiff if it is not installed, fixes #1866 [wiredfool]
    Skip test when icc profile is not available, fixes #1887 [doko42]
    Make deprecated functions raise NotImplementedError instead of Exception. \ 
#1862, #1890 [daniel-leicht, radarhere]
    Replaced os.system with subprocess.call in setup.py #1879 [radarhere]
    Corrected Image show documentation #1886 [radarhere]
    Added check for executable permissions to ImageShow #1880 [radarhere]
    Fixed tutorial code and added explanation #1877 [radarhere]
    Added OS X support for ImageGrab grabclipboard #1837 [radarhere]
    Combined duplicate code in ImageTk #1856 [radarhere]
    Added --disable-platform-guessing option to setup.py build extension, #1861 \ 
[angeloc]
    Fixed loading Transparent PNGs with a transparent black color #1840 [olt]
    Add support for LA mode in Image.fromarray #1865 [pierriko]
    Make ImageFile load images in read-only mode #1864 [hdante]
    Added _accept hook for XVThumbImagePlugin #1853 [radarhere]
    Test TIFF with LZW compression #1855, TGA RLE file #1854 [hugovk]
    Improved SpiderImagePlugin help text #1863 [radarhere]
    Updated Sphinx project description #1870 [radarhere]
    Remove support for Python 3.0 from _imaging.c #1851 [radarhere]
    Jpeg qtables are unsigned chars #1814, #1921 [thebostik]
    Added additional EXIF tags #1841, TIFF Tags #1821 [radarhere]
    Changed documentation to refer to ImageSequence Iterator #1833 [radarhere]
    Fix Fedora prerequisites in installation docs, depends script #1842 [living180]
    Added _accept hook for PixarImagePlugin #1843 [radarhere]
    Removed outdated scanner classifier #1823 [radarhere]
    Combined identical error messages in _imaging #1825 [radarhere]
    Added debug option for setup.py to trace header and library finding #1790 \ 
[wiredfool]
    Fix doc building on travis #1820, #1844 [wiredfool]
    Fix for DIB/BMP images #1813, #1847 [wiredfool]
    Add PixarImagePlugin file extension #1809 [radarhere]
    Catch struct.errors when verifying png files #1805 [wiredfool]
    SpiderImagePlugin: raise an error when seeking in a non-stack file #1794 \ 
[radarhere, jmichalon]
    Added Support for 2/4 bpp Tiff Grayscale Images #1789 [zwhfly]
    Removed unused variable from selftest #1788 [radarhere]
    Added warning for as_dict method (deprecated in 3.0.0) #1799 [radarhere]
    Removed powf support for older Python versions #1784 [radarhere]
    Health fixes #1625 #1903 [radarhere]
   2016-06-01 14:33:51 by Thomas Klausner | Files touched by this commit (1)
Log message:
Fix MASTER_SITES.