Commit Graph

6501 Commits

Author SHA1 Message Date
wiredfool
6559674032 Test passing in an I mode image 2017-03-08 01:35:15 -08:00
wiredfool
b7689627e8 Add tests for passing in a separate palette while saving a gif 2017-03-08 01:35:15 -08:00
wiredfool
f6b22bf0ab moved normalise_ functions together 2017-03-08 01:35:15 -08:00
wiredfool
abb7b7342e Added function docstring 2017-03-08 01:35:15 -08:00
wiredfool
770c423181 Regroup methods, add docstring comments 2017-03-08 01:35:15 -08:00
wiredfool
46287eb62a Renamed _get_local_header to _write_local_header 2017-03-08 01:35:15 -08:00
Andrew Murray
ab7e07c54d Added comment that getdata is legacy 2017-03-08 01:35:15 -08:00
Andrew Murray
9a36a51916 Test from #2375, 0ebb4cd1c0 2017-03-08 01:35:15 -08:00
wiredfool
aea2a4ca8d legacy getheader mutates the image 2017-03-08 01:35:14 -08:00
wiredfool
872bce552f Docstring Comments on methods 2017-03-08 01:35:14 -08:00
wiredfool
f5e836b442 removed extra param from _get_global_header 2017-03-08 01:35:14 -08:00
wiredfool
321c6165c9 removed extra params from _get_palette_bytes 2017-03-08 01:35:14 -08:00
wiredfool
b315b6ecf3 Don't requantize 'P' images 2017-03-08 01:35:14 -08:00
wiredfool
26e145c8a3 Refactor _convert_mode -> _normalize_mode 2017-03-08 01:34:31 -08:00
wiredfool
b9618b3ce7 Encoderinfo fix 2017-03-08 19:41:18 +11:00
wiredfool
cee397ab00 Refactor get_palette to do one thing, and not mutate the image in place 2017-03-08 19:41:18 +11:00
wiredfool
1e9afb3ecb Refactor out the palette remapping to Image.Image 2017-03-08 19:41:18 +11:00
wiredfool
24285fdc28 Remove support for PIL plus external encoder 2017-03-08 19:41:18 +11:00
Andrew Murray
87a14ce6de Created _write_single_frame and _write_multiple_frames from _save 2017-03-08 19:41:18 +11:00
Andrew Murray
d45f1d835b Removed second return value from _get_palette_bytes 2017-03-08 19:41:18 +11:00
Andrew Murray
26cfa8cc62 Extracted core of getheader into _get_global_header 2017-03-08 19:41:18 +11:00
Andrew Murray
a43295c3dd Extracted core of getdata into _write_frame_data 2017-03-08 19:41:18 +11:00
Andrew Murray
af57ff8d45 Simplified code 2017-03-08 19:41:18 +11:00
Andrew Murray
bc8cd5fabf Added test 2017-03-08 19:41:18 +11:00
Andrew Murray
b06669f670 Resolved GifImagePlugin FIXME 2017-03-08 19:41:18 +11:00
Andrew Murray
f28084ae3e Removed unnecessary copy operation 2017-03-08 19:41:18 +11:00
Andrew Murray
ce87310026 Merged _get_used_palette_colors into _get_optimize 2017-03-08 19:41:18 +11:00
Andrew Murray
4df1305073 Only call _get_used_palette_colors when necessary 2017-03-08 19:41:18 +11:00
Andrew Murray
bf0b4cf279 Minor code cleanup in GifImagePlugin 2017-03-08 19:41:18 +11:00
Andrew Murray
562458cdd3 Added _save_netpbm comment 2017-03-08 19:41:18 +11:00
wiredfool
49ae1ea608 Update CHANGES.rst [ci skip] 2017-03-06 18:56:59 +00:00
wiredfool
c0ca5c184d Merge pull request #2443 from hugovk/test-containerio
Test ContainerIO for correctness
2017-03-06 18:54:38 +00:00
wiredfool
9f88a55fa3 Merge pull request #2442 from hugovk/test-xvthumb
Test XVThumbImagePlugin for correctness
2017-03-06 18:53:58 +00:00
wiredfool
1a8f88986d Merge pull request #2441 from hugovk/test-bufrstub
Test BufrStubImagePlugin for correctness
2017-03-06 18:53:13 +00:00
wiredfool
9da968fc0e Merge pull request #2440 from hugovk/test-gribstub
Test GribStubImagePlugin for correctness
2017-03-06 18:52:36 +00:00
Hugo
3e6d867ae8 Compare to a Hopper image with a similar XV palette 2017-03-06 17:33:47 +02:00
hugovk
d69e252eb8 Remove unnecessary lambda 2017-03-05 09:14:44 +02:00
hugovk
83252ca4b1 Test ContainerIO for correctness 2017-03-05 00:46:30 +02:00
hugovk
a03a6e2049 Test unexpected EOF 2017-03-04 23:33:43 +02:00
hugovk
dc3233d52c Created by editing hopper.p7 in a text editor 2017-03-04 23:31:49 +02:00
hugovk
94c07f68fb Python 3 fix 2017-03-04 23:28:08 +02:00
hugovk
052905bf5c Remove unnecessary lambda 2017-03-04 23:19:41 +02:00
hugovk
5cf56e796f Refactor to reuse _accept 2017-03-04 20:03:34 +02:00
hugovk
a0f50d7305 Get integers, not single-item lists of integers 2017-03-04 19:58:49 +02:00
hugovk
c79204bf08 Test XVThumbImagePlugin for correctness 2017-03-04 19:54:06 +02:00
hugovk
7371e813f6 pngtopam hopper.png | pamtoxvmini > hopper.p7 2017-03-04 19:52:49 +02:00
hugovk
277d8123a4 Only need to read 4 bytes 2017-03-04 16:39:03 +02:00
hugovk
35e6cb1d09 Test BufrStubImagePlugin for correctness 2017-03-04 16:35:54 +02:00
hugovk
f09427c8bd From http://www.ftp.ncep.noaa.gov/data/nccf/com/gfs/prod/gfs.2017030406/ 2017-03-04 16:25:28 +02:00
hugovk
5d2e4f48dd Reorder tests to match others 2017-03-04 16:10:52 +02:00