Commit graph

15 commits

Author SHA1 Message Date
adam
fe0fbc64d0 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-07-03 07:44:00 +00:00
adam
ae5878d4e3 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
2018-04-03 09:24:19 +00:00
adam
1c6fc43370 py-Pillow: updated to 5.0.0
5.0.0:
Docs: Added docstrings from documentation
Test: Switch from nose to pytest
Rework Source directory layout, preventing accidental import of PIL.
Dynamically link libraqm
Removed scripts directory
TIFF: Run all compressed tiffs through libtiff decoder
GIF: Add disposal option when saving GIFs [linnil1, wiredfool]
EPS: Allow for an empty line in EPS header data
PNG: Add support for sRGB and cHRM chunks, permit sRGB when no iCCP chunk present
Dependencies: Update Tk Tcl to 8.6.8
Decompression bomb error now raised for images 2x larger than a decompression bomb warning
Test: avoid random failure in test_effect_noise
Increased epsilon for test_file_eps.py:test_showpage due to Arch update.
Removed check parameter from _save in BmpImagePlugin, PngImagePlugin, ImImagePlugin, PalmImagePlugin, and PcxImagePlugin.
Make PngImagePlugin.add_text() zip argument type bool
Depends: Updated libwebp to 0.6.1
Remove unnecessary bool() calls in Image.registered_extensions and skipKnownBadTests
Fix count of BITSPERSAMPLE items in broken TIFF files
Fillcolor parameter for Image.Transform
Test: Display differences for test failures
Added executable flag to file with shebang line
Setup: Specify compatible Python versions for pip
Dependencies: Updated libimagequant to 2.11.4
Setup: Warn if trying to install for Py3.7 on Windows
Doc: Fonts can be loaded from a file-like object, not just filename [robin-norwood]
Add eog support for Ubuntu Image Viewer [NafisFaysal]
Test: Test on 3.7-dev on Travis.ci
Dependencies: Update libtiff to 4.0.9
Setup: Replace deprecated platform.dist with file existence check
Build: Fix setup.py on Debian
Docs: Correct error in ImageDraw documentation
Test: Drop Ubuntu Precise, Fedora 24, Fedora 25, add Fedora 27, Centos 7, Amazon v2 CI Support,,,
Dependencies: Updated libimagequant to 2.11.3
Test: Fix test_image.py to use tempfile
Replace PIL.OleFileIO deprecation warning with descriptive ImportError
WebP: Add support for animated WebP files [jd20]
PDF: Set encoderinfo for images when saving multi-page PDF. Fixes.
Allow the olefile dependency to be optional
GIF: Permit LZW code lengths up to 12 bits in GIF decode
Fix unterminiated string and unchecked exception in _font_text_asBytes.
PPM: Use fixed list of whitespace, rather relying on locale, fixes.
Added support for generators when using append_images,
Doc: Correct PixelAccess.rst
Depends: Update raqm to 0.3.0
Docs: Link to maintained version of aggdraw
Include license file in the generated wheel packages
Depends: Update openjpeg to 2.3.0
Add option to Makefile to build and install with C coverage
Add context manager support to ImageFile.Parser and PngImagePlugin.ChunkStream
ImageDraw.textsize: fix zero length error
2018-01-04 20:59:49 +00:00
adam
719bbab2c1 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-07-03 21:51:57 +00:00
adam
e0df213d20 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
2017-01-29 12:46:45 +00:00
wen
66d4112e8a 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-08-13 08:07:22 +00:00
leot
39bda417f4 Update graphics/py-Pillow to 3.2.0
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-21 08:13:50 +00:00
adam
2e348597d5 Changes 3.0.0:
* Saving Multipage Images
* Tiff ImageFileDirectory Rewrite
* Deprecated Methods
* LibJpeg and Zlib are Required by Default
2015-10-18 15:47:10 +00:00
adam
2a86c8ac39 Changes 2.9.0:
- 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-07-07 14:29:50 +00:00
adam
df24f7e1b4 Changes 2.6.1:
- Fix SciPy regression for in Image.resize
- Fix manifest to include all test files
2014-11-30 10:11:31 +00:00
obache
dc2476c682 Update Pillow to 2.5.0.
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-07-06 12:15:53 +00:00
obache
cfd3241c5e Update py-Pillow to 2.4.0.
* 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-18 13:00:49 +00:00
obache
ddd0a40116 Exactly disable detection of unwanted optional tkinter support.
Bump PKGREVISION.
2013-12-28 02:53:46 +00:00
dholland
0afdafb9fc Make this build properly with native X: it doesn't find freetype in
/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-27 10:02:35 +00:00
obache
172a313003 Import py-Pillow-2.2.1 as graphics/py-Pillow.
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.
2013-12-07 12:56:52 +00:00