Hugo van Kemenade
ddebe27eed
Merge pull request #4565 from radarhere/tiff_pickle
...
Fixed bug when unpickling TIFF images
2020-04-17 19:03:02 +03:00
Andrew Murray
9956a6c777
Fixed bug when unpickling TIFF images
2020-04-17 22:13:14 +10:00
Andrew Murray
76d96b6383
Removed default arguments from helper functions
2020-04-17 21:57:11 +10:00
Hugo van Kemenade
529e113505
Merge pull request #4561 from hugovk/fix-webp-pickle
...
Fix pickling WebP
2020-04-17 14:48:50 +03:00
Andrew Murray
e52b8cefe1
Skip test if webp is not available
2020-04-17 20:08:10 +10:00
Hugo
94751da23e
Initialise __physical_frame = 0 and add pickle roundtrip tell test
2020-04-17 11:21:57 +03:00
Hugo
654229d1b9
GitHub Actions now sets CI=true
2020-04-16 20:42:29 +03:00
Hugo
913e79f010
Test the modes
2020-04-16 15:52:10 +03:00
Andrew Murray
f21816918e
Allow ImageMagick zTXt chunks to be extracted after copy()
2020-04-16 21:14:19 +10:00
Andrew Murray
1e63f772f8
Parse orientation from XMP tags
2020-04-16 21:05:34 +10:00
Hugo
5529aba441
Skip webp test when webp not available
2020-04-16 12:56:12 +03:00
Hugo
cdf3c98103
Add failing test for pickling webp
2020-04-16 11:45:12 +03:00
Hugo
d62b9098dd
Refactor other tests into test_pickle_image
2020-04-16 11:44:28 +03:00
Hugo
53a85f2a69
Refactor test_pickle_image to use pytest.mark.parametrize
2020-04-16 11:31:28 +03:00
nulano
9aa42c3fd6
fix AppVeyor
2020-04-12 11:55:31 +10:00
nulano
c6a1c551d9
cleanup build configuration
2020-04-12 11:55:01 +10:00
nulano
15ce881a2b
fix appveyor
2020-04-12 11:53:45 +10:00
Andrew Murray
f17f1bc607
Added method argument to single frame WebP saving
2020-04-11 20:43:49 +10:00
Andrew Murray
7bb51a4aca
Raise DeprecationWarning on raise_ioerror
2020-04-10 12:57:29 +03:00
Hugo
dda6145fce
Since Python 3.3 IOError and WindowsError have been merged into OSError
2020-04-10 12:57:29 +03:00
Andrew Murray
7475c06b1c
Assert that seeking too far raises an EOFError
2020-04-05 15:29:13 +10:00
Andrew Murray
6574552821
Removed redundant arguments
2020-04-02 19:17:54 +11:00
Hugo
2e9030ddca
Initialise __frame = 0 in open, and test tell
2020-04-02 08:49:26 +03:00
Hugo
1c2b2b085a
Add test case
2020-04-01 22:32:14 +03:00
Hugo van Kemenade
46f4a349b8
Merge pull request #4507 from hugovk/fix_tiff
...
Fix 2 buffer overflows in TIFF decoding
2020-04-01 12:51:04 +03:00
Hugo van Kemenade
ff60894d69
Merge pull request #4505 from hugovk/jpeg2k_overflow
...
Fix bounds overflow in JPEG 2000 decoding
2020-04-01 12:27:27 +03:00
Hugo van Kemenade
2ef59fdbae
Merge pull request #4504 from hugovk/sgi_fixes
...
Fix buffer overflow in SGI-RLE decoding
2020-04-01 12:27:14 +03:00
Hugo van Kemenade
0da1eca7cf
Merge pull request #4503 from hugovk/fix_fli_6.2.x
...
Fix multiple OOB reads in FLI decoding
2020-04-01 12:27:04 +03:00
Hugo
2092801e71
Format with Black
2020-04-01 11:02:50 +03:00
Eric Soroos
6e7c0ced68
Tests for tiff crashes
2020-04-01 11:02:40 +03:00
Hugo
ada137eba5
Fix Flake8
2020-04-01 10:52:21 +03:00
Eric Soroos
124f4bb591
Tests for PCX OOB Access
2020-04-01 10:50:48 +03:00
Hugo
6e86d235c8
Format with Black
2020-04-01 10:34:19 +03:00
Eric Soroos
30443d39bd
Tests for jp2 overflow
2020-04-01 10:33:46 +03:00
Hugo
44096adf59
Convert from unittest to pytest
2020-04-01 10:19:15 +03:00
Hugo
78478dfcfb
Black and isort
2020-04-01 10:13:12 +03:00
Eric Soroos
dd341f12d6
Tests for SGI Overruns
2020-04-01 10:12:21 +03:00
Hugo
11ef7ca53a
Format with Black
2020-04-01 09:54:26 +03:00
Eric Soroos
00c6dd72d9
Tests for additional hits
2020-04-01 09:53:18 +03:00
Eric Soroos
19ff42bd68
tests for Fli OOB reads
2020-04-01 09:53:04 +03:00
Hugo van Kemenade
f27873a888
Merge pull request #4243 from pmrowla/apng
...
Add APNG support
2020-04-01 00:23:57 +03:00
Hugo van Kemenade
b5cf165f9e
Merge pull request #4260 from nulano/imagegrab_xcb
...
ImageGrab.grab() for Linux with XCB
2020-03-31 23:03:21 +03:00
Hugo van Kemenade
16e1d6a048
Merge pull request #4494 from hugovk/re-add-PILLOW_VERSION
...
Re-add deprecated PILLOW_VERSION to give projects more time to upgrade
2020-03-31 22:58:23 +03:00
Hugo van Kemenade
92c9961cea
Convert from unittest to pytest
2020-03-31 22:43:31 +03:00
Hugo van Kemenade
761edafed8
Merge branch 'master' into re-add-PILLOW_VERSION
2020-03-31 12:07:14 +03:00
Marcin Jaworski
37ee51de88
Update test_font_pcf_charsets to adhere to test architecture changes
2020-03-31 10:56:43 +02:00
Marcin Jaworski
85f62c424d
Fix tests for charset aware PcfFontFile
2020-03-31 10:20:43 +02:00
Marcin Jaworski
422efd68c3
Add tests for charset aware PcfFontFile
2020-03-31 10:20:43 +02:00
Hugo van Kemenade
c6115c1ceb
Merge pull request #4230 from dwastberg/new_chops
...
Added three new channel operations
2020-03-31 10:24:44 +03:00
Andrew Murray
750bbc7256
Parametrized test
2020-03-31 17:41:52 +11:00
Andrew Murray
7597a9fbfd
Raise warning for more operations
2020-03-31 17:41:47 +11:00
Andrew Murray
027d180eda
Raise a DeprecationWarning when comparing PILLOW_VERSION
2020-03-30 21:53:02 +11:00
Andrew Murray
5a511c6a8b
Merge pull request #4474 from radarhere/reduce2
...
Prevent masking Image reduce method in Jpeg2K
2020-03-30 07:29:21 +11:00
Andrew Murray
d00b929651
Updated test
2020-03-29 16:29:34 +11:00
Andrew Murray
ff6ca4159a
Prevent masking Image reduce method
2020-03-29 16:27:29 +11:00
Andrew Murray
30a2d694cf
Converted unittest mock to pytest monkeypatch
2020-03-29 10:43:44 +11:00
Andrew Murray
cbf0bf1010
Fixed restoring original state
2020-03-28 12:51:33 +11:00
Andrew Murray
b602f365ae
Removed PillowTestCase helper class
2020-03-28 12:51:28 +11:00
Andrew Murray
a8637449b9
Converted common Qt test classes
2020-03-28 12:21:00 +11:00
Andrew Murray
748739c992
Converted addCleanup
2020-03-28 12:20:56 +11:00
Andrew Murray
dcf57f1457
unittest is no longer used in every test [ci skip]
2020-03-27 18:36:36 +11:00
Hugo van Kemenade
3970db0535
Merge pull request #4471 from radarhere/exif_imagemagick
...
Added reading of earlier ImageMagick PNG EXIF data
2020-03-26 13:42:58 +02:00
Andrew Murray
d4b627b664
Parametrized test
2020-03-26 21:21:40 +11:00
Hugo van Kemenade
332e3923cb
Merge pull request #4457 from radarhere/endian
...
Fixed endian handling for I;16 getextrema
2020-03-25 23:32:37 +02:00
Andrew Murray
d7c34511ba
Updated tests
2020-03-24 19:53:03 +11:00
Andrew Murray
228613017b
Added test if XCB is not present
2020-03-24 19:51:13 +11:00
Andrew Murray
2543719e12
Updated error catching
2020-03-24 19:49:05 +11:00
nulano
0bcc7be89b
xcb screengrab docs and fixes
2020-03-24 19:46:40 +11:00
nulano
f9c74825a6
xcb screengrab fixes
2020-03-24 19:40:54 +11:00
Andrew Murray
7ff2db143d
Removed use of PillowTestCase
2020-03-23 07:05:51 +11:00
Andrew Murray
7859f81828
Use pytest to skip tests
2020-03-23 07:05:40 +11:00
Andrew Murray
ca5a81ef27
Added reading of earlier ImageMagick EXIF data
2020-03-14 00:04:58 +11:00
Andrew Murray
9f61be4c72
Merge branch 'master' into apng
2020-03-09 23:29:40 +11:00
Andrew Murray
dc0d1c9bee
Invoke pip using python3 [ci skip]
2020-03-09 22:43:35 +11:00
Andrew Murray
e41cfade29
Add JPEG comment to info dictionary
2020-03-07 06:57:29 +11:00
Hugo van Kemenade
3f9b615349
Merge pull request #4404 from orlnub123/bugfix/thumbnail
...
Fix size calculation of Image.thumbnail()
2020-03-06 00:33:03 +02:00
Hugo van Kemenade
da4667cc9e
Merge pull request #4401 from radarhere/freetype
...
Fixed stroke on FreeType < 2.9
2020-03-06 00:21:17 +02:00
Hugo van Kemenade
3b30b88c7f
Merge pull request #4454 from radarhere/bbox
...
If present, only use alpha channel for bounding box
2020-03-05 12:38:52 +02:00
Andrew Murray
686d85be08
Merge pull request #4462 from hugovk/to-pytest
...
Convert to use pytest
2020-03-05 19:39:13 +11:00
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
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
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 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
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
Andrew Murray
9ba25f8135
Trim end of name, keeping ext
2020-02-26 20:15:23 +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
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
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
00fcc53a1d
Fix lint errors
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