Commit Graph

1686 Commits

Author SHA1 Message Date
wiredfool
f5a8ece187 Merge pull request #2254 from uploadcare/resample-roi
Region of interest (box) for resampling
2017-08-22 22:35:12 +01:00
Alexander
b975f9db92 Merge branch 'master' into resample-roi
# Conflicts:
#	libImaging/Resample.c
2017-08-17 15:43:30 +03:00
wiredfool
300dfcf4a4 Test/fix for issue #2044 2017-08-16 11:46:27 -07:00
wiredfool
a42f993bec Merge pull request #2675 from radarhere/im
Added test for ImImagePlugin tell()
2017-08-16 15:41:37 +01:00
wiredfool
c0f0268651 Merge pull request #2667 from vytisb/exif_zerodivision
Fix ZeroDivisionError when EXIF contains invalid DPI (0/0).
2017-08-16 15:39:20 +01:00
wiredfool
b4a373eae7 Merge pull request #2659 from radarhere/sgi_tests
Added tests for SgiImagePlugin
2017-08-16 15:37:35 +01:00
wiredfool
e2602452f4 Merge pull request #2661 from uploadcare/get-channel
New Image.getchannel method
2017-08-16 15:33:54 +01:00
wiredfool
1d416c58e5 Merge pull request #2674 from radarhere/fli
Use frame count from FLI header
2017-08-16 15:13:27 +01:00
wiredfool
e7aa155b72 Merge pull request #2654 from python-pillow/storage-cleanup
Storage cleanup
2017-08-16 12:00:32 +01:00
Andrew Murray
72f0c7b873 Updated tests 2017-08-16 20:57:10 +10:00
wiredfool
680a7ac43b Merge branch 'master' into fli 2017-08-16 11:46:55 +01:00
wiredfool
b56d533aea Merge pull request #2650 from hugovk/fix-fli-seek-load
Test animated FLI file
2017-08-16 11:44:35 +01:00
wiredfool
851d4ec538 Merge pull request #2645 from hugovk/mv-createfontdatachunk
Move createfontdatachunk.py so isn't installed globally
2017-08-16 11:38:11 +01:00
wiredfool
3967e00bcd Merge pull request #2641 from hugovk/fix-unexpected-align
Fix unexpected keyword argument 'align'
2017-08-16 11:37:12 +01:00
Alexander
847dd67a41 serious test for kernel filters 2017-08-12 23:22:59 +03:00
Alexander
e16ab0ad2e add tests, fix implementation 2017-08-12 14:10:39 +03:00
Andrew Murray
7088e1a201 Added tests 2017-08-12 19:30:09 +10:00
Andrew Murray
4744fc0584 Added test for ImImagePlugin tell() 2017-08-12 15:54:54 +10:00
Alexander
79eae6e3bf actually box can be empty, this is noop 2017-08-11 19:36:46 +03:00
Alexander Karpinsky
09a2e1641b Merge branch 'master' into resample-roi 2017-08-11 19:10:11 +03:00
Vytis Banaitis
7c8e0e4457 Fix ZeroDivisionError when EXIF contains invalid DPI (0/0). 2017-08-09 16:16:14 +03:00
Alexander
349e300d7b use getchannel where is possible 2017-08-09 02:36:07 +03:00
Andrew Murray
5d5a2a3762 Added test for 1 dimensional L mode SGI save 2017-08-07 21:57:59 +10:00
Andrew Murray
667fff7862 Added SGI test for an incorrect number of bands 2017-08-07 20:10:39 +10:00
Andrew Murray
e4927b8f2f Added SGI test for saving an image in an unsupported mode 2017-08-07 19:21:54 +10:00
Alexander
0649da02c6 fix tests on python 3 2017-08-06 14:12:55 +03:00
Alexander
6b50ba07fd add tests for Image.new modes 2017-08-06 14:12:55 +03:00
Hugo
382db4442c Test animated FLI 2017-08-04 14:41:28 +03:00
Hugo
47aa59a046 Add from https://samples.libav.org/fli-flc/
https://samples.libav.org/ says:

