Commit Graph

8571 Commits

Author SHA1 Message Date
Andrew Murray
8ba76f9a10 Added support for I;16 modes for remaining transpose operations 2019-03-23 14:13:39 +11:00
Andrew Murray
577a12e5e0 Update CHANGES.rst [ci skip] 2019-03-23 10:51:58 +11:00
Andrew Murray
31ac5a96d1
Merge pull request #3716 from radarhere/gif_rewind
Fixed GIF bug when rewinding to a non-zero frame
2019-03-23 10:46:41 +11:00
Andrew Murray
afbb503bef
Merge pull request #3736 from jdufresne/handles_eof
Remove additional references to removed handles_eof
2019-03-23 10:44:42 +11:00
Andrew Murray
81cfede546 Corrected remap_palette documentation [ci skip] 2019-03-23 09:36:59 +11:00
Jon Dufresne
d31bee5e35 Add backticks around Python classes and modules in open_files.rst 2019-03-22 06:12:08 -07:00
Jon Dufresne
deb8a7aadd Remove additional references to removed handles_eof
handles_eof was removed in 90760a5f30.
2019-03-22 05:58:22 -07:00
Hugo
42a6e2de02
Merge pull request #3734 from radarhere/freetype
Updated freetype to 2.10.0
2019-03-22 13:17:06 +02:00
Andrew Murray
15f8ef02c9 Updated freetype to 2.10.0 2019-03-22 21:14:39 +11:00
Andrew Murray
f61828acdc Promote P images to PA in putalpha 2019-03-19 11:13:58 +11:00
Hugo
63141a9c0c
Update CHANGES.rst 2019-03-18 20:37:56 +02:00
Hugo
b8ea8814f0
Merge pull request #3683 from radarhere/exclusive
Only close original fp in __del__ and __exit__ if original fp is exclusive
2019-03-18 20:37:21 +02:00
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
Andrew Murray
3749a55234 Removed condition that was always true 2019-03-15 10:46:34 +11: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