Commit Graph

10936 Commits

Author SHA1 Message Date
Björn Pedersen
31be9f12ad Add tests for tiff float tag values
Add tests for writing of float/double values in tiff file tags.
2015-02-23 10:52:27 +01:00
Björn Pedersen
61fb1c5bd4 Tiff: allow writing floating poitn tag values
Use the inverse logic used for loading floating point tag
values to also write them out again.
2015-02-23 09:46:35 +01:00
wiredfool
0bc24cb213 Merge pull request #1110 from radarhere/master
Early webp versions are more lossy.
2015-02-14 12:24:00 -08:00
Hans-Peter Jansen
be30160d57 early versions of webp are known to produce higher deviations: deal with it 2015-02-14 23:50:25 +11:00
Chris Adams
5ec6fcdeaa Tidy docs for DecompressionBombWarning
* Fix formatting to display simplefilter examples as code blocks rather
  than italics
* Wrap text so it's not one incredibly long line
2015-02-10 13:15:47 -05:00
wiredfool
43830273a5 Merge pull request #1106 from hugovk/test_tiff_dict
Fix TIFF test for PyPy 2.5.0
2015-02-09 11:32:34 -08:00
hugovk
d12acfee84 Test as_dict() directly instead of as string. Fix for PyPy. 2015-02-08 19:09:39 +02:00
wiredfool
8c88a4d8d3 Update CHANGES.rst [ci skip] 2015-02-05 22:34:13 -08:00
wiredfool
b384a7f992 Merge pull request #1088 from bgilbert/opaque-RGBa
Fast path for opaque pixels in RGBa unpacker
2015-02-05 22:32:58 -08:00
wiredfool
cfbb2b3618 Update CHANGES.rst [ci skip] 2015-02-05 22:29:48 -08:00
wiredfool
66c3d2f6b0 Merge pull request #1096 from immerrr/rgba-premultiplied-codecs
Enable basic support for 'RGBa' raw encoding/decoding
2015-02-05 22:28:51 -08:00
immerrr
d41fed6732 Enable basic support for 'RGBa' raw encoding/decoding 2015-02-02 13:06:56 +03:00
wiredfool
5fa52f8891 Updated Changes.rst [ci skip] 2015-01-30 11:41:22 -08:00
wiredfool
d80c27dc3f Merge pull request #1095 from hugovk/pickle_L_mode
Fix pickling L mode images with no palette
2015-01-30 11:39:50 -08:00
Hugo
70e1db9c9c Update CHANGES.rst [CI skip] 2015-01-30 14:38:13 +02:00
Hugo
95e9379f45 Merge pull request #1091 from wiredfool/repr_png
iPython display hook
2015-01-30 14:37:03 +02:00
hugovk
0f89322216 When unpickling, only put palette if there is one 2015-01-30 14:04:35 +02:00
hugovk
7823197fdd Failing tests to pickle L mode images 2015-01-30 14:00:46 +02:00
wiredfool
8ebdc5b64d Comment typo [ci skip] 2015-01-28 20:23:15 -08:00
wiredfool
8c2a7502a4 Correct the name 2015-01-28 10:02:04 -08:00
wiredfool
05fe86654c Added _repr_png method for ipython display hooks 2015-01-28 09:35:31 -08:00
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