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
Alexander
7c3c3273eb
compiler makes this for me
2017-08-12 19:41:18 +03:00
Alexander
b454f773bd
make things faster
2017-08-12 19:39:11 +03:00
Alexander
a2681a0690
naive implementation
2017-08-12 19:17:21 +03:00
Alexander
91b08b7daa
noop core.merge
2017-08-12 19:08:07 +03:00
Alexander
294da4e8f5
error handling
2017-08-12 17:42:49 +03:00
Alexander
6ce6cc7537
faster ImagingSplit
2017-08-12 15:49:46 +03:00
Alexander
ca75d63f3a
ImagingSplit implementation
2017-08-12 15:26:00 +03:00
Alexander
559836d97d
im.split method
...
ImagingSplit function without implementation
2017-08-12 15:26:00 +03:00
Alexander
c23b65c670
make ImagingGetBand faster
2017-08-12 15:25:59 +03:00
Alexander
56f957b5db
fix number of equals [skipci]
2017-08-12 14:22:36 +03:00
Alexander
e16ab0ad2e
add tests, fix implementation
2017-08-12 14:10:39 +03:00
Alexander
04ebc23939
Merge branch 'master' into get-channel
2017-08-12 12:34:16 +03:00
Andrew Murray
7088e1a201
Added tests
2017-08-12 19:30:09 +10:00
Alexander
a1e2d42ea0
text fixes
2017-08-12 10:32:42 +03:00
Andrew Murray
4744fc0584
Added test for ImImagePlugin tell()
2017-08-12 15:54:54 +10:00
Andrew Murray
25e467a756
Use frame count from FLI header
2017-08-12 12:11:36 +10:00
Alexander
b46b5c4e84
release notes
...
autodocs
fix docstring
note for `Image.split`
2017-08-12 01:24:53 +03: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
Andrew Murray
23716a57cf
Updated openjpeg to 2.2.0
2017-08-11 00:01:38 +10:00
Andrew Murray
6c5eaf57e1
Updated Tk Tcl to 8.6.7
2017-08-10 19:09:30 +10:00
Vytis Banaitis
7c8e0e4457
Fix ZeroDivisionError when EXIF contains invalid DPI (0/0).
2017-08-09 16:16:14 +03:00
Eric Soroos
a1ebae255c
basic support for termux (android) support (tested on chromeos/x86)
2017-08-09 13:22:58 +01: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
1a7cb317be
load image before getting channels
2017-08-09 02:39:53 +03:00
Alexander
349e300d7b
use getchannel where is possible
2017-08-09 02:36:07 +03:00
Alexander
0002e18c74
New Image.getchannel method
2017-08-09 01:58:22 +03:00
Andrew Murray
446e7b7bd4
Updated libimagequant to 2.10.2
2017-08-08 19:07:58 +10: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 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