This is the Libav samples collection.
You can find samples of various common and uncommon
multimedia formats here. The size of the collection
currently is 54GB and growing.

You are free to download any samples you want, but
if you want to download more than just a few or want
to mirror the whole collection please send a mail to
webmaster(AT)libav(DOT)org *before* you start
and ask for permission.

We can also ship the samples collection to you for a
reasonable fee, inquire for details.

The best way to download samples is with rsync. If you decide
to fetch a large amount (more than 1GB), please limit the rate
to no more than 50 kBps (use the --bwlimit option of rsync).

Please be aware that this samples collection contains a lot
of files that are very obscure, broken in various ways or
are just simply out of use. Hence, it doesn't make sense
to download all of them, unless you are developing a player
applic
2017-08-04 12:39:19 +03:00
Hugo
8400660083 Move so isn't installed globally 2017-07-27 14:12:28 +03:00
Hugo
90886a4e59 Merge pull request #2632 from wiredfool/issue_2628
Fix JPEG DPI when EXIF is invalid
2017-07-25 11:01:29 +03:00
Hugo
10c7e20045 Test for #2639 2017-07-23 23:56:02 +03:00
wiredfool
908fffdd2c Test for https://github.com/python-pillow/Pillow/issues/2628#issuecomment-315962612 2017-07-18 01:06:54 -07:00
wiredfool
d2b3e60bbb test for issue #2614 2017-07-16 17:23:08 +10:00
Andrew Murray
844b812ebd Removed debugging code 2017-07-15 17:12:33 +10:00
Eric Soroos
20da797fce updates for centos/amazonlinux 2017-07-01 03:46:49 -07:00
wiredfool
b9b5d39f2b Merge pull request #2595 from wiredfool/issue_1911
Image.Image.alpha_composite Added
2017-07-01 11:43:58 +01:00
wiredfool
8feac899dd Merge pull request #2576 from wiredfool/pr_2284
Complex Text Support
2017-07-01 10:45:18 +01:00
nediamond
d1b66e9dfd Added threshold parameter to ImageDraw.floodfill (#2599)
* added thresh option and test

* fixed up, test works and passes

* Update test_imagedraw.py

* Update test_imagedraw.py

* Update ImageDraw.py

* removed pypy skip decorator from thresh test

* Update ImageDraw.py
2017-07-01 10:37:02 +01:00
wiredfool
2c6cf03de1 test features in get size 2017-06-30 22:57:57 +01:00
Fran Barba
29c622dd3d Fixed typo biger > bigger 2017-06-29 11:21:19 +02:00
wiredfool
14293ea4b1 Tests pass on osx 2017-06-29 01:50:29 -07:00
Fran Barba
a7d75c4b21 Applied Hugovk recommendations 2017-06-28 12:12:44 +02:00
Fran Barba
ebaa509d66 Adjust buffer size when icc_profile > MAXBLOCK (issue #148)
We were encountering some errors when saving specific JPEG images.
The error was shown in stderr as:
  IOError: encoder error -2 when writing image file

And on stdout it printed:
    Suspension not allowed here

The problem was the bufsize not contemplating the icc_profile block.
2017-06-28 12:11:33 +02:00
wiredfool
c7efd0bf6d re-organized the parameters, moved size specification to overlay tuple 2017-06-27 22:03:44 +01:00
wiredfool
1d33dfbced Added source point parameter for Image.Image.alpha_composite 2017-06-27 22:03:44 +01:00
wiredfool
69768c514b Added inplace alpha composite 2017-06-27 22:03:44 +01:00
wiredfool
e3f1e9293d fixing the png leak test memory calculations 2017-06-27 21:20:46 +01:00
wiredfool
db2359a30f y offset on trusty/x86 is 1.63 2017-06-21 14:00:15 -07:00
wiredfool
8d9f6029e1 remove non-tempfile usage from tests 2017-06-21 14:00:15 -07:00