Commit Graph

8284 Commits

Author SHA1 Message Date
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
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
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
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
Hugo
906917b748
Update CHANGES.rst 2019-03-11 22:11:39 +02:00
Hugo
125a001b66
Merge pull request #3698 from radarhere/context
Only close exclusive fp on Image __exit__
2019-03-11 21:41:44 +02:00
Hugo
77d1c609f3
Merge pull request #3635 from radarhere/eps
Changed EPS subprocess stdout from devnull to None
2019-03-11 21:15:18 +02:00
Hugo
bf60b5371f
Update CHANGES.rst 2019-03-11 21:12:57 +02:00
Hugo
cae87c76d6
Merge pull request #3489 from kkopachev/tiff-old-jpeg
Add reading old-JPEG compressed TIFFs
2019-03-11 21:12:12 +02:00
Hugo
3fc77da70a
Adjust header formatting
[CI skip]
2019-03-11 21:11:37 +02:00
Konstantin Kopachev
4215d7621f
Add release notes 2019-03-11 10:44:55 -07:00
Konstantin Kopachev
28c6f555a2
Merge remote-tracking branch 'remotes/upstream/master' into tiff-old-jpeg 2019-03-11 10:38:02 -07:00
Hugo
06ed005ed4
Update CHANGES.rst 2019-03-11 15:06:52 +02:00
Hugo
25e40dd978
Merge pull request #3674 from radarhere/png_exif
Added EXIF support for PNG
2019-03-11 15:06:28 +02:00