Alexander
accc66fb5e
add support for RGBaXX and RGBaX raw tiff modes
2018-09-05 17:45:03 +03:00
Alexander
ad5cf0a0e2
Add RGBAX and RGBAXX tiff modes
2018-09-05 17:36:27 +03:00
Jon Dufresne
37f10651bd
Clean up commented out debug print statements
2018-09-04 20:02:42 -07:00
Jon Dufresne
7e67b9c58f
Use TextIOWrapper.detach() instead of NoCloseStream
...
Usage and this pattern is discussed in Python bug: https://bugs.python.org/issue21363
2018-09-04 19:30:36 -07:00
yo1995
bb77f62586
fix typo: proceeded -> processed
2018-09-04 21:15:25 -04:00
Konstantin Kopachev
f3edf52900
Convert unsupported WebP mode to RGB as .convert supports more src modes
2018-09-04 11:00:29 -07:00
yo1995
3cf1a4ea87
improved comments and one logic according to PR 3294 discussion
2018-09-04 12:03:20 -04:00
Hugo
fbe5bdb6b6
Also apply width to pieslice's inner lines
2018-09-01 14:40:36 +03:00
Andrew Murray
5e2d6c951a
Merge branch 'master' into perfperf-improv-ImageDraw-floodfill
2018-09-01 20:58:53 +10:00
Andrew Murray
4a34116be5
Removed duplicate code
2018-09-01 18:30:04 +10:00
Andrew Murray
0411caba67
Catch ValueError when processing the edge of an image
2018-09-01 17:18:13 +10:00
Andrew Murray
fda3db6494
Merge pull request #3273 from radarhere/imagefilter
...
Changed Kernel to subclass BuiltinFilter
2018-09-01 09:45:43 +10:00
Andrew Murray
fbc121d678
Changed GIF seek to remove previous info items
2018-09-01 09:28:22 +10:00
Hugo
2d6f0f77da
Fix typo
2018-08-25 19:06:11 +03:00
Hugo
29b2c6e23d
Only import cffi where needed, to avoid problems with PYTHONOPTIMIZE=2
2018-08-25 19:06:11 +03:00
Hugo
d7e4d3db3f
Convert assert into exception
2018-08-25 19:06:11 +03:00
Hugo
fc8717fb04
Remove docstring formatting for when PYTHONOPTIMIZE=2
2018-08-25 19:06:11 +03:00
Hugo
3cf6ad1895
Remove ununsed font_getabc
2018-08-25 18:56:50 +03:00
Hugo
6fc1e79e96
Remove ununsed draw_point. Only draw_points is used by ImageDraw.py
2018-08-25 18:56:50 +03:00
Hugo
bdf2705cd3
Remove ununsed draw_line. Only draw_lines is used by ImageDraw.py
2018-08-25 18:56:50 +03:00
Andrew Murray
3ae5f05410
Changed Kernel to subclass BuiltinFilter, instead of the other way around
2018-08-25 23:30:47 +10:00
Andrew Murray
36b1afff26
Fixed None as TIFF compression argument
2018-08-25 08:21:43 +10:00
Andrew Murray
fc57658635
Added PDF creation and modification date info
2018-08-25 00:58:49 +10:00
Andrew Murray
f5740dc305
Set PDF title to filename by default
2018-08-25 00:58:49 +10:00
Andrew Murray
e98469ecf6
Added transparency to matrix conversion
2018-08-25 00:54:51 +10:00
Andrew Murray
f0a5946c6e
Fixed implicit conversion warnings
2018-08-25 00:54:29 +10:00
Andrew Murray
df328a89a4
Added PySide2
2018-08-25 00:51:50 +10:00
Konstantin Kopachev
0704367952
Add more parenthesis to make statement clearer
2018-08-12 21:44:25 -07:00
Andrew Murray
e3aaa80c06
Added NumPy to documentation
2018-08-12 13:58:26 +10:00
Andrew Murray
046df78448
Fixed typos
2018-08-11 16:39:49 +10:00
Konstantin Kopachev
84b32a0388
Read/Save RGB webp as RGB (instead of RGBX)
2018-08-09 11:40:10 -07:00
Andrew Murray
1648676435
Fixed typo [ci skip]
2018-08-09 20:54:16 +10:00
yo1995
a221420ec3
fixe typo
2018-08-06 19:36:18 +08:00
yo1995
8676044a27
fix docstring tab
2018-08-06 18:47:49 +08:00
yo1995
24388addb6
feature improvement: improved performance of ImageDraw.floodfill with Python built-in set() datatype.
2018-08-06 18:13:57 +08:00
Alexander Karpinsky
90a94e7dae
Merge pull request #3219 from DerDakon/invalid-free
...
Avoid invalid free if out of memory
2018-07-22 17:06:35 +03:00
Hugo
f70f952f85
Merge branch 'master' into add-width-to-shapes
2018-07-14 14:58:48 +03:00
Andrew Murray
448beaa9aa
Improved wording [ci skip]
2018-07-12 19:48:59 +10:00
tsennott
50d6611587
moved tuple test to assert method in PillowTestCase; added docs
2018-07-09 07:04:48 -07:00
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
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
Rolf Eike Beer
b565f45d77
avoid invalid free if out of memory
...
The surrounding code suggests this should only be freed if it was allocated
locally.
2018-07-04 20:40:12 +02: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
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
32cebddd1e
Multiple imports on one line
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
d6e3ef85c2
Add width parameter to arc, chord, ellipse, pieslice
2018-07-02 11:26:42 +03:00
Hugo
9dedbff713
Add width parameter to rectangle
2018-07-02 11:21:30 +03:00
Hugo
ae9f62040d
5.3.0.dev0 version bump
2018-07-02 10:26:56 +03:00
Hugo
c28bf86b7e
5.2.0 version bump
2018-07-01 22:40:29 +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
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
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
Jon Dufresne
1ba14783d2
Avoid deprecated 'U' mode when opening files
...
Instead, use PSFile() wrapper to handle all newline in the EPS spec.
Update line ending tests to handle all combinations of '\n' and '\r'.
Fixes warning "DeprecationWarning: 'U' mode is deprecated" in tests.
2018-07-01 08:07:59 -07:00
Martin Thoma
32e721498a
Use cls instead of klass as first argument
...
This is captured by N804 / https://www.python.org/dev/peps/pep-0008/?#function-and-method-arguments
of PEP8
2018-07-01 14:10:58 +02:00
Alex Clark
17be81f53d
Merge pull request #3218 from hugovk/update-docstrings
...
Update docstrings
2018-07-01 07:50:07 -04:00
Hugo
2b09e7fa6a
Merge pull request #3099 from uploadcare/lut-numpy
...
NumPy support for LUTs
2018-07-01 13:18:03 +03:00
Hugo
d52fd2b79b
Merge pull request #3217 from radarhere/pop
...
Simplified dictionary pop
2018-07-01 12:49:32 +03:00
Hugo
36be37c5c5
update package and version module docstrings
...
Co-authored-by: gnbl <gnbl@github>
2018-07-01 10:45:08 +03:00
Hugo
bc192c6cfe
Merge pull request #3142 from radarhere/ellipse
...
Changed ellipse point calculations to be more evenly distributed
2018-07-01 08:44:17 +03:00
Hugo
87d38a6dde
Merge pull request #2946 from hugovk/2944-exif
...
Only extract first Exif segment
2018-07-01 07:53:17 +03:00
Hugo
5dda23d547
Merge pull request #3135 from hugovk/test-imagedraw2
...
Test ImageDraw2
2018-07-01 07:48:54 +03:00
Hugo
52e3ecb5e1
Merge pull request #3075 from hugovk/rm-if-0
...
Remove unnecessary '#if 0' code
2018-07-01 07:48:12 +03:00
Andrew Murray
4d59941608
Simplified dictionary pop
2018-07-01 14:47:48 +10:00
Andrew Murray
c971bac651
Changed mmap file pointer to use context manager
2018-07-01 12:19:30 +10:00
Andrew Murray
dbf899fb78
Removed manual determination of mmap file length
2018-07-01 12:09:23 +10:00
Alex Clark
eafbb395a9
Merge pull request #1817 from radarhere/gd
...
Added GD tests
2018-06-30 18:01:36 -04:00
Alex Clark
9e5494e9a6
Merge pull request #3123 from hugovk/collections.abc-deprecationwarning
...
Fix collections ABCs DeprecationWarning in Python 3.7
2018-06-30 18:00:10 -04:00
Hugo
2be5c035fb
Merge pull request #3201 from landfillbaby/patch-1
...
unpack_from is faster than unpack of slice
2018-06-30 23:12:43 +03:00
Andrew Murray
6793b5bbd5
Added ImageFile get_format_mimetype method
2018-06-30 21:08:41 +10:00
Hugo
9cd9344dca
Merge pull request #3207 from radarhere/typo
...
Fixed typo
2018-06-30 10:59:47 +03:00
Andrew Murray
d9653a48c7
Added file handling links in documentation
2018-06-30 16:44:59 +10:00
Andrew Murray
3a70f4b8fc
Fixed typo
2018-06-26 22:07:40 +10:00
Lucy Phipps
98cff5320a
unpack_from is faster than unpack of slice
2018-06-24 18:00:22 +01:00
Andrew Murray
7274636a7e
Added coordinate system links in documentation
2018-06-24 14:34:01 +10:00
Thomas Köppe
6c0d1e0f15
[QuantOctree.c] Remove erroneous attempt to average over an empty range.
2018-06-21 12:45:54 +01:00
Daniel Plakhotich
1d20056234
TGA: Add support for writing RLE data
2018-06-15 23:01:06 +03:00
Daniel Plakhotich
39fae6e077
TGA: Read and write LA data
2018-06-14 12:18:08 +03:00
Hugo
3c032a3809
Merge pull request #3171 from radarhere/save
...
Corrected argument name in documentation
2018-06-14 09:31:31 +03:00
Hugo
aaa2560374
Merge pull request #3164 from radarhere/fill
...
Improved Image.transform documentation
2018-06-14 09:27:37 +03:00
Hugo
48dda53c12
Merge pull request #3163 from radarhere/fillcolor
...
Fixed transform fillcolor argument when image mode is RGBA or LA
2018-06-14 09:25:00 +03:00
Andrew Murray
a73dcf42ad
Corrected argument name in documentation
2018-06-12 04:42:25 +10:00
Andrew Murray
ae2ffb8a05
Fixed transform fillcolor argument when image mode is RGBA or LA
2018-06-12 04:41:46 +10:00
Andrew Murray
62c870f5cf
Fixed raising of no exception
2018-06-12 04:41:31 +10:00
Andrew Murray
15a4aaec7c
Improved Image.transform documentation [ci skip]
2018-06-08 22:04:13 +10:00
Andrew Murray
1947d65c7b
Removed unnecessary init method
2018-06-03 16:43:30 +10:00
Andrew Murray
30b292c6d8
Corrected argument name in documentation
2018-06-01 20:18:41 +10:00
Hugo
9050b47169
Not in this version, not in any version
2018-05-31 15:11:50 +03:00
Andrew Murray
3d82672404
Added getrgb hsb color string
2018-05-31 06:14:29 +10:00
Andrew Murray
b50f63430f
Added getrgb hsv color string
2018-05-31 06:13:22 +10:00
Andrew Murray
adda3b7473
Allow float values in getrgb hsl color string
2018-05-30 21:00:44 +10:00
Andrew Murray
821862c401
If a Qt version is already imported, attempt to use it first
2018-05-29 21:21:53 +10:00
Andrew Murray
8d8d00f304
Changed ellipse point calculations to be more evenly distributed
2018-05-27 15:32:22 +10:00
Andrew Murray
3bbd0a5810
Fixed saving a multiframe image as a single frame PDF
2018-05-18 22:15:45 +10:00
Hugo
3dbd4fb9e8
Fix DeprecationWarning in Python 3.7
2018-05-06 15:31:43 +03:00
Andrew Murray
765a6c7e74
Updated redirected URLs
2018-04-30 14:20:32 +10:00
Andrew Murray
f77adb5ab3
Replaced broken URLs with archive URLs
2018-04-30 11:01:09 +10:00
Hugo
de6baf65f3
Clarify PILLOW_VERSION will be removed after VERSION
2018-04-25 11:24:50 +03:00
Hugo
ef9bf76ce8
PILLOW_VERSION will be removed in a future release
2018-04-25 11:24:50 +03:00
Hugo
34d66494ca
Keep Image.VERSION here
2018-04-25 11:21:38 +03:00
Hugo
d80ed2e948
Deprecate PILLOW_VERSION and VERSION, use __version__ instead
2018-04-25 11:21:38 +03:00
Hugo
e33dd498f5
Prefer more conventional __version__ rather than PILLOW_VERSION
2018-04-25 11:21:38 +03:00
tianyu
d6926009d0
Fixed bug: ImageDraw.multiline_textsize() returning wrong size by adding extra spacing
2018-04-24 22:54:27 +08:00
tianyu
b77e89b286
Added getsize_multiline support for ImageFont
2018-04-24 22:26:52 +08:00
Alexander
997e554593
Revert ValueErrors to RuntimeErrors in ImageMorph module
2018-04-22 20:52:38 +03:00
Alexander Karpinsky
dddeecc945
Merge pull request #3055 from uploadcare/imagemorph-type-check
...
Fix incorrect image type checking in _imagingmorph module
2018-04-22 20:10:34 +03:00
Alexander
101c095e99
Add tests for wrong types
2018-04-22 19:51:57 +03:00
Hugo
04a1f71b4c
Merge pull request #3105 from radarhere/py3
...
Change Python version checks to use util
2018-04-22 18:37:33 +03:00
Andrew Murray
57c7a51b51
Renamed CLIP to CLIP8
2018-04-21 18:14:05 +10:00
Andrew Murray
99dcc57720
Moved CLIP definitions into ImagingUtils.h
2018-04-21 16:35:58 +10:00
Andrew Murray
eebe3ea923
Corrected undefined behaviour
2018-04-21 13:42:39 +10:00
Andrew Murray
b4e6cdadac
Added py3 variable to _util
2018-04-20 09:19:13 +10:00
Andrew Murray
bf77bba323
Changed dictionary comprehension style
2018-04-18 16:00:57 +10:00
Andrew Murray
cbc056f43d
Fixed whitespace
2018-04-18 16:00:57 +10:00
Andrew Murray
06f4cd62ad
Removed redundant backslashes
2018-04-18 16:00:18 +10:00
Andrew Murray
30c9ca15fb
Fixed docstrings
2018-04-18 16:00:17 +10:00
Alexander
d117026511
fix float16tofloat32
2018-04-15 01:46:26 +03:00
Alexander
4c983674c0
avoid compilation varnings
2018-04-15 01:20:57 +03:00
Alexander
497e9d8251
full buffer support
2018-04-15 00:33:15 +03:00
Alexander
2c87242027
Support for many many LUT source on C level
2018-04-14 23:12:28 +03:00
Alexander
5ec1b2e8ba
versionadded
2018-04-14 18:48:06 +03:00
Alexander
c8405ef706
Transparently store numpy arrays in ColorLut
2018-04-14 18:16:28 +03:00
Alexander Karpinsky
b01ba0f50c
Merge pull request #3091 from uploadcare/lut-alter
...
Transforming LUTs
2018-04-14 18:08:52 +03:00
Alexander
aba478abba
Raise error if it is occurred during conversion in getlist
2018-04-14 17:13:05 +03:00
Alexander
854a0d6044
edit doctring [ci skip]
2018-04-14 15:03:34 +03:00
Alexander
68af72bef4
edit doctring [ci skip]
2018-04-13 10:07:51 +03:00
Alexander
d9b8d970b2
edit doctring [ci skip]
2018-04-12 23:42:47 +03:00
Alexander
daa8e7dacd
Add earlier catching of wrong channels count
2018-04-12 12:40:40 +03:00
Alexander
1a371e572c
update repr method
2018-04-12 12:10:28 +03:00
Alexander
75c76d91e1
Add repr for Color3DLUT
2018-04-12 11:54:54 +03:00
Alexander
70c453b857
rename alter() to transform()
...
add with_normals argument
docstring
2018-04-11 16:17:10 +03:00