Leonid Bloch
28b818974e
Allow to save tiff stacks from separate images
...
This is a quick solution that will allow to save tiff stacks from
separate images, e.g. from Numpy arrays.
Previously, tiff stacks could be saved only from multiframe images.
This behavior is similar to what is possible now with GIFs.
Note however, that for correct results, all the appended images should
have the same encoder{info,config} properties.
Example:
import numpy as np
from PIL import Image
a = np.ones((100,100,100), dtype=np.uint8)
imlist = []
for m in a:
imlist.append(Image.fromarray(m))
imlist[0].save("test.tif", compression="tiff_deflate", save_all=True,
append_images=imlist[1:])
(Should result in a 100-frame, 100x100 tiff stack.)
Signed-off-by: Leonid Bloch <leonid.bloch@esrf.fr>
2017-02-17 00:57:00 +02:00
wiredfool
0f9233623e
Update CHANGES.rst [ci skip]
2017-02-07 19:39:40 +00:00
wiredfool
3ea2599984
Merge pull request #2355 from gunjambi/imagecms-preserve-aux-channels
...
Imagecms preserve aux channels
2017-02-07 19:38:05 +00:00
wiredfool
2d271e2374
Update CHANGES.rst [ci skip]
2017-02-06 21:59:34 +00:00
wiredfool
9c4eafc188
Merge pull request #2382 from hugovk/test-effects
...
Test linear and radial gradient effects
2017-02-06 21:58:41 +00:00
hugovk
d7fe8d1eb7
Linear and radial gradient: only need one target image
2017-02-06 22:03:17 +02:00
wiredfool
88d7c6f09d
Update CHANGES.rst [ci skip]
2017-02-06 17:00:31 +00:00
wiredfool
cdaa448782
Merge pull request #2389 from hugovk/outline
...
Test ImageDraw.Outline and and ImageDraw.Shape
2017-02-06 16:57:18 +00:00
wiredfool
c0b1c9c30e
Merge pull request #2392 from radarhere/qt
...
Added PySide to ImageQt documentation
2017-02-06 16:56:10 +00:00
Andrew Murray
973d1cfb3d
Added PySide to ImageQt documentation [ci skip]
2017-02-05 14:45:55 +11:00
wiredfool
997bcb269b
Update CHANGES.rst [ci skip]
2017-01-31 19:04:30 +00:00
wiredfool
b93025fa5b
Merge pull request #2380 from evalapply/master
...
BUG fix: '' in image mode no longer causes a crash
2017-01-31 19:03:29 +00:00
hugovk
96dfd722c3
Test ImageDraw.Outline curve
2017-01-31 08:22:33 +02:00
hugovk
008431fe0e
Test ImageDraw.Outline curve
2017-01-30 21:50:48 +02:00
wiredfool
7068e645ae
Updated Changes.rst [ci skip]
2017-01-30 11:30:10 +00:00
wiredfool
0450788f1a
Merge pull request #2386 from radarhere/manifest
...
Exclude .travis and contents from manifest
2017-01-30 11:29:28 +00:00
Andrew Murray
bb129c4cae
Exclude .travis and contents from manifest
2017-01-30 19:51:28 +11:00
Andrew Murray
0f06d817bb
Merge pull request #2385 from hugovk/fix-syntax-error
...
Fix after_success.sh syntax error
2017-01-30 19:24:59 +11:00
hugovk
5e5eb9b2f4
Fix syntax error
2017-01-30 08:53:09 +02:00
hugovk
05aa252f9f
Tabs to spaces and add defensive brackets
2017-01-29 18:50:30 +02:00
hugovk
07af06bf8c
Expose and test radial_gradient
2017-01-29 18:44:24 +02:00
hugovk
3ead178d18
flake8
2017-01-29 18:38:06 +02:00
hugovk
47b1c66961
Expose and test linear_gradient
2017-01-29 18:17:31 +02:00
Hugo
92c9e7255e
[CI skip]
2017-01-29 13:38:54 +02:00
Hugo
6d11fa23dd
Merge pull request #2145 from wiredfool/license
...
Remove 'MIT-like' from license
2017-01-29 13:17:32 +02:00
Hugo
5d9c975c46
Merge branch 'master' into license
2017-01-29 13:06:10 +02:00
Hugo
7726296a93
Merge pull request #2379 from radarhere/test
...
Add tests for several Image operations
2017-01-29 12:56:53 +02:00
Lukasz Kozuchowski
3e317f3ca0
Empty image mode test
2017-01-29 07:50:28 +01:00
Lukasz Kozuchowski
3ffcd9770c
BUG fix: '' in image mode no longer causes a crash
2017-01-29 07:20:44 +01:00
Jarkko Pöyry
4a1ad8986f
Preserve auxiliary channels during CMS transform.
2017-01-28 22:05:49 +02:00
Jarkko Pöyry
fa56b3d255
Add tests for CMS transform auxiliary channel preservation. See bug #1662 .
2017-01-28 22:04:49 +02:00
Andrew Murray
e67ee44ea8
Added test for missing method data in Image transform
2017-01-28 14:21:41 +11:00
Andrew Murray
cd114cef3f
Added test for Image fromstring NotImplementedError
2017-01-28 14:16:39 +11:00
Andrew Murray
2039d43d85
Added test for unknown filter in Image resize
2017-01-28 14:09:28 +11:00
Andrew Murray
01cb6590a4
Added test for point operation on F mode image
2017-01-28 14:02:22 +11:00
Andrew Murray
e8495e5917
Added test for abbreviated Image paste mask syntax
2017-01-28 13:50:44 +11:00
Andrew Murray
581fef2ebd
Added test for Image offset NotImplementedError
2017-01-28 13:06:28 +11:00
wiredfool
851aa210df
Update CHANGES.rst [ci skip]
2017-01-26 14:31:40 +00:00
wiredfool
2df28a6601
Merge pull request #2347 from radarhere/icc_profile
...
Moved iCCP chunk before PLTE chunk when saving as PNG
2017-01-26 14:26:25 +00:00
wiredfool
54eedd8119
Updated Changes.rst [ci skip]
2017-01-26 14:23:19 +00:00
wiredfool
a62f2c5b44
Merge pull request #2365 from SemanticsOS/lambdafu/dpiresolution
...
Default to inch-interpretation for missing ResolutionUnit in TiffImagePlugin
2017-01-26 14:22:32 +00:00
wiredfool
74a29602e8
Updated Changes.rst [ci skip]
2017-01-26 14:12:58 +00:00
wiredfool
2d06d8550f
Merge pull request #2359 from wiredfool/issue_1902
...
Fix for issue ImageTk Integer Overflow error
2017-01-26 14:12:32 +00:00
wiredfool
a71ba1a1c6
comments
2017-01-26 05:55:18 -08:00
wiredfool
b4fbd36adb
Updated Changes.rst [ci skip]
2017-01-26 13:42:07 +00:00
wiredfool
fea66e9c1c
Merge pull request #2368 from wiredfool/travis-docker
...
Docker images for additional travis runs
2017-01-26 13:40:18 +00:00
wiredfool
a69c37738a
Look in a different location for the tk intepreter on pypy fixes #2376
2017-01-26 05:32:40 -08:00
Eric Soroos
e66271d464
added tests for functionality in ImageTk
2017-01-26 05:31:45 -08:00
wiredfool
ca3f6a25f4
Applied patch: a91559b82c
to fix issue #1902
2017-01-26 05:31:45 -08:00
wiredfool
02e077aa48
run pep8/pyflakes on all non-docker builds
2017-01-21 02:21:58 -08:00