Commit Graph

6501 Commits

Author SHA1 Message Date
wiredfool
e71757aa6f Merge pull request #2634 from wiredfool/issue_2629
Fix for memory leaks in font handling
2017-09-04 11:23:57 +01:00
wiredfool
3fb62360e6 Update CHANGES.rst [ci skip] 2017-09-04 11:20:34 +01:00
wiredfool
2611b2caa5 Merge pull request #2689 from radarhere/tests
Added tests
2017-09-04 11:15:28 +01:00
wiredfool
c7d8f6553c Merge pull request #2708 from radarhere/imagegrab
Removed debugging interface for Image.core.grabclipboard
2017-09-04 11:08:04 +01:00
wiredfool
af60917800 Merge pull request #2710 from radarhere/docs
Fixed documentation syntax
2017-09-04 11:07:39 +01:00
wiredfool
b2cd6aaff7 test for font memory leaks 2017-09-04 09:58:52 +00:00
Eric Soroos
41b5121d6e refactor png leak test to use PillowLeakTestCase 2017-09-04 09:58:52 +00:00
wiredfool
ed68328c09 refactored memory leak test case 2017-09-04 09:58:05 +00:00
wiredfool
277935ae23 Py_ssize_t is defined on windows 2017-09-04 09:58:05 +00:00
wiredfool
dc7ee29c46 free before return, not after 2017-09-04 09:58:05 +00:00
wiredfool
c25cd96b71 Fix for truetype memory leak, #2629 2017-09-04 09:58:05 +00:00
wiredfool
539c5fdb5f fixed malloc check 2017-09-04 09:58:05 +00:00
wiredfool
fd0e7be55a Fix for memory leak in PILfont _font_text_asBytes, #2629 2017-09-04 09:58:05 +00:00
Andrew Murray
f5d6d8e57a Fixed documentation syntax [ci skip] 2017-09-02 11:21:12 +10:00
Andrew Murray
6eccf8e4d7 Removed disabled code 2017-09-01 21:11:26 +10:00
Andrew Murray
6602c7cec4 Removed debugging lines 2017-09-01 21:06:22 +10:00
Andrew Murray
5c2df30ac3 Removed ImageDraw.Draw del calls 2017-09-01 21:06:22 +10:00
Andrew Murray
2ac18689d5 Removed unnecessary return statements 2017-09-01 21:06:22 +10:00
Andrew Murray
9e843a2d9b Changed format of lambda calls 2017-09-01 21:05:40 +10:00
Andrew Murray
371933a597 Added tests 2017-09-01 20:36:51 +10:00
Alexander
62ece989dc Accept lists as well 2017-09-01 13:36:25 +03:00
Alexander
d4b2fa7348 Fix erroneous condition which was never true 2017-09-01 13:32:37 +03:00
Alexander
c59529d28d use PRECISION_BITS constant in ImagingAlphaComposite
use UINT32 instead of UINT16 (a bit faster on x86)
2017-09-01 13:26:08 +03:00
Andrew Murray
c10ad19a2b Changed file opening in tests to use with 2017-09-01 20:03:54 +10:00
Andrew Murray
dcddc71dea Removed debugging interface for Image.core.grabclipboard 2017-09-01 20:02:55 +10:00
Alexander
a7cf91499a Regular comments instead of strings [ci skip] 2017-09-01 08:42:57 +03:00
Alexander Karpinsky
e6456643d4 Merge pull request #2707 from uploadcare/fix-box-resize
Fix resize with box when no resize required
2017-09-01 00:53:46 +03:00
Alexander
0acc2cea9c Fix need_horizontal and need_vertical conditions in resample 2017-09-01 00:24:49 +03:00
Alexander
edcbd3f67d Tests for skipping passes (are passed if disable the passes skipping) 2017-08-31 23:01:21 +03:00
Eric Soroos
ee430550eb fix raqm with 0 length strings 2017-08-31 19:31:05 +00:00
Alexander
1e1f773f8a Rename variables 2017-08-31 19:25:25 +03:00
Alexander
81c72bd297 Crop if box size matches requested size 2017-08-31 19:18:48 +03:00
wiredfool
c3fbd9de01 test for issue #2666 2017-08-31 08:56:06 -07:00
wiredfool
bb7124325e Don't return null on empty string 2017-08-31 08:52:29 -07:00
Alexander
dc143f7833 Merge branch 'master' into new-dirty 2017-08-31 17:34:05 +03:00
wiredfool
e9424b1997 Update CHANGES.rst [ci skip] 2017-08-31 15:24:24 +01:00
wiredfool
367ce3c1bc Merge pull request #2693 from uploadcare/fast-unpacking
Fast unpacking and partially packing
2017-08-31 15:23:11 +01:00
wiredfool
27f31033c1 Update CHANGES.rst [ci skip] 2017-08-31 15:15:26 +01:00
wiredfool
9797e7bbfa Merge pull request #1989 from uploadcare/jpeg-loading-without-convertion
Use RGBX rawmode for RGB JPEG images
2017-08-31 15:10:38 +01:00
wiredfool
2ad43c4eeb Merge pull request #2704 from wiredfool/issue_2702
Remove palettes from non-palette modes in _new #2702
2017-08-31 15:09:37 +01:00
wiredfool
f4c56a7179 Merge pull request #2633 from olt/delete-rgb-transparency
Delete transparency info when img.convert'ing RGB/L to RGBA
2017-08-31 15:08:52 +01:00
Alexander Karpinsky
4029998d4f Merge pull request #2699 from uploadcare/better-cmyk
Convert CMYK to RGB like Google Chrome
2017-08-31 16:45:57 +03:00
wiredfool
240b1614b7 Update CHANGES.rst [ci skip] 2017-08-31 14:19:30 +01:00
wiredfool
e422f92e52 Remove palettes from non-palette modes in _new #2702 2017-08-31 06:18:59 -07:00
wiredfool
8600f1840d Merge pull request #2690 from neiljp/typing_patches
[WIP] Code alteration supplementing annotation in #2687
2017-08-31 13:36:04 +01:00
wiredfool
cd0705334c Merge pull request #2691 from wiredfool/putpalettealphas_type
Fixed type to be byteslike object.
2017-08-31 13:26:11 +01:00
wiredfool
32d14e382a Merge pull request #2698 from uploadcare/jpeg-subsampling
Fix sampling factor for subsampling=2 while JPEG saving
2017-08-31 13:23:48 +01:00
Andrew Murray
751a6d1c2d Fixed WMF save handler check 2017-08-31 21:47:39 +10:00
Konstantin Kopachev
cee122ca88 Fix comment about palette class in quantize method 2017-08-30 22:47:27 -07:00
Hugo
e6115c87ab Merge pull request #2701 from stuertz/repltabs
Replaced annoying tabs within code
2017-08-30 11:12:44 +03:00