Commit Graph

6191 Commits

Author SHA1 Message Date
wiredfool
b96a2c18d9 Merge pull request #2657 from python-pillow/unused-copy2
Remove unused im.copy2 and core.copy methods
2017-08-16 15:27:57 +01:00
wiredfool
9c4535bc82 Merge pull request #2655 from python-pillow/fast-allocation
Fast image allocation
2017-08-16 15:16:43 +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
e5b7733cda Updated CHANGES.rst [ci skip] 2017-08-16 12:02:11 +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
64a8dae95e Update CHANGES.rst [ci skip] 2017-08-16 11:47:37 +01: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
3b0f183d5c Merge pull request #2648 from ifeherva/master
Fixed bc5 decoding
2017-08-16 11:42:31 +01:00
Alexander Karpinsky
c40884ce5f Merge pull request #2680 from uploadcare/fast-resample
Speed up resampling a bit again
2017-08-16 13:39:26 +03:00
wiredfool
a4e2dfd33e Merge pull request #2646 from radarhere/sgi
Moved SgiImagePlugin save error to before the start of write operations
2017-08-16 11:39:08 +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
wiredfool
c448db3170 Merge pull request #2640 from hugovk/version-newlines
Add newlines to error message for clarity
2017-08-16 11:36:11 +01:00
wiredfool
3c42d3e9cc Merge pull request #2637 from radarhere/redirects
Updated redirected URL
2017-08-16 11:35:09 +01:00
Andrew Murray
11399b18ce Moved SgiImagePlugin save error to before the start of write operations 2017-08-13 11:55:37 +10:00
Alexander
c2e0092589 Speed up resampling again a bit ) 2017-08-13 01:10:19 +03:00
Alexander Karpinsky
bbe07d4f49 Merge pull request #2670 from uploadcare/threaded-filter
Release GIL in filters
2017-08-12 23:51:08 +03:00
Alexander Karpinsky
49340037d5 Merge pull request #2678 from uploadcare/kernel-filter-tests
Serious test for kernel filters and rounding fix
2017-08-12 23:41:44 +03:00
Alexander
847dd67a41 serious test for kernel filters 2017-08-12 23:22:59 +03:00
Andrew Murray
7088e1a201 Added tests 2017-08-12 19:30:09 +10:00
Andrew Murray
25e467a756 Use frame count from FLI header 2017-08-12 12:11:36 +10:00
Alexander Karpinsky
5f5ac09158 Merge pull request #2671 from uploadcare/fix-compilation-warning
Fix compilation warning
2017-08-11 19:59:07 +03:00
Alexander
441eded3eb fix compilation warning 2017-08-11 19:46:31 +03:00
Alexander
864a24e7b8 Release GIL in filters 2017-08-11 15:17:47 +03:00
Alexander Karpinsky
cae7789372 Merge pull request #2662 from uploadcare/fix-bands-module-indention
Fix Bands.c module indention
2017-08-09 04:15:54 +03:00
Alexander
ffe0c3b0af Fix Bands.c module indention 2017-08-09 03:48:24 +03:00
Alexander Karpinsky
e0f69cb2e1 Merge pull request #2658 from uploadcare/fix-filter-module-indention
Fix Filter.c module indention
2017-08-07 00:59:53 +03:00
Alexander
557e89fcd3 Fix Filter.c module indention 2017-08-07 00:20:35 +03:00
Alexander
a519851903 ImagingNew2 is always Dirty 2017-08-06 20:08:07 +03:00
Alexander
559249283b Remove unused im.copy2 and core.copy methods 2017-08-06 19:56:27 +03:00
Alexander
eb4096ffd5 create dirty images for cropping 2017-08-06 15:01:17 +03:00
Alexander
19a8649589 create dirty images for some operations 2017-08-06 14:22:58 +03:00
Alexander
7a1e70d997 new internal API function ImagingNewDirty 2017-08-06 14:22:58 +03:00
Alexander
0649da02c6 fix tests on python 3 2017-08-06 14:12:55 +03:00
Alexander
0990dadd6d use accurate im->linesize instead of strlen(mode) approximation 2017-08-06 14:12:55 +03:00
Alexander
d55557152b rename ImagingNewBlock → ImagingAllocateBlock
rename ImagingNewArray → ImagingAllocateArray
new utility function with old name ImagingNewBlock
call ImagingNewPrologue outside of ImagingAllocateBlock and ImagingAllocateArray
2017-08-06 14:12:55 +03:00
Alexander
eafa258bd1 destroy image and set MemoryError on overflow check failure 2017-08-06 14:12:55 +03:00
Alexander
6b50ba07fd add tests for Image.new modes 2017-08-06 14:12:55 +03:00
Alexander
ab92adf7c9 move ImagingNewEpilogue functionality to ImagingNewPrologueSubtype
doublechecked: no im->image or im->image8 or im->image32 access
between ImagingNewPrologue and ImagingNewEpilogue anywhere
2017-08-06 14:12:55 +03:00
Alexander
fd9cf03d01 FIX memory leak
ImagingNewEpilogue now is always success
The Imaging object itself is freed through ImagingDelete in case
when memory is not allocated in ImagingNewBlock or ImagingNewArray
2017-08-06 14:12:55 +03:00
Alexander
152104bba3 check args before allocate memory 2017-08-06 14:12:55 +03:00
Alexander
430c53707f no reasons to release GIL for one calloc 2017-08-06 14:12:55 +03:00
Hugo
1922a0deac Merge pull request #2653 from radarhere/landscape
Remove Landscape/health badge
2017-08-06 08:56:36 +03:00
Andrew Murray
af4d830ce9 Remove Landscape/health badge [ci skip] 2017-08-06 12:39:04 +10:00
Hugo
d039be7cdd Python 3 division fix 2017-08-04 14:51:02 +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
Istvan Fehervari
0477278c68 Fixed bc5 decoding
BC5 decoding uses only 2 channels instead of 4. The current algorithm did not initialize the RGBA struct which resulted in random values in the output image. This commit should initialize the decoded RGBA struct, thus setting B and A values to default (0).
2017-08-03 11:07:51 +02:00