Commit Graph

2277 Commits

Author SHA1 Message Date
Andrew Murray
b0d0d2b9cc Fixed saving L mode GIF with background as WebP 2022-03-22 20:17:28 +11:00
Hugo van Kemenade
a6a843e548
Merge pull request #6140 from radarhere/webp_duration
Added WebP default duration of zero when saving
2022-03-22 09:23:10 +02:00
Andrew Murray
be9ee98631 Removed period before colon 2022-03-19 17:48:31 +11:00
Hugo van Kemenade
7857a1dff0
Merge pull request #6119 from radarhere/ppm_maxval 2022-03-18 18:14:40 +02:00
Andrew Murray
2981569b29 Added default duration of zero 2022-03-17 23:49:23 +11:00
Andrew Murray
6f128c4c39 Removed unused variable 2022-03-15 22:15:24 +11:00
Hugo van Kemenade
515957b2ac
Merge pull request #6097 from radarhere/bigtiff 2022-03-11 23:05:41 +02:00
Andrew Murray
ca6724bb9d Merge branch 'main' into gif 2022-03-11 08:44:42 +11:00
Hugo van Kemenade
5c931de27f
Merge pull request #6117 from radarhere/return 2022-03-10 22:27:03 +02:00
Hugo van Kemenade
06396094c0
Merge pull request #6116 from radarhere/load_prepare 2022-03-10 22:26:00 +02:00
Hugo van Kemenade
652542c770
Merge pull request #6112 from radarhere/i_i16_conversion
Clip I;16 to be unsigned, not signed
2022-03-10 19:56:45 +02:00
Hugo van Kemenade
29960c6610
Merge pull request #6108 from radarhere/none 2022-03-10 17:36:13 +02:00
Hugo van Kemenade
d0a33addc5
Merge pull request #6086 from radarhere/l_gif 2022-03-10 17:35:00 +02:00
Andrew Murray
ad07b04678 Maximum maxval is 65535 2022-03-10 09:55:47 +11:00
Andrew Murray
4283a604c0 Added support for arbitrary maxval 2022-03-09 22:29:45 +11:00
Andrew Murray
e87432b745 First return value is unused 2022-03-08 19:51:24 +11:00
Andrew Murray
54a4a38e42 Return -1 when finished decoding 2022-03-08 19:48:58 +11:00
Andrew Murray
0d6f3ad6cc Removed load_prepare nearly identical to ImageFile load_prepare 2022-03-08 19:01:57 +11:00
Andrew Murray
397a940995
Merge pull request #6094 from radarhere/decoder
Improved codec documentation
2022-03-07 08:01:31 +11:00
Hugo van Kemenade
c16737d589
Merge pull request #6096 from radarhere/cleanup 2022-03-06 20:12:13 +02:00
Hugo van Kemenade
180c89f755
Merge pull request #6092 from radarhere/accept 2022-03-05 23:10:08 +02:00
Andrew Murray
633abcbe7e
Updated error message
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-03-06 07:27:11 +11:00
Hugo van Kemenade
c32f908629
Merge pull request #6106 from radarhere/imagestat
Document that histogram() uses 256 bins per channel
2022-03-05 08:27:25 +02:00
Andrew Murray
c8b69a78f3 Clip I;16 to be unsigned, not signed 2022-03-05 13:42:39 +11:00
Andrew Murray
72b7ab54bd pre-commit autoupdate --freeze 2022-03-04 16:42:24 +11:00
Andrew Murray
f7504b1ef9 Changed variable 2022-03-04 15:49:37 +11:00
Andrew Murray
4f8173f53f Refactored to reduce risk of infinite loop 2022-03-04 15:22:47 +11:00
Andrew Murray
65edcc4f77 Merge branch 'main' into PPMheaders 2022-03-04 12:30:41 +11:00
Andrew Murray
f5b9e2c43a Explicitly check if magic number is empty 2022-03-04 12:29:20 +11:00
Andrew Murray
3426052874 Removed re-raising of exception 2022-03-04 12:27:28 +11:00
Andrew Murray
cb4e26783f Retain variable case for backwards compatibility 2022-03-04 12:27:14 +11:00
Andrew Murray
e2e87d73c3 Reverted SyntaxError change to match other plugins 2022-03-04 12:26:55 +11:00
Andrew Murray
c27519960f Check if self.im is not None 2022-03-03 22:10:19 +11:00
Andrew Murray
de968dd920 Document that histogram() uses 256 bins per channel 2022-03-02 21:21:25 +11:00
Andrew Murray
7d3274518d Allow LA to be used as a mask in paste() 2022-03-01 21:05:42 +11:00
Andrew Murray
e2b007f0c2 Use transparency info key when converting to LA 2022-03-01 20:25:25 +11:00
Andrew Murray
5c6212052c Convert subsequent frames of L mode GIF to LA if transparency is present 2022-03-01 20:11:35 +11:00
Andrew Murray
573cf278f1 Reset size when seeking away from "Large Thumbnail" MPO frame 2022-03-01 19:10:10 +11:00
Andrew Murray
2b9cc3ccc5 Documented writing your own encoder in C 2022-03-01 16:34:21 +11:00
Andrew Murray
95e3194497 Improved documentation for _pulls_fd and _pushes_fd 2022-03-01 13:15:12 +11:00
Andrew Murray
fc7319318e Added BigTIFF reading 2022-03-01 09:23:12 +11:00
Andrew Murray
bb9338e34d Removed duplicate code 2022-02-28 14:13:04 +11:00
Andrew Murray
4d868abd8a Moved non-codec code outside of try block 2022-02-28 14:13:04 +11:00
Andrew Murray
a606fd85a3 Run encoder cleanup method after errors as well 2022-02-28 14:12:56 +11:00
Andrew Murray
f2987d65c0 Linked to file codec documentation 2022-02-28 08:36:26 +11:00
Hugo van Kemenade
1d3b373160
Merge pull request #6069 from radarhere/pyencoder 2022-02-27 18:34:09 +02:00
Andrew Murray
56324c300d Simplify code by using _accept 2022-02-27 14:48:36 +11:00
Andrew Murray
e2288356ca Use _accept check in _open 2022-02-27 14:48:36 +11:00
Andrew Murray
885e305fe9 Make code clearer by matching _accept condition 2022-02-27 14:48:36 +11:00
Andrew Murray
83b9e66133 Moved flags check into _accept 2022-02-27 14:48:36 +11:00