Andrew Murray
|
9bdab56689
|
Replaced hasattr conditions with getattr and default
|
2019-03-18 09:15:37 +11:00 |
|
Hugo
|
c8fa5be099
|
Update CHANGES.rst
|
2019-03-17 20:50:33 +02:00 |
|
Hugo
|
b261773fb8
|
Merge pull request #3725 from jdufresne/bytes-warning
Fix BytesWarning in Tests/test_numpy.py
|
2019-03-17 20:46:21 +02:00 |
|
Jon Dufresne
|
6d46ae2e8f
|
Fix BytesWarning in Tests/test_numpy.py
When running Python with the `-b` command line argument, fixes warnings:
Tests/test_numpy.py::TestNumpy::test_1bit
Pillow/Tests/test_numpy.py:118: BytesWarning: Comparison between bytes and string
arr_bool = numpy.array([[1, 0, 0, 1, 0], [0, 1, 0, 0, 0]], 'bool')
Tests/test_numpy.py::TestNumpy::test_point_lut
Pillow/Tests/test_numpy.py:170: BytesWarning: Comparison between bytes and string
lut = numpy.array(data, dtype='uint8')
Tests/test_numpy.py::TestNumpy::test_to_array
Pillow/Tests/test_numpy.py:146: BytesWarning: Comparison between bytes and string
self.assertEqual(np_img.dtype, numpy.dtype(dtype))
|
2019-03-17 10:08:33 -07:00 |
|
Andrew Murray
|
0b62337b6f
|
Ensure image is mutable before saving
|
2019-03-17 23:37:40 +11:00 |
|
Andrew Murray
|
aa2f9878a3
|
Remove unused RST substitution definition
Co-Authored-By: hugovk <hugovk@users.noreply.github.com>
|
2019-03-17 08:00:23 +02:00 |
|
Hugo
|
d1f865e02a
|
Merge pull request #3722 from radarhere/seek_docs
Corrected seek documentation
|
2019-03-16 15:55:29 +02:00 |
|
Andrew Murray
|
fa8ecffff2
|
Corrected seek documentation
|
2019-03-17 00:00:10 +11:00 |
|
Andrew Murray
|
406d1d4b9a
|
Merge pull request #3551 from hugovk/rm-quanthash-destroy-funcs
Remove unused C hashtable functions
|
2019-03-16 21:48:49 +11:00 |
|
Hugo
|
87ddd07359
|
Merge pull request #3717 from radarhere/ico_condition
Removed condition that was always true
|
2019-03-16 12:04:11 +02:00 |
|
Andrew Murray
|
e40e0093fb
|
Fix typo
Co-Authored-By: hugovk <hugovk@users.noreply.github.com>
|
2019-03-16 11:58:23 +02:00 |
|
Andrew Murray
|
7dfbdc01f4
|
Fixed bug when rewinding to a non-zero frame
|
2019-03-16 20:02:24 +11:00 |
|
Andrew Murray
|
5b9c11b426
|
Update palette in quantize
|
2019-03-16 13:36:58 +11:00 |
|
Andrew Murray
|
6790c2e375
|
Allow RGB and RGBA values for new P images
|
2019-03-15 17:35:05 +11:00 |
|
Hugo
|
21ff4114bd
|
Update CHANGES.rst
|
2019-03-15 08:22:43 +02:00 |
|
Hugo
|
de75132a14
|
Merge pull request #3520 from pirate486743186/mime-types
Add missing MIME types and extensions
|
2019-03-15 08:21:44 +02:00 |
|
Riley Lahd
|
aa5874d3c8
|
Merge pull request #1 from radarhere/gif_test
Test that background colours read are equal to saved colours
|
2019-03-14 17:53:08 -06:00 |
|
Andrew Murray
|
3749a55234
|
Removed condition that was always true
|
2019-03-15 10:46:34 +11:00 |
|
Andrew Murray
|
0b630e06dc
|
Test that background colours read are equal to saved colours
|
2019-03-15 10:29:33 +11:00 |
|
Riley Lahd
|
85a07bb385
|
Linting changes
|
2019-03-14 14:51:13 -06:00 |
|
Riley Lahd
|
53cfd19a44
|
Check encoder info for disposal mode
|
2019-03-14 14:44:15 -06:00 |
|
Riley Lahd
|
8a36a15ebd
|
Force include colour table for disposal=2 gifs and pad colour table to be valid when flag is set
|
2019-03-14 14:41:10 -06:00 |
|
Riley Lahd
|
96c5a4c543
|
Add test for disposal mode 2 gifs
|
2019-03-14 14:40:31 -06:00 |
|
Andrew Murray
|
0ad09f7386
|
Merge branch 'master' into mime-types
|
2019-03-15 07:06:59 +11:00 |
|
pirate486743186
|
a693f060d4
|
Merge pull request #3 from radarhere/mime-types
Added PNM to the list of PPM files
|
2019-03-14 15:16:39 +01:00 |
|
Andrew Murray
|
ebdb1ffc54
|
Added PNM to the list of PPM files [ci skip]
|
2019-03-14 08:35:27 +11:00 |
|
Andrew Murray
|
ab85290911
|
Fixed bug when seeking backwards and then forwards
|
2019-03-13 18:54:09 +11:00 |
|
Hugo
|
3e9457a034
|
Merge pull request #3711 from radarhere/retry
Retry on URLError
|
2019-03-12 13:58:58 +02:00 |
|
Hugo
|
c09a502afb
|
Update CHANGES.rst
|
2019-03-12 12:26:47 +02:00 |
|
Hugo
|
2419f48c4b
|
Update CHANGES.rst
|
2019-03-12 12:26:32 +02:00 |
|
Hugo
|
e3eac00b1f
|
Merge pull request #3566 from radarhere/i16
Added I;16 PNG save
|
2019-03-12 12:25:53 +02:00 |
|
Andrew Murray
|
f06056cc1f
|
Updated PNG modes [ci skip]
|
2019-03-12 21:10:59 +11:00 |
|
Andrew Murray
|
186a52ca01
|
Retry on URLError
|
2019-03-12 20:44:00 +11:00 |
|
Hugo
|
24931d57b0
|
Update CHANGES.rst
|
2019-03-12 11:39:46 +02:00 |
|
Hugo
|
b3587f0fb7
|
Merge pull request #3705 from radarhere/bmp
Add support for BMP RGBA bitfield compression
|
2019-03-12 11:36:04 +02:00 |
|
Hugo
|
e2fda900cb
|
Merge pull request #3693 from iwsfutcmd/text-set-language
Added ability to set language for text rendering
|
2019-03-12 11:32:33 +02:00 |
|
Hugo
|
33d207b3f0
|
Move to API Additions, not Deprecations [CI skip]
And some minor editing to make more concise/consistent.
|
2019-03-12 11:12:19 +02:00 |
|
Andrew Murray
|
ce9dd67540
|
Added I;16 PNG save
|
2019-03-12 17:28:42 +11:00 |
|
Ben Yang
|
8bd4bbb808
|
implemented language parameter for multiline ImageDraw methods, updated release notes
|
2019-03-11 20:21:52 -07:00 |
|
Ben Yang
|
9f390a5192
|
uncommented test
|
2019-03-11 18:56:22 -07:00 |
|
Ben Yang
|
5cdbec0cfe
|
added test for attempting to apply complex settings to fonts when using basic layout engine
|
2019-03-11 18:56:22 -07:00 |
|
Ben Yang
|
515244b672
|
moved language parameter in ImageDraw documentation
|
2019-03-11 18:56:22 -07:00 |
|
Ben Yang
|
c6ad867178
|
added proper documentation for ImageFont.getsize()
|
2019-03-11 18:56:22 -07:00 |
|
Ben Yang
|
d5bbf01254
|
moved 'language' parameter to last parameter in relevant functions
|
2019-03-11 18:56:22 -07:00 |
|
Ben Yang
|
c174c90ac1
|
fixed for python2
|
2019-03-11 18:56:22 -07:00 |
|
Ben Yang
|
386492ff54
|
wrong test_language.png committed, whoops! fixed
|
2019-03-11 18:56:22 -07:00 |
|
Ben Yang
|
7324a32443
|
fixed some whitespace to pass linting
|
2019-03-11 18:56:22 -07:00 |
|
Ben Yang
|
1a075bed52
|
added language parameter to ImageFont.FreeTypeFont.getmask()
|
2019-03-11 18:56:22 -07:00 |
|
Ben Yang
|
8624efd283
|
added ability to set language for text rendering
|
2019-03-11 18:55:46 -07:00 |
|
Andrew Murray
|
22b0110f89
|
Only close original fp in __del__ and __exit__ if original fp is exclusive
|
2019-03-12 08:54:43 +11:00 |
|