Commit Graph

7448 Commits

Author SHA1 Message Date
tsennott
1eed17c70e tightened up colorize(); split tests; moved tuple comparison fcn to helper.py 2018-07-08 20:09:39 -07:00
tsennott
4a6ec5ca72 updated colorize to allow optional black/white positions; enhanced tests 2018-07-07 18:19:26 -07:00
tsennott
837d868333 updated test to assert equality with reference images 2018-07-07 02:40:25 -07:00
tsennott
b19c460568 fixed mapping function, now smooth 2018-07-06 19:49:07 -07:00
tsennott
3c6fd275c8 added assert for midpoint range 2018-07-06 19:09:57 -07:00
tsennott
adf570a77e adding tests, updated docstring and comments 2018-07-06 18:42:16 -07:00
tsennott
63d8637bb8 adding three-color feature to ImageOps.colorize 2018-07-06 18:18:06 -07:00
Alex Clark
937443f2a6 Update examples … [ci skip]
Update examples and remove "hide old releases" step, N/A on pypi.org.
2018-07-05 18:27:01 -04:00
Hugo
4407cb6507
Update CHANGES.rst 2018-07-02 22:41:16 +03:00
Hugo
a344e7ee4d
Merge pull request #3222 from danpla/tga-test-sanity-la
Add LA to TGA test modes
2018-07-02 22:23:57 +03:00
Hugo
5d751572cc
Merge pull request #2922 from radarhere/fill_ink
Skip outline if the draw operation fills with the same colour
2018-07-02 22:19:35 +03:00
Hugo
959db43d22
Merge pull request #3173 from radarhere/flake8
Flake8 fixes
2018-07-02 21:42:17 +03:00
Hugo
4d88e2852e
Merge pull request #2187 from jdufresne/open-warning
Avoid deprecated 'U' mode when opening files
2018-07-02 21:34:32 +03:00
Andrew Murray
2630054266 Removed unused import 2018-07-02 19:26:07 +10:00
Andrew Murray
c2189235af Line too long 2018-07-02 19:26:02 +10:00
Andrew Murray
ce5d0e72b2 Continuation line under-indented for visual indent 2018-07-02 19:21:44 +10:00
Andrew Murray
0832f9c58b Continuation line unaligned for hanging indent 2018-07-02 19:21:44 +10:00
Andrew Murray
145589ef14 Ambiguous variable name 'l' 2018-07-02 19:21:44 +10:00
Andrew Murray
e7cfa15216 Visually indented line with same indent as next logical line 2018-07-02 19:21:44 +10:00
Andrew Murray
0e61d4be9f Removed unused variables 2018-07-02 19:21:44 +10:00
Andrew Murray
c19d77abed Continuation line under-indented for visual indent 2018-07-02 19:21:44 +10:00
Andrew Murray
32cebddd1e Multiple imports on one line 2018-07-02 19:21:44 +10:00
Andrew Murray
dcf6bc047b Do not use bare except 2018-07-02 19:21:44 +10:00
Andrew Murray
aeab86c005 Too many blank lines 2018-07-02 19:21:44 +10:00
Andrew Murray
58cc23695d Continuation line over-indented for visual indent 2018-07-02 19:21:44 +10:00
Andrew Murray
e7815ccd62 Block comment should start with '# ' 2018-07-02 19:21:44 +10:00
Andrew Murray
fe42591f5f Removed redundant backslash between brackets 2018-07-02 19:20:48 +10:00
Andrew Murray
5a33e02072 Commented unused variable 2018-07-02 19:20:48 +10:00
Andrew Murray
bf29960283 Fixed multiple spaces after operator 2018-07-02 19:20:48 +10:00
Hugo
ae9f62040d 5.3.0.dev0 version bump 2018-07-02 10:26:56 +03:00
Daniel Plakhotich
adfcbc9478 Add LA to TGA test modes 2018-07-02 00:50:02 +03:00
Hugo
c28bf86b7e 5.2.0 version bump 2018-07-01 22:40:29 +03:00
Hugo
07ce239a87
Merge pull request #3220 from python-pillow/release-notes-5-2-0
5.2.0 release notes
2018-07-01 22:26:19 +03:00
Hugo
a2c6a5a38e Update CHANGES, image-file-formats and release notes [CI skip] 2018-07-01 22:24:35 +03:00
Hugo
c222df2b56
Merge pull request #3137 from radarhere/pdf
Fixed saving a multiframe image as a single frame PDF
2018-07-01 22:18:48 +03:00
Hugo
8e3c450de2
Merge pull request #3143 from radarhere/qt
If a Qt version is already imported, attempt to use it first
2018-07-01 22:16:05 +03:00
Hugo
be29d02652
Merge pull request #3147 from fozcode/fix-fillcolor
Fix transform fill color for alpha images
2018-07-01 22:14:24 +03:00
Hugo
c4f43b5b4c Mention the other two version PRs 2018-07-01 22:02:58 +03:00
Alex Clark
b9a62707a3 Note reference to deprecations [ci skip] 2018-07-01 22:02:58 +03:00
Alex Clark
2302b261b7 WS removal [ci skip] 2018-07-01 22:02:58 +03:00
Hugo
af552801c2
Merge pull request #3186 from danpla/tga-write-rle
TGA: Add support for writing RLE data
2018-07-01 22:00:03 +03:00
Hugo
80d399a485
Merge pull request #3178 from danpla/tga-la
TGA: Read and write LA data
2018-07-01 21:57:10 +03:00
Hugo
241ea6b283
Merge pull request #3196 from tkoeppe/avg_fix
[QuantOctree.c] Remove erroneous attempt to average over an empty range
2018-07-01 21:45:46 +03:00
Hugo
c93bc51c5b
Merge pull request #3202 from radarhere/icns
Changed ICNS format tests to pass on OS X 10.11
2018-07-01 21:41:58 +03:00
Hugo
abae745da1
Merge pull request #3114 from tianyu139/hotfix
Fixed bug in ImageDraw.multiline_textsize()
2018-07-01 21:34:45 +03:00
Hugo
490464010a
Merge pull request #3113 from tianyu139/develop
Added getsize_multiline support for PIL.ImageFont
2018-07-01 21:33:21 +03:00
Hugo
d97e16c903
Merge pull request #3190 from radarhere/mimetype
Added ImageFile get_format_mimetype method
2018-07-01 21:19:57 +03:00
Hugo
cebcc06a1b
Merge pull request #3216 from radarhere/mmap
Changed mmap file pointer to use context manager
2018-07-01 20:59:54 +03:00
Hugo
40a0398657
Add spacing 2018-07-01 20:55:53 +03:00
Hugo
488161ebba
flake8 2018-07-01 20:54:12 +03:00