Commit Graph

131 Commits

Author SHA1 Message Date
Hugo van Kemenade
1b6e68eaae
Merge pull request #7823 from radarhere/png_iccp 2024-03-11 17:42:22 +02:00
Hugo van Kemenade
89d8be5b94
Merge pull request #7821 from radarhere/apng 2024-03-11 17:38:48 +02:00
Andrew Murray
d6a3f89e27 Open 16-bit grayscale PNGs as I;16 2024-03-02 15:39:43 +11:00
Andrew Murray
383ac4fca0 Fixed reading PNG iCCP compression method 2024-02-22 19:50:36 +11:00
Andrew Murray
c322a2f633 Use maximum frame size in IHDR chunk when saving 2024-02-21 19:39:29 +11:00
FangFuxin
44e77a22b5 Fix png image plugin load_end func handle truncated file. 2024-01-16 07:36:20 +00:00
Erik Soma
6d99f9193f Fix info for first frame of apng images getting clobbered when seeking to the first frame multiple times. 2024-01-07 16:00:58 -05:00
Hugo van Kemenade
43b2f61e79 Add 'from __future__ import annotations' using Ruff/isort 2023-12-21 13:13:31 +02:00
Andrew Murray
c29648ff53 If save_all PNG only has one frame, do not create animated image 2023-11-03 22:08:48 +11:00
Andrew Murray
19aeed07bf Merge branch 'main' into gray 2023-10-20 07:47:17 +11:00
Andrew Murray
d682c18ded Use "gray" more consistently 2023-10-19 19:12:01 +11:00
Andrew Murray
8b71f3d3c1 Added messages to errors 2023-10-19 18:42:41 +11:00
Hugo van Kemenade
101154e0d5
Merge pull request #7437 from radarhere/apng 2023-10-13 23:48:22 +02:00
Andrew Murray
2d9c4e663f
Merge pull request #7302 from radarhere/png_i16
Allow saving I;16B images as PNG
2023-10-06 15:45:58 +11:00
Andrew Murray
c9ba107c2c Palette is unneeded as RGB to P conversion will not occur 2023-10-02 19:08:17 +11:00
Andrew Murray
b98dc8abe1 Consider default image when selecting mode for PNG save_all 2023-10-02 19:07:56 +11:00
Andrew Murray
9979a822c7 Changed Image mode property to be read-only by default 2023-07-29 09:28:18 +10:00
Andrew Murray
2db354af43 Allow saving I;16B images as PNG 2023-07-24 17:17:15 +10:00
Andrew Murray
541d2605b9 Allow alpha differences to indicate different frames when saving GIF 2023-06-14 14:21:07 +10:00
Andrew Murray
17b19b5668 Merge branch 'main' into apng 2023-06-14 11:26:42 +10:00
Andrew Murray
a0b691a219 Fixed combining single duration across duplicate PNG frames 2023-05-09 12:12:16 +10:00
Andrew Murray
ebd3c47425 When saving, allow alpha differences to indicate different frames 2023-04-29 15:02:11 +10:00
Hugo van Kemenade
c8ec15980b Remove constants deprecated in 9.1.0 2023-04-06 16:11:36 +03:00
Andrew Murray
0966293a0d Consider transparency when applying blend mask 2023-03-16 20:05:56 +11:00
pre-commit-ci[bot]
24183d652e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-02-06 19:27:19 +00:00
Hugo van Kemenade
2ae55ccbda Improve exception traceback readability 2022-12-30 00:07:52 +02:00
Andrew Murray
88f15eb9f0 Do not save EXIF from info 2022-12-23 12:10:36 +11:00
Andrew Murray
46b0644c4f Do not modify previous frame when calculating delta 2022-10-24 22:19:22 +11:00
Hugo van Kemenade
3d491663ba
Merge pull request #6610 from radarhere/png_save_all 2022-10-18 16:14:53 +02:00
Andrew Murray
b34307b9d2 Corrected docstring 2022-09-30 21:57:54 +10:00
Eric Soroos
db1b74198b Don't reassign crc on close 2022-09-30 21:49:15 +10:00
Andrew Murray
b2b3b62be7 Consider all frames when selecting mode for PNG save_all 2022-09-23 20:06:08 +10:00
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