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
Alexander
3aea175141
use RGBX rawmode for JPEG encoding as well
2017-08-11 04:10:55 +03:00
Alexander
7725d281a5
create separate ImagingJpegUseJCSExtensions function
2017-08-11 04:07:54 +03:00
Alexander
83c4d90923
oops
2017-08-11 01:00:50 +03:00
Alexander
1dcafb93a0
Merge branch 'master' into jpeg-loading-without-convertion
2017-08-11 00:40:21 +03:00
Alexander
e71f6217ad
add runtime check for libjpeg_turbo_version
2017-08-11 00:22:01 +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
b6638d8155
divide coefficients before applying
2017-08-07 01:11:05 +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
Andrew Murray
eaffb1414a
Added test
2017-07-29 10:20:19 +10:00
Andrew Murray
1df63eeb1a
Added file pointer save to SpiderImagePlugin
2017-07-29 10:20:13 +10:00
Hugo
8400660083
Move so isn't installed globally
2017-07-27 14:12:28 +03:00
Hugo
2512400d6d
Update CHANGES.rst
...
[CI skip]
2017-07-25 11:03:36 +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
Joe Hultgren
0272dc2736
Add targa version 2 footer
...
Add the footer that is part of the version 2 spec. Some applications don't like images without the footer. Such as perforce's p4merge tool.
2017-07-24 13:49:18 -07:00
Hugo
ff81201971
Fix unexpected keyword argument 'align'
2017-07-23 23:58:05 +03:00