Commit Graph

8210 Commits

Author SHA1 Message Date
Andrew Murray
d8dfc6fc1c Removed unnecessary line 2018-09-15 07:29:21 +10:00
Andrew Murray
e94878c8a8 Simplified duplicate code 2018-09-15 06:26:40 +10:00
Andrew Murray
bd069ae1ab
Merge pull request #3348 from radarhere/patch-1
From KeyError to ValueError when saving image
2018-09-11 19:38:14 +10:00
Giovanni Cavallin
e5160bd373 From KeyError to ValueError when saving image
When saving an image, if the extension is not determined it raises a ValueError (while internally it manages a KeyError) so I propose this change
2018-09-11 19:32:47 +10:00
Andrew Murray
37f0e9595c Update CHANGES.rst [ci skip] 2018-09-10 21:10:11 +10:00
Hugo
a61cf12421
Merge pull request #3272 from hsoft/parallel-builds
Fix builds with --parallel
2018-09-10 13:06:18 +03:00
Andrew Murray
cb8613ad2a Update CHANGES.rst [ci skip] 2018-09-10 19:43:40 +10:00
Andrew Murray
dd2698f00e
Merge pull request #3335 from uploadcare/more-tiff-modes
Add more raw Tiff modes (RGBaX, RGBaXX, RGBAX, RGBAXX)
2018-09-10 19:42:09 +10:00
Hugo
64f5fbbdcf
Merge pull request #22 from radarhere/add-width-to-shapes
Removed less than condition
2018-09-09 09:54:23 +03:00
Andrew Murray
558e70d8cd Removed less than condition 2018-09-09 13:57:01 +10:00
Alexander
a95e57af46 Wrong raw mode for YCbCr with two extra channels 2018-09-08 18:21:02 +03:00
Andrew Murray
d71eacd769 Update CHANGES.rst [ci skip] 2018-09-08 23:39:57 +10:00
Hugo
9a420fc6ca
Merge pull request #3341 from radarhere/webp_fp
Close existing WebP fp before setting new fp
2018-09-08 16:36:57 +03:00
Andrew Murray
9d9da79caa Close existing fp before setting new fp 2018-09-08 23:08:17 +10:00
Hugo
2780f8f4a4
Update CHANGES.rst
[CI skip]
2018-09-08 13:13:53 +03:00
Hugo
79552080ab
Merge pull request #3327 from radarhere/tga
Added orientation, compression and id_section as TGA save keyword arguments
2018-09-08 13:13:13 +03:00
Andrew Murray
a9d504e91d Renamed idlen variable to id_len 2018-09-08 19:02:03 +10:00
Andrew Murray
83216b96de Update CHANGES.rst [ci skip] 2018-09-08 18:00:44 +10:00
Hugo
1defb1aceb
Merge pull request #3338 from radarhere/int_dpi
Convert int values of RATIONAL TIFF tags to floats
2018-09-08 10:55:16 +03:00
Andrew Murray
325ca3cede Trim id_section if it is greater than 255 characters 2018-09-08 08:26:32 +10:00
Andrew Murray
9e4c54e10f Added orientation, compression and id_section as keyword arguments 2018-09-08 08:12:26 +10:00
Andrew Murray
0a44d58314 Convert int values of RATIONAL TIFF tags to floats 2018-09-07 20:35:55 +10:00
wiredfool
4cfcc3b010 Tests for issue #1765 2018-09-07 20:32:54 +10:00
Andrew Murray
41954f2447 Update CHANGES.rst [ci skip] 2018-09-06 21:10:29 +10:00
dinko
66207b47bc fix _crop and tests 2018-09-05 21:00:35 +02:00
Hugo
fa14698e66
Merge pull request #3233 from hugovk/PYTHONOPTIMIZE
Fix code for PYTHONOPTIMIZE
2018-09-05 19:57:10 +03:00
Alexander Karpinsky
f7eb11cc3d
Merge branch 'master' into more-tiff-modes 2018-09-05 17:58:31 +03:00
Alexander
5b24987fc3 update code style in tests 2018-09-05 17:57:25 +03:00
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
Hugo
1ada5724a7
Merge pull request #3334 from radarhere/decoder
Fixed typos
2018-09-05 16:48:23 +03:00
Andrew Murray
f4fd517373 Removed blank line after heading for consistency [ci skip] 2018-09-05 21:05:09 +10:00
Andrew Murray
d86fa316ca Fixed typo [ci skip] 2018-09-05 21:02:32 +10:00
Jon Dufresne
37f10651bd Clean up commented out debug print statements 2018-09-04 20:02:42 -07:00
Jon Dufresne
875e8c4bda Avoid catching unexpected exceptions in tests
Instead, allow exceptions to bubble up to the unittest exception
handler.

Prevents replacing the exception trace with a less informative
message. As the exceptions are always unexpected, should not need to
catch them explicitly in tests.
2018-09-04 19:43:20 -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
Hugo
9dd09fa4bf
Merge pull request #3325 from radarhere/imagedraw
Removed duplicate code
2018-09-01 13:41:20 +03:00
Andrew Murray
4a34116be5 Removed duplicate code 2018-09-01 18:30:04 +10:00
Hugo
97e9dbaefd
Merge pull request #3326 from radarhere/edge
Catch ValueError when processing the edge of an image in ImageDraw.floodfill
2018-09-01 11:27:10 +03:00
Andrew Murray
0411caba67 Catch ValueError when processing the edge of an image 2018-09-01 17:18:13 +10:00
Andrew Murray
4ec322aa7d Update CHANGES.rst [ci skip] 2018-09-01 09:50:49 +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
5af867df4a
Merge pull request #3321 from radarhere/releasing
Revert "Add updated submodule in pillow-wheels [ci skip]"
2018-08-30 12:38:23 +03:00
Andrew Murray
63fb52219c Revert "Add updated submodule in pillow-wheels [ci skip]"
This reverts commit c6ea6a1cc2.
2018-08-30 19:21:00 +10:00