Andrew Murray
|
58b5c9187d
|
Replaced absolute PIL imports with relative imports (#2349)
|
2017-01-17 13:22:18 +00:00 |
|
Andrew Murray
|
a06dd59df7
|
Added context managers
|
2016-12-28 09:54:10 +11:00 |
|
wiredfool
|
944a470a79
|
Merge pull request #2312 from wiredfool/pr_2298
List of individual frame durations for saving animated gifs. #2298
|
2016-12-27 12:00:40 +00:00 |
|
wiredfool
|
f36a04570f
|
Merge pull request #2313 from wiredfool/pr_2196
Unified different GIF optimize conditions #2196, Test for #2196
|
2016-12-27 11:53:50 +00:00 |
|
wiredfool
|
e530f2a228
|
Added tuple option for durations
|
2016-12-27 03:04:37 -08:00 |
|
wiredfool
|
87092ad4f8
|
can pass list of integer to set different duration for each frame when saving GIF
|
2016-12-27 02:44:05 -08:00 |
|
Jon Dufresne
|
ffa5bc2726
|
Use generator expressions instead of list comprehension
Avoids unnecessary temporary lists in memory.
|
2016-11-14 18:11:15 -08:00 |
|
Andrew Murray
|
2ba2763f0b
|
Replaced range(len()) with enumerate
|
2016-11-05 19:09:14 +11:00 |
|
Andrew Murray
|
a51dc7dcaf
|
Unified different GIF optimize conditions
|
2016-11-05 13:32:02 +11:00 |
|
Jon Dufresne
|
7992d2a65a
|
Fix BytesWarning discovered while running tests
Discovered using the command:
python -b -m nose -vx Tests/test_*.py
|
2016-10-22 12:35:44 -07:00 |
|
wiredfool
|
a51d3bcdba
|
Speed up Gif save optimization step: don't do it as often and do it in C. Fixes #2093
|
2016-09-26 14:51:28 -07:00 |
|
Andrew Murray
|
b346ed36f1
|
Added append_images parameter to GIF saving
|
2016-09-11 12:04:01 +10:00 |
|
Andrew Murray
|
be7a191b6e
|
Added local color table for subsequent GIF frames
|
2016-09-11 11:57:45 +10:00 |
|
Andrew Murray
|
8298fcce73
|
Added support for GIF comment extension
|
2016-05-07 13:57:40 +10:00 |
|
Andrew Murray
|
384d32969d
|
Replaced flush try except with hasattr
|
2015-12-10 09:22:30 +11:00 |
|
Andrew Murray
|
e9a6a96053
|
Specified exception type
|
2015-12-02 16:23:49 +11:00 |
|
Andrew Murray
|
1b8d12b048
|
If only one frame, do not use image from sequence
|
2015-08-24 23:51:02 +10:00 |
|
Andrew Murray
|
e88e90b8ed
|
Minor improvement, one less copy
|
2015-08-24 23:23:52 +10:00 |
|
Andrew Murray
|
88fca0f555
|
Fixed palette issue when saving
|
2015-08-24 23:23:07 +10:00 |
|
Andrew Murray
|
b8ff91ab3b
|
Corrected version number when saving GIFs
|
2015-08-21 22:10:13 +10:00 |
|
Andrew Murray
|
f64bc891d4
|
Changed GifImagePlugin to include use image info params
|
2015-08-21 22:09:05 +10:00 |
|
Andrew Murray
|
4fbea3e553
|
Added multiframe GIF test
|
2015-07-01 09:18:05 +10:00 |
|
Alex Clark
|
be1df0f33c
|
Merge pull request #1320 from radarhere/gifmaker
Merged gifmaker into GifImagePlugin
|
2015-06-30 08:00:39 -04:00 |
|
Andrew Murray
|
2c4fe7281f
|
Merged gifmaker into GifImagePlugin
|
2015-06-30 18:02:48 +10:00 |
|
Andrew Murray
|
d20eef450b
|
Added is_animated
|
2015-06-30 13:25:00 +10:00 |
|
Andrew Murray
|
1111e9fb35
|
Fixed frame position when seeking past the end of file
|
2015-06-19 00:49:18 +10:00 |
|
wiredfool
|
30631902d6
|
Merge pull request #1231 from radarhere/image_palette
Copy image when saving in GifImagePlugin
|
2015-06-16 11:49:41 -07:00 |
|
Andrew Murray
|
ecb1cef99b
|
Added background color index saving to GifImagePlugin
|
2015-06-11 11:10:05 +10:00 |
|
Andrew Murray
|
42d1aabcc4
|
Removed interlace flag from GifImagePlugin getdata
|
2015-06-09 20:21:00 +10:00 |
|
Antony Lee
|
1b80fe5507
|
Provide n_frames attribute to multi-frame formats.
cf #1190, #1192. Tests missing.
|
2015-06-08 00:40:23 +10:00 |
|
Hugo
|
b816c048ad
|
Merge pull request #1172 from radarhere/gif
Added duration and loop set to GifImagePlugin
|
2015-06-04 13:07:58 +03:00 |
|
Andrew Murray
|
3c7e37d2d7
|
Replaced old-style classes
|
2015-05-27 00:07:21 +10:00 |
|
Andrew Murray
|
ca89d431ba
|
To avoid modifications, copy image when saving in GifImagePlugin
|
2015-05-13 16:39:25 +10:00 |
|
Andrew Murray
|
f028928b5a
|
Rearranged used_palette_colors to fix get_local_header
|
2015-04-24 00:44:27 +10:00 |
|
Andrew Murray
|
aa1368f551
|
Flake8 fixes
|
2015-04-23 23:41:42 +10:00 |
|
Andrew Murray
|
a5917b3fa3
|
Added GifImagePlugin tests
|
2015-04-04 11:45:30 +11:00 |
|
Andrew Murray
|
ecebedba7f
|
Added loop set to GifImagePlugin
|
2015-04-04 10:33:35 +11:00 |
|
Andrew Murray
|
e36e7dd7a2
|
Added duration set to GifImagePlugin
|
2015-04-04 10:33:35 +11:00 |
|
hugovk
|
2879819ce7
|
Style/health fixes
|
2015-04-01 16:47:01 +03:00 |
|
Moriyoshi Koizumi
|
9d60085957
|
The optimization algorithm is only applicable to the image of mode="P" or "L".
|
2014-11-06 21:29:27 +09:00 |
|
hugovk
|
8de95676e0
|
flake8
|
2014-08-26 16:47:10 +03:00 |
|
Nikita Uvarov
|
97e111d079
|
Fixed wrong mode of gif image.
In case of L mode and small image.
|
2014-08-07 16:23:08 +03:00 |
|
Lars Jørgen Solberg
|
925277cbfc
|
ensure that the prevous frame was loaded when seek()ing
|
2014-07-07 20:46:54 +02:00 |
|
Lars Jørgen Solberg
|
047832c6c6
|
only update the disposal_method if it not 'unspecified'
|
2014-07-03 19:01:18 +02:00 |
|
Lars Jørgen Solberg
|
f88a355c6c
|
Handle transparency between frames for animated GIFs
Show the previous frame for transparent pixels when the disposal method is 'do not dispose'.
This fixes issue 634.
|
2014-07-03 18:53:21 +02:00 |
|
Lars Jørgen Solberg
|
08a9bdbcd6
|
Fix dispose calculations
- use correct dispose mode
- only apply the dispose on extent of the previous frame
|
2014-07-02 21:27:52 +02:00 |
|
wiredfool
|
b981ef425b
|
Suppress stderr from ppmquant and ppmtogif
|
2014-06-29 14:24:32 -07:00 |
|
Michael Brown
|
a301d061fb
|
Better error checking in _save_netpbm
|
2014-06-27 19:07:20 -04:00 |
|
Michael Brown
|
34317edd8a
|
Change most uses of os.system to use subprocess
The only places left that use os.system are in ImageShow and setup.py
|
2014-06-27 19:07:20 -04:00 |
|
wiredfool
|
a77ee2d8c5
|
Fix test failure when optimizing the palette on mode L gifs
|
2014-03-04 21:44:32 -08:00 |
|