Andrew Murray
40a0999303
Raise ValueError if PNG sRGB chunk is truncated
2022-07-11 20:02:41 +10:00
Hugo van Kemenade
2c58c3ee11
Merge pull request #6213 from radarhere/fp
2022-05-19 18:52:55 +03:00
Andrew Murray
51bdc99b96
Raise ValueError if PNG chunks are truncated
2022-05-01 13:45:58 +10:00
Andrew Murray
4e075adcc5
Merged _close_fp into close and __exit__
2022-04-17 12:13:58 +10:00
Andrew Murray
2ae52552f7
Renamed __fp to _fp
2022-04-17 12:13:58 +10:00
Hugo van Kemenade
4cb8e4b3fa
Add deprecations helper
2022-04-06 13:19:52 +03:00
Andrew Murray
72b7ab54bd
pre-commit autoupdate --freeze
2022-03-04 16:42:24 +11:00
Andrew Murray
b38a67fa12
Merge branch 'main' into enum
2022-02-10 09:52:24 +11:00
Hugo van Kemenade
601c9d8515
Fix return in docs
2022-02-09 14:28:43 +02:00
Andrew Murray
ed8073e846
Deprecated constants in favour of enums
2022-01-15 10:07:07 +11:00
Andrew Murray
f8e4e9c2dd
Added enums
2022-01-15 09:02:31 +11:00
Andrew Murray
e766ddbc39
Removed unnecessary code
2021-07-13 23:02:27 +10:00
Andrew Murray
63c3b26f6a
Fixed using info dictionary when writing multiple frames
2021-07-13 23:02:23 +10:00
Andrew Murray
0521ac71e0
Renamed variable
2021-07-13 18:47:48 +10:00
thak1411
45aec95717
Fixed round error in saving apng file
2021-07-13 12:07:36 +09:00
Andrew Murray
d9d811ff21
Replaced xml.etree.ElementTree with defusedxml.ElementTree
2021-06-30 11:28:44 +10:00
Andrew Murray
cd31dae0d1
Added getxmp() for PNG
2021-06-12 13:57:14 +10:00
Hugo van Kemenade
87dca4f477
Merge pull request #5493 from radarhere/png_load_end
...
Ensure PNG seeks to end of previous chunk at start of load_end
2021-06-06 10:35:04 +03:00
Andrew Murray
bf97a92bc6
Ensure PNG seeks to end of previous chunk at start of load_end
2021-05-14 13:18:49 +10:00
Andrew Murray
9d72542c08
Removed DPI rounding from PNG loading
2021-05-07 20:50:01 +10:00
Andrew Murray
754752e78f
Allow fewer palette entries than the bit depth maximum
2021-03-21 09:22:01 +11:00
Andrew Murray
faf8fad76d
Stopped flattening EXIF IFD into getexif()
2021-02-22 07:47:05 +11:00
Hugo van Kemenade
4093897673
Merge pull request #5126 from radarhere/apng_disposal
...
Use disposal settings from previous frame in APNG
2020-12-31 16:06:33 +02:00
Alexander
1ff61bcaa6
use offset for all binary input functions instead of slicing
2020-12-30 19:10:50 +11:00
Alexander
3757b8c748
remove extra i8 calls where input is proved bytes[] or int
2020-12-30 19:04:11 +11:00
Andrew Murray
5e4e0fa6ee
Use disposal settings from previous frame
2020-12-24 09:55:22 +11:00
Hugo van Kemenade
a7f384a813
Merge pull request #4292 from radarhere/private_png_chunks
...
Added reading and writing of private PNG chunks
2020-10-05 23:49:09 +03:00
Hugo van Kemenade
e0eec1eb56
Merge branch 'master' into rm-3.5
2020-09-01 20:16:46 +03:00
Hugo van Kemenade
10615a7da7
Upgrade Python syntax for 3.6+
...
Co-authored-by: nulano <nulano@nulano.eu>
2020-07-30 10:09:18 +03:00
nulano
2ce2fa2dfc
Add a period
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-07-11 13:23:19 +10:00
nulano
9c277f5c49
document PngImagePlugin constants
2020-07-11 13:23:19 +10:00
Hugo van Kemenade
645f7f2346
Merge pull request #4742 from radarhere/apng_dispose
...
Fixed loading non-RGBA mode APNGs with dispose background
2020-06-29 17:15:34 +03:00
Andrew Murray
4cf7c562e4
Merge pull request #4726 from hugovk/fix-png-disposal-comparison-bug
...
APNG: Fix setting disposal
2020-06-30 00:01:15 +10:00
Andrew Murray
cdf4936c07
Fixed loading non-RGBA mode images with dispose background
2020-06-29 21:20:57 +10:00
Andrew Murray
4ae694cd7b
Merge pull request #4712 from cool-RR/2020-06-12-raise-from
...
Fix exception causes all over the codebase
2020-06-28 15:22:05 +10:00
Hugo
bd466c41c1
Fix setting disposal
2020-06-24 10:11:16 +03:00
Andrew Murray
9b6fdd719f
Call _accept instead of duplicating code
2020-06-23 17:41:13 +10:00
Ram Rachum
2f0d430807
Fix exception causes all over the codebase
2020-06-21 13:21:25 +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
Andrew Murray
f7144c1216
Added reading and writing of private PNG chunks
2020-04-06 21:57:45 +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