summaryrefslogtreecommitdiff
path: root/graphics/py-Pillow
AgeCommit message (Collapse)AuthorFilesLines
2017-04-16Changes 4.1.0:adam3-27/+15
- 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-28Recursive revbump from graphics/libwebpryoon1-2/+2
2017-01-31Pillow>=4.0.0 needs olefile module, add it to DEPENDS.leot1-1/+4
From Pillow-4.0.0 changelog: - Remove vendored version of olefile Python package in favor of upstream #2199 [jdufresne] Bump PKGREVISION
2017-01-29Changes 4.0.0:adam4-24/+26
- 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-06Changes 3.4.2:adam3-11/+11
- Fix Resample coefficient calculation
2016-10-043.4.1 (2016-10-04)adam3-11/+11
------------------ - 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-13Update to 3.3.0wen4-16/+19
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-01Fix MASTER_SITES.wiz1-2/+2
2016-04-21Update graphics/py-Pillow to 3.2.0leot4-29/+41
pkgsrc changes: o Simplify MASTER_SITES o Add LICENSE o Disable the tests for now (that were also broken for 3.1.2 version). All the modules are builded in build/lib.*/PIL/ while selftest.py just checks in PIL/. Manually cp(1)-ing all the build/lib.*/PIL/ files in PIL/ work as a workaround (and all test are passed) although implementing a similar (distutils.cmd) logic will be easily buggy. Changes: 3.2.0 (2016-04-01) ------------------ - Added install docs for Fedora 23 and FreeBSD #1729, #1739, #1792 [koobs, zandermartin, wiredfool] - Fixed TIFF multiframe load when the frames have different compression types #1782 [radarhere, geka000] - Added __copy__ method to Image #1772 [radarhere] - Updated dates in PIL license in OleFileIO README #1787 [radarhere] - Corrected Tiff tag names #1786 [radarhere] - Fixed documented name of JPEG property #1783 [radarhere] - Fixed UnboundLocalErrorwhen loading a corrupt jpeg2k file #1780 [wiredfool] - Fixed integer overflow in path.c #1773 [wiredfool, nedwill] - Added debug to command line help text for pilprint #1766 [radarhere] - Expose many more fields in ICC Profiles #1756 [lambdafu] - Documentation changes, URL update, transpose, release checklist [radarhere] - Fixed saving to nonexistant files specified by pathlib.Path objects, fixes #1747 [radarhere] - Round Image.crop arguments to the nearest integer, fixes #1744 [hugovk] - Fix uninitialized variable warning in _imaging.c:getink, fixes #486 [wiredfool] - Disable multiprocessing install on cygwin, fixes #1690 [wiredfool] - Fix the error reported when libz is not found #1764 [wiredfool] - More general error check to avoid Symbol not found: _PyUnicodeUCS2_AsLatin1String on OS X #1761 [wiredfool] - Added py35 to tox envlist #1724 [radarhere] - Fix EXIF tag name typos #1736 [zarlant, radarhere] - Updated freetype to 2.6.3, Tk/Tcl to 8.6.5 and 8.5.19 [radarhere] - Add a loader for the FTEX format from Independence War 2: Edge of Chaos #1688 [jleclanche] - Improved alpha_composite documentation #1698 [radarhere] - Extend ImageDraw.text method to pass on multiline_text method specific arguments #1647 [radarhere] - Allow ImageSequence to seek to zero #1686 [radarhere] - ImageSequence Iterator is now an iterator #1649 [radarhere] - Updated windows test builds to jpeg9b [radarhere] - Fixed support for .gbr version 1 images, added support for version 2 in GbrImagePlugin #1653 [wiredfool] - Clarified which YCbCr format is used #1677 [radarhere] - Added TiffTags documentation, Moved windows build documentation to winbuild/ #1667 [wiredfool] - Add tests for OLE file based formats #1678 [radarhere] - Add TIFF IFD test #1671 [radarhere] - Add a basic DDS image plugin with more tests #1654 [jleclanche, hugovk, wiredfool] - Fix incorrect conditional in encode.c #1638 [manisandro]
2016-04-12Changes 3.1.2:adam2-7/+7
- Fixed an integer overflow in Jpeg2KEncode.c causing a buffer overflow. CVE-2016-3076
2016-03-06Changes 3.1.1adam2-7/+7
- Fixed an integer overflow in Resample.c causing writes in the Python heap. - Fixed a buffer overflow in PcdDecode.c causing a segfault when opening PhotoCD files. CVE-2016-TBD - Fixed a buffer overflow in FliDecode.c causing a segfault when opening FLI files. CVE-2016-0775 - Fixed a buffer overflow in TiffDecode.c causing an arbitrary amount of memory to be overwritten when opening a specially crafted invalid TIFF file. CVE-2016-0740
2016-01-30Changes 3.1.0:adam2-8/+7
- Fixing test failures on Python 2.6/Windows - Limit metadata tags when writing using libtiff - Rolling back exif support to pre-3.0 format - Fix Divide by zero in Exif, add IFDRational class - Catch the IFD error near the source - Added release notes for 3.1.0 - Updated spacing to be consistent between multiline methods - Let EditorConfig take care of some basic formatting - Restore gpsexif data to the v1 form - Add /usr/local include and library directories for freebsd - Updated installation docs for new versions of dependencies - Removed unrunnable test file - Changed register calls to use format property - Added field type constants to TiffTags - Allow saving RowsPerStrip with libtiff - Enabled conversion to numpy array for HSV images - Changed some urls in the docs to use https - Removed logger.exception from ImageFile.py - Removed warnings module check - Changed arcs, chords and pie slices to use floats - Update unit test asserts - Fix command to invoke ghostscript for eps files - Consistent multiline text spacing - Removed unused lines in BDFFontFile - Changed ImageQt import of Image - Throw TypeError if no cursors were found in .cur file - Fix crash in ImageTk.PhotoImage on win-amd64 - ExtraSamples tag should be a SHORT, not a BYTE - Docs and code health fixes - Updated freetype to 2.6.2 - Updated WebP to 0.5.0 for Travis - Fix missing 'version' key value in __array_interface__ - Replaced os.popen with subprocess.Popen to pilprint script - Catch OverflowError in SpiderImagePlugin - Fix the definition of icc_profile in TiffTags - Remove old _imagingtiff.c and pilplus stuff - Fix Exception when requiring jpeg - Dependency scripts for Debian and Ubuntu - Added Usage message to painter script - Add tag info for iccprofile, fixes - Added some requirements for make release-test - Flatten tiff metadata value SAMPLEFORMAT to initial value, fixes - Fix handling of pathlib in Image.save. Fixes - Make tests more robust - Use correctly sized pointers for windows handle types.
2016-01-06Revbump after updating graphics/libwebpadam1-1/+2
2015-11-04Remove duplicate SHA512 digests that crept in.agc1-2/+1
2015-11-03Add SHA512 digests for distfiles for graphics categoryagc1-1/+2
Problems found with existing digests: Package fotoxx distfile fotoxx-14.03.1.tar.gz ac2033f87de2c23941261f7c50160cddf872c110 [recorded] 118e98a8cc0414676b3c4d37b8df407c28a1407c [calculated] Package ploticus-examples distfile ploticus-2.00/plnode200.tar.gz 34274a03d0c41fae5690633663e3d4114b9d7a6d [recorded] da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated] Problems found locating distfiles: Package AfterShotPro: missing distfile AfterShotPro-1.1.0.30/AfterShotPro_i386.deb Package pgraf: missing distfile pgraf-20010131.tar.gz Package qvplay: missing distfile qvplay-0.95.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-10-18Changes 3.0.0:adam4-25/+13
* Saving Multipage Images * Tiff ImageFileDirectory Rewrite * Deprecated Methods * LibJpeg and Zlib are Required by Default
2015-07-07Changes 2.9.0:adam3-9/+12
- Added test for GimpPaletteFile 1324 - Fixed ValueError in Python 2.6 1315 1316 - Fixed tox test script path 1308 - Added width and height properties 1304 - Update tiff and tk tcl 8.5 versions 1303 - Add functions to convert: Image <-> QImage; Image <-> QPixmap 1217 - Remove duplicate code in gifmaker script 1294 - Multiline text in ImageDraw 1177 - Automated Windows CI/build support 1278 - Removed support for Tk versions earlier than 8.4 1288 - Fixed polygon edge drawing 1255 (fixes 1252) - Check prefix length in _accept methods 1267 - Register MIME type for BMP 1277 - Adjusted ImageQt use of unicode() for 2/3 compatibility 1218 - Identify XBM file created with filename including underscore 1230 (fixes 1229) - Copy image when saving in GifImagePlugin 1231 (fixes 718) - Removed support for FreeType 2.0 1247 - Added background saving to GifImagePlugin 1273 - Provide n_frames attribute to multi-frame formats 1261 - Add duration and loop set to GifImagePlugin 1172, 1269 - Ico files are little endian 1232 - Upgrade olefile from 0.30 to 0.42b 1226 - Setting transparency value to 0 when the tRNS contains only null byte(s) 1239 - Separated out feature checking from selftest 1233 - Style/health fixes - Update WebP from 0.4.1 to 0.4.3 1235 - Release GIL during image load (decode) 1224 - Added icns save 1185 - Fix putdata memory leak 1196 - Keep user-specified ordering of icon sizes 1193 - Tiff: allow writing floating point tag values 1113
2015-04-17Changes 2.8.1:adam3-13/+12
- Bug fix: Catch struct.error on invalid JPEG
2015-03-15Set MAINTAINER to pkgsrc-users.hiramatsu1-2/+2
2015-01-03Changes 2.7.0:adam2-6/+6
Fixes potential denial of service attacks using compressed text chunks.
2014-11-30Changes 2.6.1:adam3-14/+16
- Fix SciPy regression for in Image.resize - Fix manifest to include all test files
2014-10-07Revbump after updating libwebp and icuadam1-1/+2
2014-08-21Update Pillow to 2.5.3.obache2-6/+6
2.5.3 (2014-08-18) ------------------ - Fixed CVE-2014-3598, a DOS in the Jpeg2KImagePlugin [Andrew Drake] 2.5.2 (2014-08-13) ------------------ - Fixed CVE-2014-3589, a DOS in the IcnsImagePlugin [Andrew Drake]
2014-08-08Update Pillow to 2.5.1.obache2-6/+6
2.5.1 (2014-07-10) ------------------ - Fixed install issue if Multiprocessing.Pool is not available [wiredfool] - 32bit mult overflow fix #782 [wiredfool]
2014-07-06Update HOMEPAGE url.obache1-2/+2
2014-07-06Update Pillow to 2.5.0.obache4-20/+18
2.5.0 (2014-07-01) ------------------ - Imagedraw rewrite [terseus, wiredfool] - Add support for multithreaded test execution [wiredfool] - Prevent shell injection #748 [mbrown1413, wiredfool] - Support for Resolution in BMP files #734 [gcq] - Fix error in setup.py for Python 3 [matthew-brett] - Pyroma fix and add Python 3.4 to setup metadata #742 [wirefool] - Top level flake8 fixes #741 [aclark] - Remove obsolete Animated Raster Graphics (ARG) support [hugovk] - Fix test_imagedraw failures #727 [cgohlke] - Fix AttributeError: class Image has no attribute 'DEBUG' #726 [cgohlke] - Fix msvc warning: 'inline' : macro redefinition #725 [cgohlke] - Cleanup #654 [dvska, hugovk, wiredfool] - 16-bit monochrome support for JPEG2000 [videan42] - Fixed ImagePalette.save [brightpisces] - Support JPEG qtables [csinchok] - Add binary morphology addon [dov, wiredfool] - Decompression bomb protection [hugovk] - Put images in a single directory [hugovk] - Support OpenJpeg 2.1 [al45tair] - Remove unistd.h #include for all platforms [wiredfool] - Use unittest for tests [hugovk] - ImageCms fixes [hugovk] - Added more ImageDraw tests [hugovk] - Added tests for Spider files [hugovk] - Use libtiff to write any compressed tiff files [wiredfool] - Support for pickling Image objects [hugovk] - Fixed resolution handling for EPS thumbnails [eliempje] - Fixed rendering of some binary EPS files (Issue #302) [eliempje] - Rename variables not to use built-in function names [hugovk] - Ignore junk JPEG markers [hugovk] - Change default interpolation for Image.thumbnail to Image.ANTIALIAS [hugovk] - Add tests and fixes for saving PDFs [hugovk] - Remove transparency resource after P->RGBA conversion [hugovk] - Clean up preprocessor cruft for Windows [CounterPillow] - Adjust Homebrew freetype detection logic [jacknagel] - Added Image.close, context manager support. [wiredfool] - Added support for 16 bit PGM files. [wiredfool] - Updated OleFileIO to version 0.30 from upstream [hugovk] - Added support for additional TIFF floating point format [Hijackal] - Have the tempfile use a suffix with a dot [wiredfool] - Fix variable name used for transparency manipulations [nijel]
2014-04-18Update py-Pillow to 2.4.0.obache4-15/+29
* Based on patch from adam@. * Add self test target. Changelog (Pillow) ================== 2.4.0 (04/01/2014) ------------------ - Indexed Transparency handled for conversions between L, RGB, and P modes. Fixes #510 [wiredfool] - Conversions enabled from RGBA->P, Fixes #544 [wiredfool] - Improved icns support [al45tair] - Fix libtiff leaking open files, fixes #580 [wiredfool] - Fixes for Jpeg encoding in Python 3, fixes #577 [wiredfool] - Added support for JPEG 2000 [al45tair] - Add more detailed error messages to Image.py [larsmans] - Avoid conflicting _expand functions in PIL & MINGW, fixes #538 [aclark] - Merge from Philippe Lagadec’s OleFileIO_PL fork [vadmium] - Fix ImageColor.getcolor [homm] - Make ICO files work with the ImageFile.Parser interface, fixes #522 [wiredfool] - Handle 32bit compiled python on 64bit architecture [choppsv1] - Fix support for characters >128 using .pcf or .pil fonts in Py3k. Fixes #505 [wiredfool] - Skip CFFI test earlier if it's not installed [wiredfool] - Fixed opening and saving odd sized .pcx files, fixes #523 [wiredfool] - Fixed palette handling when converting from mode P->RGB->P [d_schmidt] - Fixed saving mode P image as a PNG with transparency = palette color 0 [d-schmidt] - Improve heuristic used when saving progressive and optimized JPEGs with high quality values [e98cuenc] - Fixed DOS with invalid palette size or invalid image size in BMP file [wiredfool] - Added support for BMP version 4 and 5 [eddwardo, wiredfool] - Fix segfault in getfont when passed a memory resident font [wiredfool] - Fix crash on Saving a PNG when icc-profile is None [brutasse] - Cffi+Python implementation of the PixelAccess object [wiredfool] - PixelAccess returns unsigned ints for I16 mode [wiredfool] - Minor patch on booleans + Travis [sciunto] - Look in multiarch paths in GNU platforms [pinotree] - Add arch support for pcc64, s390, s390x, armv7l, aarch64 [manisandro] - Add arch support for ppc [wiredfool] - Correctly quote file names for WindowsViewer command [cgohlke] - Prefer homebrew freetype over X11 freetype (but still allow both) [dmckeone]
2014-04-12Tell root directory for required packages to setup.py.obache1-1/+12
2014-04-11Update py-Pillow to 2.3.1.obache2-6/+6
Changelog (Pillow) ================== 2.3.1 (2014-03-14) ------------------ - Fix insecure use of tempfile.mktemp (CVE-2014-1932 CVE-2014-1933) [wiredfool]
2014-01-25Mark packages as not ready for python-3.x where applicable;wiz1-4/+1
either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
2014-01-23Update Pillow to 2.3.0.obache2-11/+7
Changelog (Pillow) ================== 2.3.0 (2014-01-01) ------------------ - Stop leaking filename parameter passed to getfont [jpharvey] - Report availability of LIBTIFF during setup and selftest [cgohlke] - Fix msvc build error C1189: "No Target Architecture" [cgohlke] - Fix memory leak in font_getsize [wiredfool] - Correctly prioritize include and library paths [ohanar] - Image.point fixes for numpy.array and docs [wiredfool] - Save the transparency header by default for PNGs [wiredfool] - Support for PNG tRNS header when converting from RGB->RGBA [wiredfool] - PyQT5 Support [wiredfool] - Updates for saving color tiffs w/compression using libtiff [wiredfool] - 2gigapix image fixes and redux [wiredfool] - Save arbitrary tags in Tiff image files [wiredfool] - Quote filenames and title before using on command line [tmccombs] - Fixed Viewer.show to return properly [tmccombs] - Documentation fixes [wiredfool] - Fixed memory leak saving images as webp when webpmux is available [cezarsa] - Fix compiling with FreeType 2.5.1 [stromnov] - Adds directories for NetBSD. [deepy] - Support RGBA TIFF with missing ExtraSamples tag [cgohlke] - Lossless WEBP Support [wiredfool] - Take compression as an option in the save call for tiffs [wiredfool] - Add support for saving lossless WebP. Just pass 'lossless=True' to save() [liftoff] - LCMS support upgraded from version 1 to version 2, fixes #343 [wiredfool] - Added more raw decoder 16 bit pixel formats [svanheulen] - Document remaining Image* modules listed in PIL handbook [irksep] - Document ImageEnhance, ImageFile, ImageFilter, ImageFont, ImageGrab, ImageMath, and ImageOps [irksep] - Port and update docs for Image, ImageChops, ImageColor, and ImageDraw [irksep] - Move or copy content from README.rst to docs/ [irksep] - Respect CFLAGS/LDFLAGS when searching for headers/libs [iElectric] - Port PIL Handbook tutorial and appendices [irksep] - Alpha Premultiplication support for transform and resize [wiredfool] - Fixes to make Pypy 2.1.0 work on Ubuntu 12.04/64 [wiredfool] 2.2.2 (2013-12-11) ------------------ - Fix #427: compiling with FreeType 2.5.1 [stromnov]
2013-12-28Exactly disable detection of unwanted optional tkinter support.obache4-16/+43
Bump PKGREVISION.
2013-12-27also requires py-Tk (ride previous commit)dholland1-1/+3
2013-12-27Make this build properly with native X: it doesn't find freetype indholland2-2/+8
/usr/X11R7 on its own, and then the PLIST doesn't match, so pass in ${BUILDLINK_PREFIX.freetype2} explicitly. Also, because if you have tk installed it finds it and then fails because it isn't buildlinked, pull in tk and add the tk library to the PLIST. PKGREVISION -> 1
2013-12-07Import py-Pillow-2.2.1 as graphics/py-Pillow.obache4-0/+303
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.