Commit Graph

2099 Commits

Author SHA1 Message Date
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
Hugo
bd9c555905 Update CHANGES.rst [CI skip] 2014-06-30 02:17:45 +03:00
Hugo
d8f55e3f50 Merge pull request #748 from wiredfool/djpeg
Prevent shell injection
2014-06-30 02:16:06 +03:00
Hugo
5833ecb4d6 Merge pull request #749 from wiredfool/helper
Helper Tweak
2014-06-30 01:17:24 +03:00
wiredfool
2d13166667 Don't print the entire image as bytes on failure 2014-06-29 14:39:32 -07:00
wiredfool
b981ef425b Suppress stderr from ppmquant and ppmtogif 2014-06-29 14:24:32 -07:00
wiredfool
5fdc14facb Removing previous approach 2014-06-29 13:46:17 -07:00
wiredfool
dba6fd7cd4 Update CHANGES.rst [ci skip] 2014-06-29 13:35:11 -07:00
wiredfool
118a2d5ff0 Merge pull request #745 from gcq/master
Handle resolution in BMP files
2014-06-29 13:32:02 -07:00
Alex Clark
8534e67546 Completely automate my pre-release testing routine
This Makefile completely automates my pre-release testing routine which typically occurs only in Python 2.7, but gives me a "good enough" view of the status quo.
2014-06-29 08:04:58 -04:00
Alex Clark
4417569195 Run test-installed.py 2014-06-29 08:01:25 -04:00
Alex Clark ☺
8dbc00643f Merge pull request #746 from cgohlke/patch-1
Fix build failure when compiler.include_dirs refers to nonexistent directory
2014-06-28 20:12:14 -04:00
cgohlke
526ac7e278 Fix build failure when compiler.include_dirs refers to nonexistent directory 2014-06-28 16:15:06 -07:00
gcq
61be1d8b19 dpi key should only be present when there is resolution info in the BMP header. 2014-06-28 23:59:01 +02:00
Alex Clark
2633408dc3 Update 2014-06-28 17:48:32 -04:00
Alex Clark ☺
c1035c2832 Merge pull request #744 from matthew-brett/py3-setup-fix
FIX: fix error for setup.py for Python 3
2014-06-28 17:47:36 -04:00
gcq
92b070ceaf Addes tests 2014-06-28 23:22:52 +02:00
gcq
9318755a18 Adds dpi to the Image info dictinoary. 2014-06-28 23:21:22 +02:00
Alex Clark ☺
1d7b362baf Merge pull request #743 from hugovk/pyroma
Test to ensure Pyroma is a 10/10 Mascarpone
2014-06-28 17:17:50 -04:00
Matthew Brett
29a65c1373 FIX: fix error for setup.py for Python 3
The subprocess command in Python 3 returns a bytes object.  If the
homebrew subprocess check returns a not-empty result, then setup crashes
trying to combine the bytes with the string constants with and error
like "TypeError: Can't mix strings and bytes in path components."
2014-06-28 22:03:40 +01:00
hugovk
d5bb962f83 Add test to ensure a Pyroma is a 10/10 Mascarpone 2014-06-28 23:48:14 +03:00
Alex Clark
acfeeaa33f Merge branch 'master' of github.com:python-pillow/Pillow 2014-06-28 16:23:03 -04:00
Alex Clark
df7d89616e Run same tests Travis runs 2014-06-28 16:22:52 -04:00
Hugo
b1afb88268 Update CHANGES.rst [CI skip] 2014-06-28 23:22:21 +03:00
Alex Clark
ed3cffab6f Add self; make note about reqs
I am adding requirements.txt to make it even more obvious we are using nose for testing, and for my own convenience.
2014-06-28 16:20:12 -04:00
gcq
103354facc BMP now uses a reasonable resolution, and customizable using the "dpi" option. 2014-06-28 22:18:47 +02:00
Alex Clark
2d7f0c06d0 Add testing deps 2014-06-28 16:15:53 -04:00
Alex Clark
31e2e95533 Fix manifest 2014-06-28 16:14:35 -04:00
Alex Clark
8c8a9ef83f Update 2014-06-28 16:10:42 -04:00
Alex Clark
5fd20b9f24 Prefer .rst 2014-06-28 16:07:38 -04:00
Hugo
f8ad69431e Merge pull request #742 from wiredfool/pyroma
Pyroma fix
2014-06-28 22:03:16 +03:00
Hugo
c567c3ec89 Merge pull request #741 from python-pillow/flake8-fixes
Top level flake8 fixes
2014-06-28 08:26:15 +03:00
Alex Clark
2f09622516 Top level flake8 fixes 2014-06-27 19:13:00 -04:00
Michael Brown
8b365f542a Skip tests if external commands aren't found 2014-06-27 19:11:01 -04:00
Michael Brown
a301d061fb Better error checking in _save_netpbm 2014-06-27 19:07:20 -04:00
Michael Brown
b5ab5a49e7 Add libjpeg-turbo-progs to travis install 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
Michael Brown
d283f77884 Tests for _save_netpbm, _save_cjpeg and load_djpeg 2014-06-27 19:07:20 -04:00
Michael Brown
cd7b45994b Prevent shell injection in load_djpeg 2014-06-27 19:07:20 -04:00
wiredfool
b6d3983c59 Created README 2014-06-27 16:02:42 -07:00
Alex Clark
5e3bf95c84 Fix manifest 2014-06-27 17:43:24 -04:00
Alex Clark
e7aee1444c Update 2014-06-27 16:26:42 -04:00
Alex Clark ☺
c28dfce2f9 Merge pull request #736 from hugovk/arg
Remove obsolete Animated Raster Graphics (ARG) support
2014-06-27 16:26:20 -04:00
Hugo
be61256222 Merge pull request #738 from hugovk/warning
Warn about decompression bombs
2014-06-27 21:47:06 +03:00
hugovk
c927ab266e Warn about decompression bombs 2014-06-27 21:30:08 +03:00
wiredfool
3f5b15ff31 Merge pull request #735 from hugovk/test_cleanup
Remove old, unused cms_test.py
2014-06-27 09:57:20 -07:00
wiredfool
9305e8499b Added python 3.4 2014-06-27 08:58:27 -07:00
wiredfool
c23f900250 reverted __main__ guard 2014-06-27 08:57:49 -07:00
hugovk
c261674980 Remove obsolete Animated Raster Graphics support 2014-06-27 15:58:12 +03:00