Commit Graph

1158 Commits

Author SHA1 Message Date
nulano
5728662c7f add support for CF_DIBV5, CF_HDROP, and 'PNG' in ImageGrab.grabclipboard() on win32 2020-05-09 09:40:58 +02:00
Hugo van Kemenade
bd0f7b7116
Merge pull request #4594 from rodrigob/patch-1 2020-05-01 19:43:51 +03:00
Andrew Murray
ae43af61da Replaced tabs with spaces 2020-05-01 22:08:57 +10:00
Andrew Murray
d5c3814691 Changed default offset for Exif 2020-05-01 19:43:37 +10:00
Andrew Murray
b65e72b2fc Updated example code to new-style class [ci skip] 2020-04-23 20:05:30 +10:00
Hugo
d21e45536a Link to Filters concept from methods' parameters [CI skip] 2020-04-23 11:18:24 +03:00
Hugo van Kemenade
f83f19788b
Merge pull request #4552 from radarhere/animation
Simplified animation code
2020-04-17 19:30:04 +03:00
Andrew Murray
9956a6c777 Fixed bug when unpickling TIFF images 2020-04-17 22:13:14 +10:00
Andrew Murray
574b0ee315 Removed initial seek 2020-04-17 22:05:38 +10:00
Andrew Murray
03b5ffbd23 Use common _seek_check method 2020-04-17 22:05:25 +10:00
Andrew Murray
0b33a87b0d Replaced property methods for n_frames and is_animated with normal properties 2020-04-17 22:00:21 +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
986c55ff64 Initialise __loaded = 0, removed initialisation of __physical_frame 2020-04-17 19:15:05 +10:00
Andrew Murray
fe8225732a Throw image loading error faster 2020-04-17 18:29:45 +10:00
Hugo
94751da23e Initialise __physical_frame = 0 and add pickle roundtrip tell test 2020-04-17 11:21:57 +03:00
Hugo van Kemenade
f589f8689f
Initialise __logical_frame = 0 so tell() == 0 when unpickled
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-04-17 11:20:38 +03:00
Hugo
2e6ab7c669 Fix pickling webp 2020-04-16 11:46:34 +03: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
c414810d12 Replaced property methods for n_frames and is_animated with normal properties 2020-04-05 15:23:18 +10:00
Hugo
2e9030ddca Initialise __frame = 0 in open, and test tell 2020-04-02 08:49:26 +03:00
Hugo
0a757b7085 Initialise __frame = 0 2020-04-01 22:17:39 +03:00
Hugo
0a77f73ef3 7.2.0.dev0 version bump 2020-04-01 18:55:23 +03:00
Hugo
f0fe60ae9f 7.1.0 version bump 2020-04-01 13:12:46 +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 van Kemenade
c00fdc7e30 Fix typos
Co-Authored-By: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-04-01 11:02:44 +03:00
Eric Soroos
b8d4ce1a59 Avoid uninitialized read 2020-04-01 11:02:36 +03:00
Eric Soroos
6b842f4ec0 Ensure that Tiff's concept of Strip and Tilesize matches Pillow's 2020-04-01 11:02:33 +03:00
Eric Soroos
6a83e43247 Fix OOB Access on PcxDecode.c 2020-04-01 10:50:51 +03:00
Hugo van Kemenade
c5e9de15b1 Fix typo 2020-04-01 10:34:24 +03:00
Eric Soroos
cf6da6b790 Fix for OOB Read in DecodeJpeg2k 2020-04-01 10:33:41 +03:00
Eric Soroos
394d6a180a Track number of pixels, not the number of runs 2020-04-01 10:12:17 +03:00
Eric Soroos
5b490fc413 additional FLI check 2020-04-01 09:53:14 +03:00
Eric Soroos
088ce4df98 comments 2020-04-01 09:53:08 +03:00
Eric Soroos
8d4f3c0c5f Fix OOB Read in FLI Copy Chunk 2020-04-01 09:52:59 +03:00
Eric Soroos
c5edc361fd Fix OOB Advance Values 2020-04-01 09:52:55 +03:00
Eric Soroos
c88b0204d7 Fix OOB in LC packet 2020-04-01 09:52:51 +03:00
Eric Soroos
b4e439d6d7 Fix OOB Reads in SS2 Chunk 2020-04-01 09:52:47 +03:00
Eric Soroos
f6926a041b Refactor to macro 2020-04-01 09:52:44 +03:00
Eric Soroos
c66d8aa754 Fli issue 1 2020-04-01 09:52:40 +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
761edafed8
Merge branch 'master' into re-add-PILLOW_VERSION 2020-03-31 12:07:14 +03:00
Marcin Jaworski
60997894d1 Change single to double quotes 2020-03-31 10:20:43 +02:00
Marcin Jaworski
15612d94b5 Support for different charset encondings in 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