Commit Graph

4865 Commits

Author SHA1 Message Date
wiredfool
bc0a54b12d Updated Changes.rst (cve number) [ci skip] 2015-01-26 09:02:27 -08:00
Benjamin Gilbert
77b020b374 Special-case opaque pixels in RGBa unpacker
Avoid the expensive multiply and divide when the pixel is opaque.
On my system, this change gives a 5.76x speedup loading an opaque image
with this call:

    PIL.Image.frombuffer('RGBA', (1000, 1000), buf, 'raw', 'RGBa', 0, 1)
2015-01-24 01:13:58 -05:00
Hugo
adad71c759 Merge pull request #1081 from wiredfool/zipsafe
Turn off zip-safe flag for debug builds
2015-01-21 09:28:30 +02:00
Eric Soroos
5061f7bdde Turn off zip-safe flag for debug builds 2015-01-20 15:00:58 -08:00
Hugo
52734ebd00 Update CHANGES.rst [CI skip] 2015-01-19 11:47:31 +02:00
Hugo
4198a580cf Merge pull request #1079 from wiredfool/maxblock
Adjust buffer size when quality=keep, fixes #148 (again)
2015-01-19 11:46:48 +02:00
wiredfool
1e040feb1b Adjust buffer size when quality=keep, fixes #148 (again) 2015-01-18 10:56:29 -08:00
wiredfool
fbc33970dd Merge pull request #1078 from kmike/png-docs
DOC document compress_level option of Image.save for PNG images
2015-01-15 19:07:12 -08:00
Mikhail Korobov
4713b41ed7 DOC document compress_level Image.save PNG option. 2015-01-15 23:14:30 +05:00
Hugo
264f5d0d96 Update CHANGES.rst [CI skip] 2015-01-08 10:40:22 +02:00
Hugo
efeca060a3 Merge pull request #1072 from wiredfool/pr960
Fix for corrupted bitmaps embedded in truetype fonts.
2015-01-08 10:38:06 +02:00
wiredfool
7937ac1dfb Merge pull request #1071 from Arnie97/patch-1
Changes "import Image" to "from PIL import Image".
2015-01-07 21:46:20 -08:00
wiredfool
8b7b297aba rearranged comments 2015-01-07 21:38:36 -08:00
wiredfool
8cb58bbd72 Fix bitmap tests to account for different metrics for bitmap and ttf fonts on some platforms 2015-01-07 21:38:36 -08:00
Yifu Yu
14a9bba962 Make bitmap test runnable as a standalone. 2015-01-07 21:38:36 -08:00
Yifu Yu
20642d67cc Remove unused StringIO.
StringIO does not exists on py3, which leads to failure of building.
2015-01-07 21:38:36 -08:00
Yifu Yu
152c8afcd3 Change bitmap test suite.
Strangely, the bitmap version of DejaVu Sans is always vertical
one pixer longer.
2015-01-07 21:38:36 -08:00
Yifu Yu
b2e10d25f6 Testcase added. 2015-01-07 21:38:35 -08:00
Yifu Yu
307726edc0 Close #891: a dirty solution to embedded bitmap fonts.
Since embedded bitmap font works incorrectly, we should avoid using
them, until a final patch is available and tested. I've added
`FT_LOAD_NO_BITMAP` to ALL(3) places in `_imagingft.c`, which did
(not much) actually fixed the issue. A notice has also been added to
`_imagingft.c`.
2015-01-07 21:38:35 -08:00
Arnie97
192e445b6e Changes "import Image" to "from PIL import Image". 2015-01-08 13:09:45 +08:00
wiredfool
ede3e81877 Merge pull request #1070 from kmike/doc-fixes
Minor doc fixes
2015-01-06 21:32:22 -08:00
Mikhail Korobov
68504305d0 DOC fix a Sphinx warning
:keyword: is for function arguments, not for Python keywords.
And True is not even a Python keyword.
2015-01-07 04:17:22 +05:00
Mikhail Korobov
52cbd123a2 DOC fix "Write Your Own File Decoder" link in Image API docs 2015-01-07 04:12:37 +05:00
wiredfool
e8e2482292 Merge pull request #1069 from kmike/patch-1
DOC add a missing header markup
2015-01-06 14:53:45 -08:00
Mikhail Korobov
5e9b770ddb DOC add a missing header markup 2015-01-07 03:39:57 +05:00
Hugo
7d3d0b18ed Re-encrypt AUTH-TOKEN inside python-pillow/Pillow
Instead of inside the hugovk/Pillow repo.

