Commit Graph

6837 Commits

Author SHA1 Message Date
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
Hugo
10c7e20045 Test for #2639 2017-07-23 23:56:02 +03:00
Hugo
96abb60059 Add newlines to error message for clarity 2017-07-23 23:39:40 +03:00
Andrew Murray
7397c23292 Updated redirect URL [ci skip] 2017-07-22 14:22:50 +10:00
Oliver Tonnhofer
9e7de70bac Delete transparency info when convert'ing RGB/L to RGBA
info['transparency] was not removed when an RGB or L image
was converted to RGBA. This could result in unexpected behavior
when saving the resulting image.

Other image conversions already delete or update the transparency
info. There is a shortcut for RGB/L to RGBA which missed this.
2017-07-18 15:00:09 +02:00
wiredfool
908fffdd2c Test for https://github.com/python-pillow/Pillow/issues/2628#issuecomment-315962612 2017-07-18 01:06:54 -07:00
wiredfool
7a8161162f fix for https://github.com/python-pillow/Pillow/issues/2628#issuecomment-315962612 2017-07-18 00:54:11 -07:00
Eric Soroos
4deb447f59 travis runs for fedora 24 and 26 in docker 2017-07-17 14:43:13 -07:00
wiredfool
0cd84cf9b3 Update CHANGES.rst [ci skip] 2017-07-16 16:32:19 +01:00
wiredfool
c58dd9bcb3 Merge pull request #2624 from radarhere/getsize_emptystring
Added fix for font getsize on empty string
2017-07-16 16:30:15 +01:00
wiredfool
a28e89be83 Update CHANGES.rst [ci skip] 2017-07-16 16:28:29 +01:00
wiredfool
377bbc781e Merge pull request #2626 from radarhere/imagedraw
Improved ImageDraw documentation
2017-07-16 16:27:47 +01:00
wiredfool
8bf9de3310 Update CHANGES.rst [ci skip] 2017-07-16 16:23:57 +01:00
wiredfool
730cf93c32 Merge pull request #2627 from radarhere/alpha_composite
Corrected alpha_composite args documentation
2017-07-16 16:22:52 +01:00
Andrew Murray
9406e8ea81 Corrected alpha_composite args documentation 2017-07-16 17:37:51 +10:00
wiredfool
d2b3e60bbb test for issue #2614 2017-07-16 17:23:08 +10:00
Andrew Murray
3dd3a90646 Added fix for font getsize on empty string 2017-07-16 17:23:08 +10:00
Hugo
5bd8cdfe5c Merge pull request #2623 from radarhere/2585_debug_fix
Removed debugging code
2017-07-16 09:16:26 +02:00
Andrew Murray
a05c2cf7ff Improved ImageDraw documentation 2017-07-16 15:22:46 +10:00
Andrew Murray
f33976f81d Corrected class name in ImageDraw docs 2017-07-16 15:21:26 +10:00
Andrew Murray
844b812ebd Removed debugging code 2017-07-15 17:12:33 +10:00
wiredfool
a99ce5a2a3 Update CHANGES.rst [ci skip] 2017-07-14 23:04:51 +01:00
wiredfool
7466355887 Merge pull request #2616 from radarhere/libimagequant
Updated libimagequant to 2.10.1
2017-07-14 23:04:21 +01:00
wiredfool
353e26432f Update CHANGES.rst [ci skip] 2017-07-14 23:02:53 +01:00
Jani Šumak
f8fb58f925 Added the description of the filename attribute to images.rst
Images created with `open` have a filename attribute, but the documentation does not mention it. This lead to a short, but interesting discussion on [Stackoverflow](https://stackoverflow.com/questions/45087638/get-image-filename-from-image-pil/).
2017-07-14 22:57:31 +01:00
Andrew Murray
79f25384e1 Updated libimagequant to 2.10.1 2017-07-09 21:18:31 +10:00
wiredfool
b1d0965c75 Release notes for 4.2.1 2017-07-06 07:53:48 -07:00
wiredfool
f76aa0b999 Update CHANGES.rst [ci skip] 2017-07-06 11:03:39 +01:00
wiredfool
dff842d51d Merge pull request #2605 from radarhere/libimagequant
Updated libimagequant to 2.10.0
2017-07-06 11:02:20 +01:00
wiredfool
6389a2aec6 Update CHANGES.rst [ci skip] 2017-07-06 11:01:31 +01:00
wiredfool
912b0f077a Merge pull request #2612 from kijeong/request
Don't shadow built-in dict.
2017-07-06 10:59:01 +01:00
wiredfool
0d3712afe4 4.3.0.dev0 version bump 2017-07-06 02:57:44 -07:00