Andrew Murray
1e63f772f8
Parse orientation from XMP tags
2020-04-16 21:05:34 +10: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 van Kemenade
f27873a888
Merge pull request #4243 from pmrowla/apng
...
Add APNG support
2020-04-01 00:23:57 +03:00
Peter Rowlands
8373c38840
Drop alpha channels when computing frame delta
2020-03-15 20:02:10 +09:00
Andrew Murray
ca5a81ef27
Added reading of earlier ImageMagick EXIF data
2020-03-14 00:04:58 +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
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
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
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
Andrew Murray
6480d57c1f
Removed duplicate line
2019-12-24 08:33:04 +11:00
Hugo
e5486b40f8
Merge remote-tracking branch 'upstream/master' into rm-2.7
2019-11-18 13:56:42 +02:00
Hugo
0c5895470c
Remove deprecated __version__ from plugins
2019-11-05 17:01:03 +02:00
Hugo van Kemenade
40133cfc74
Merge branch 'master' into rm-2.7
2019-10-26 09:07:44 +03:00
Jon Dufresne
cae17eb927
Use more Pythonic super() instead of referencing parent class
...
https://rhettinger.wordpress.com/2011/05/26/super-considered-super/
2019-10-22 06:54:58 -07:00
Hugo
538d9e2e5d
Upgrade Python syntax with pyupgrade --py3-plus
2019-10-07 14:30:59 +03:00
Hugo
af770a6c55
Drop support for EOL Python 2.7
2019-10-07 14:30:59 +03:00
Hugo van Kemenade
8e3c4e3658
Merge pull request #3965 from radarhere/truncated
...
Raise the same error if a truncated image is loaded a second time
2019-09-20 22:53:52 +03:00
Andrew Murray
023dcf27c2
Raise the same error if a truncated image is loaded a second time
2019-07-13 08:37:17 +10:00
Jon Dufresne
d50445ff30
Introduce isort to automate import ordering and formatting
...
Similar to the recent adoption of Black. isort is a Python utility to
sort imports alphabetically and automatically separate into sections. By
using isort, contributors can quickly and automatically conform to the
projects style without thinking. Just let the tool do it.
Uses the configuration recommended by the Black to avoid conflicts of
style.
Rewrite TestImageQt.test_deprecated to no rely on import order.
2019-07-06 16:11:35 -07:00
Hugo
53a7e35004
Format with Black
2019-06-10 18:22:46 +03:00
Andrew Murray
40bc46ff49
Moved ImageFile.Exif to Image.Exif
2019-04-01 20:03:02 +11:00
Andrew Murray
259a2ce2b2
Removed camelcase
2019-03-31 08:09:01 +11:00
Andrew Murray
d5db62be7b
Added EXIF class
2019-03-28 21:13:12 +11:00
Andrew Murray
4a5666f1f4
Added transparency for all PNG greyscale modes
2019-03-27 07:41:33 +11:00
Andrew Murray
ce9dd67540
Added I;16 PNG save
2019-03-12 17:28:42 +11:00
Andrew Murray
8ddcc1de52
Load EXIF from PNG where eXIf chunk is after first IDAT chunk
2019-03-11 21:20:18 +11:00
Andrew Murray
365d5e541a
Added EXIF support
2019-03-11 21:19:36 +11:00
Hugo
65c55402b9
Merge pull request #3537 from radarhere/pickle
...
Fixed pickling of iTXt class with protocol > 1
2019-02-20 11:50:30 +02:00
Hugo
f7134f1c18
Merge pull request #3628 from jdufresne/dep-plugin-version
...
Deprecate PIL.*ImagePlugin.__version__ attributes
2019-02-12 15:39:43 +02:00
Hugo
d02e2b5392
Merge pull request #3558 from radarhere/png
...
Allow for unknown PNG chunks after image data
2019-02-03 11:57:21 +02:00
Andrew Murray
fbaf87ae03
Replaced strings with docstrings
2019-02-03 15:58:24 +11:00
Jon Dufresne
a11fed32b3
Deprecate PIL.*ImagePlugin.__version__ attributes
...
Use PIL.__version__ instead.
2019-02-02 17:39:55 -08:00
Andrew Murray
4e0a73b4fa
Allow for unknown PNG chunks after image data
2019-01-08 07:21:25 +11:00
Hugo van Kemenade
22b0f53eb9
Merge pull request #3532 from radarhere/png_load_end_idat
...
PNG: Handle IDAT chunks after image end
2019-01-05 12:08:58 +02:00
Andrew Murray
ea2a0e4654
Handle IDAT chunks after image end
2019-01-03 19:13:19 +11:00
Andrew Murray
f8df6d1687
Fixed pickling of iTXt class with protocol > 1
2019-01-03 09:31:55 +11:00
Andrew Murray
97ae0c42b1
Detect whether mimetype is image/png or image/apng
2019-01-02 14:13:10 +11:00
Andrew Murray
21268c87b3
Merge branch 'master' into patch-2
2018-12-27 17:39:40 +11:00
Andrew Murray
acc2c150f6
Added APNG mime type
2018-12-27 11:19:40 +11:00
Andrew Murray
09e94e40a1
Handle APNG chunks
2018-12-27 10:53:16 +11:00
pirate486743186
8d0b7e6b57
adding apng extension for png
2018-12-26 21:14:27 +01:00
Andrew Murray
22837c37e2
Read textual chunks located after IDAT chunks
2018-12-24 23:58:19 +11:00
Hugo
3ed5dcc928
Merge pull request #3467 from hugovk/lint-can-fail
...
CI: Allow lint job to fail
2018-12-13 21:09:58 +02:00
Hugo
c353225851
Prefer 'except Exception:' to bare 'except:'
2018-12-04 23:25:28 +02:00
Andrew Murray
b637b5f7a2
Close exclusive fp before discarding
2018-11-13 22:13:55 +11:00