travis login --auto
travis token
travis encrypt AUTH_TOKEN=<your_travis_token>
2015-01-04 22:01:32 +02:00
Hugo
ffe78548e0 Merge pull request #1068 from hugovk/build-pillow-wheels
Fix repo name in curl
2015-01-04 21:32:52 +02:00
hugovk
94bfd0aacd Fix repo name in curl 2015-01-04 21:30:50 +02:00
wiredfool
ce9b6a432f Merge pull request #1067 from hugovk/build-pillow-wheels
Run OS X tests after successful Linux build
2015-01-04 11:10:12 -08:00
hugovk
3330dbad67 Add missing ] 2015-01-04 20:19:56 +02:00
hugovk
0cee278662 TRAVIS_BRANCH=master also for PRs submitted to master, so also make sure TRAVIS_PULL_REQUEST=false 2015-01-04 18:47:03 +02:00
hugovk
b23b3f3015 hugovk -> python-pillow 2015-01-04 11:55:06 +02:00
hugovk
b65ca089e5 Only do travis_after_all for hugovk/Pillow/master 2015-01-04 11:29:02 +02:00
hugovk
ba74339899 Move after_all to end of after_success 2015-01-04 11:12:36 +02:00
hugovk
76f8a26c47 Use travis_after_all to ensure OS X build only triggered after all Linux jobs pass 2015-01-04 10:47:35 +02:00
hugovk
832c42da74 After success, trigger a build at hugovk/pillow-wheels/latest 2015-01-04 10:16:20 +02:00
wiredfool
2f1f73a768 Updated Changes.rst [ci skip] 2015-01-02 14:49:15 -08:00
wiredfool
2500ded15d Update 2.7.0.rst [ci skip] 2015-01-02 14:46:35 -08:00
wiredfool
11dc87e85d Merge pull request #1066 from radarhere/patch-1
Update Release Notes (typo) [ci skip]
2015-01-02 14:17:29 -08:00
Andrew Murray
7a7ccee5ed Update Release Notes (typo) [ci skip] 2015-01-03 09:13:57 +11:00
wiredfool
c5ce6e0405 Update Release Notes (typo) [ci skip] 2015-01-01 13:06:39 -08:00
wiredfool
0f05eb287a Version Bump --2.7.0 2014-12-31 20:42:57 -08:00
wiredfool
059a00eefa Merge pull request #1064 from wiredfool/font-tests
Restrict tests to linux/osx
2014-12-31 20:14:14 -08:00
wiredfool
36450368b4 Merge pull request #1063 from wiredfool/scipy-test
Fixed array parameters to reflect new image resizing behavior
2014-12-31 20:13:59 -08:00
wiredfool
8c32ec3a8b Merge pull request #1061 from wiredfool/release-notes
Release notes
2014-12-31 20:13:08 -08:00
wiredfool
96c06de695 Restrict tests to linux/osx 2014-12-31 19:59:50 -08:00
wiredfool
ca4ec0cea2 Fixed array parameters to reflect new image resizing behavior 2014-12-31 17:17:42 -08:00
wiredfool
80c7dcbce4 Release notes for PNG dos, Tiff parameter change 2014-12-31 16:36:24 -08:00
wiredfool
6a7a6fbdb8 Fixed warning on docs building (url can't wrap), added parameters 2014-12-31 16:35:56 -08:00
wiredfool
4889ae776c Updated Changes.rst [ci skip] 2014-12-31 14:44:32 -08:00