Commit Graph

9650 Commits

Author SHA1 Message Date
Alex Clark
c012c67877 Move badge links to the bottom 2019-03-24 18:00:12 -04:00
Andrew Murray
9cc7e8ce95 Improved docstring 2019-03-24 22:07:19 +11:00
Glandos
edc272298b Merge branch 'fast_mpo_open' of github.com:Glandos/Pillow into fast_mpo_open 2019-03-24 09:49:06 +01:00
Glandos
b08b122c8b use default value if mpheader is not provided 2019-03-24 09:48:23 +01:00
Andrew Murray
dbf65b0890
Update src/PIL/MpoImagePlugin.py
Co-Authored-By: Glandos <bugs-github@antipoul.fr>
2019-03-23 22:11:32 +01:00
Hugo
30841fe808
Merge pull request #3737 from jdufresne/quotes
Add backticks around Python classes and modules in open_files.rst
2019-03-23 08:31:15 +00:00
Andrew Murray
51e66522e7 Added release notes for #3563 and #3741 2019-03-23 17:36:49 +11:00
Andrew Murray
9965afa82b Updated CHANGES.rst [ci skip] 2019-03-23 17:36:11 +11:00
Hugo
16f8ab5b38
Merge pull request #3742 from radarhere/releasenotes
MIME type and TIFF compression codec release notes
2019-03-23 06:21:55 +00:00
Hugo
fccf229a7c
Merge pull request #3741 from radarhere/transpose
Added support for I;16 modes for remaining transpose operations
2019-03-23 06:19:00 +00:00
Andrew Murray
3b3e590f6c Added release notes for #3555 [ci skip] 2019-03-23 14:51:24 +11:00
Andrew Murray
61dae3041c Added release notes for #3525, #3688 and #3520 [ci skip] 2019-03-23 14:48:17 +11:00
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
Riley Lahd
ad70fc73cb Linting changes 2019-03-22 08:26:16 -06:00
Riley Lahd
4b2746fc39 Remove disposal 2 duplicate frame exemption and add true delta test 2019-03-22 08:19:01 -06: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
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