Commit Graph

6268 Commits

Author SHA1 Message Date
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
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
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
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