Commit Graph

9834 Commits

Author SHA1 Message Date
Hugo van Kemenade
94d0c7c9ff
Merge pull request #45 from radarhere/to-pytest
Converted setup and teardown methods
2020-03-04 13:42:49 +02:00
Hugo
fbd4ca1ba0 Fix roundtrip 2020-03-04 13:21:23 +02:00
Andrew Murray
76734573f0 Converted setup and teardown methods 2020-03-04 21:31:50 +11:00
Andrew Murray
3b0430aa08 Updated CHANGES.rst [ci skip] 2020-03-03 23:03:40 +11:00
Hugo van Kemenade
974233be45
Merge pull request #4438 from jdufresne/warning
Warn on typos passed to features.check()
2020-03-02 21:26:17 +02:00
Hugo van Kemenade
cd00430b04
Merge pull request #4441 from radarhere/noargs
Use METH_NOARGS when no arguments are required
2020-03-02 21:24:56 +02:00
Hugo
2cc6a9a974 Convert to use pytest 2020-03-02 16:31:08 +02:00
Hugo van Kemenade
54b4b98455
Merge pull request #4448 from radarhere/pytest
Converted to pytest
2020-03-02 12:23:28 +02:00
Hugo
b028051dd2 Avoid ambiguity by explicitly invoking python3 2020-03-01 20:03:16 +02:00
Hugo van Kemenade
0f214df9d5
Merge pull request #4458 from radarhere/version
Corrected version number
2020-03-01 08:59:30 +02:00
Andrew Murray
792b1c812b Corrected version number [ci skip] 2020-03-01 14:51:54 +11:00
Hugo van Kemenade
64a9e0c660
Merge branch 'master' into apng 2020-02-29 17:40:17 +02:00
Andrew Murray
42a0653097 Fixed endian handling for I;16 getextrema 2020-02-29 20:29:28 +11:00
Andrew Murray
b73e3dddcc Updated CHANGES.rst [ci skip] 2020-02-29 11:06:23 +11:00
Andrew Murray
04f7c75466 Use context manager when opening images [ci skip] 2020-02-29 10:29:44 +11:00
Andrew Murray
b934b50867 If an alpha channel is present, only use that to get bounding box 2020-02-28 22:33:02 +11:00
Andrew Murray
1c1ad65a96
Merge pull request #4424 from hugovk/fix-im-long-name
Fix saving IM images in dir with long path
2020-02-27 20:27:44 +11:00
Hugo van Kemenade
853e2f25be
Merge pull request #44 from radarhere/fix-im-long-name
Trim end of name, keeping ext
2020-02-26 12:57:06 +02:00
Andrew Murray
9ba25f8135 Trim end of name, keeping ext 2020-02-26 20:15:23 +11:00
Andrew Murray
40a4a04b88 Updated CHANGES.rst [ci skip] 2020-02-26 05:57:41 +11:00
Zeev Tarantov
7df7cb25ee release python GIL during WEBP encode 2020-02-25 15:15:26 +02:00
Hugo van Kemenade
26b5b30a38
Merge pull request #4449 from radarhere/releasenotes
Added 7.1.0 release notes to index
2020-02-25 13:36:43 +02:00
Andrew Murray
ce23acee89 Added 7.1.0 release notes 2020-02-25 21:22:05 +11:00
Hugo van Kemenade
3c995fd173
Merge pull request #4440 from radarhere/jpeg_quality
Allow saving of zero quality JPEG images
2020-02-25 12:02:53 +02:00
Andrew Murray
09b9198176 Converted to pytest 2020-02-25 20:57:27 +11:00
Andrew Murray
17c10b0ca0 Fixed stroke on FreeType < 2.9 2020-02-24 22:49:33 +11:00
Andrew Murray
1dcf94af1b Removed unused method 2020-02-24 22:48:42 +11:00
Andrew Murray
55b487368a Use METH_NOARGS when no arguments are required 2020-02-24 22:48:42 +11:00
Andrew Murray
80994bc0e5
Merge pull request #4444 from hugovk/codecov-bash
Use Codecov bash because the Action times out on macOS
2020-02-24 22:45:45 +11:00
Hugo
a529f0f39c Use Codecov bash because the Action times out on macOS 2020-02-23 16:37:06 +02:00
Andrew Murray
de179eb5c6
Merge pull request #4446 from hugovk/convert-asserts
Convert some tests to pytest style
2020-02-23 21:48:51 +11:00
Hugo van Kemenade
12f66f44f4
Fix regression
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-02-23 10:31:54 +02:00
Andrew Murray
41a29339ff Lint fixes 2020-02-23 15:14:42 +11:00
Peter Rowlands
9b72f0513c Adjust is_animated behavior
- Make is_animated APNG behavior consistent with other Pillow formats
- is_animated will be true when n_frames is greater than 1 (for APNG
  this depends on animation frame count + presence or absence of a
  default image)
2020-02-23 15:14:06 +11:00
Peter Rowlands
dcc3f41fa1 Add release notes 2020-02-23 15:14:06 +11:00
Peter Rowlands
3a254701f6 Cleanup documentation
- Add changes requested by hugovk
2020-02-23 15:14:06 +11:00
Peter Rowlands
d05b73cd08 Use context manager for APNG tests 2020-02-23 15:14:06 +11:00
Peter Rowlands
0f84fa7707 Move apng tests into test_file_apng.py 2020-02-23 15:14:06 +11:00
Peter Rowlands (변기호)
0b536fb599 fix documentation review issue
[ci skip]

Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-02-23 15:14:06 +11:00
Peter Rowlands
00fcc53a1d Fix lint errors 2020-02-23 15:14:06 +11:00
Peter Rowlands
9f4716ff30 Fix split fdAT chunk sequence error 2020-02-23 15:14:06 +11:00
Peter Rowlands
66c84f258b Add test for saving split fdat chunks 2020-02-23 15:14:06 +11:00
Peter Rowlands
35148b99c1 Fix comment
[ci skip]
2020-02-23 15:14:06 +11:00
Peter Rowlands
bdcf980570 Fix pypy test failures 2020-02-23 15:14:06 +11:00
Peter Rowlands
512b060a53 Fix tox -e lint errors 2020-02-23 15:14:06 +11:00
Peter Rowlands
916b2e1b74 Document APNG support 2020-02-23 15:14:06 +11:00
Peter Rowlands
7c0df1034f Add APNG test cases
Includes tests for reading and writing APNG files.

The tests for reading files are based on the APNG browser compatibility
tests from https://philip.html5.org/tests/apng/tests.html
(which is linked in the Tests section of https://wiki.mozilla.org/APNG_Specification)
2020-02-23 15:14:06 +11:00
Peter Rowlands
67e3ccffeb Add APNG support
See #3483

Adds support for reading APNG files and seeking through frames,
and adds basic support for writing APNG files.
2020-02-23 15:11:08 +11:00
Hugo
44e661f25a Convert to use pytest 2020-02-22 23:03:01 +02:00
Hugo
699a9dadf1 Convert asserts 2020-02-22 18:07:04 +02:00