Commit Graph

7688 Commits

Author SHA1 Message Date
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
stuertz
f92ede6d8c Replaced annoying tabs within code 2017-08-29 16:11:23 +02:00
Alexander
6701828dfc Merge branch 'master' into fast-unpacking
# Conflicts:
#	libImaging/Unpack.c
2017-08-28 21:54:46 +03:00
Alexander
ad4b42f5f4 Merge branch 'master' into fast-filters 2017-08-28 21:47:43 +03:00
Alexander Karpinsky
e597ca1a59 Merge pull request #2700 from uploadcare/one-not-covered-mode
Missed not covered BGRa mode
2017-08-28 21:46:21 +03:00
Alexander
eee3e2dd32 Missed not covered BGRa mode 2017-08-28 21:45:24 +03:00
Alexander Karpinsky
2aa0d59d43 Merge pull request #2692 from uploadcare/16-bit-rgb-tiff
Load 16-bit RGB and RGBA TIFF image
2017-08-28 21:39:17 +03:00
Alexander
b9f3fa4a28 increase coverage 2017-08-28 21:18:25 +03:00
Alexander
d8af3fc23a Merge branch 'master' into jpeg-loading-without-convertion 2017-08-28 19:45:19 +03:00
Alexander
3f07f0291e Merge branch 'master' into fast-unpacking 2017-08-28 19:43:15 +03:00
Alexander
82c986dfab Merge branch 'master' into 16-bit-rgb-tiff 2017-08-28 19:42:46 +03:00
Alexander Karpinsky
6b4b1dc3c5 Merge pull request #2694 from uploadcare/packing-tests
Packing tests
2017-08-28 19:42:06 +03:00
Alexander
40fe1f721e unpacking tests for "I" and "F" modes 2017-08-28 19:22:59 +03:00
Alexander
aac0869ca7 Revert little-endian byte order for "I" and "F" rawmodes 2017-08-28 19:02:15 +03:00
Alexander
efb0915b19 Convert CMYK to RGB like Google Chrome 2017-08-28 17:11:08 +03:00
Alexander
4d56db3a34 Fix wrong formula for subsampling=2 while JPEG saving 2017-08-27 20:03:36 +03:00
Alexander
b705df3b64 one div for blending 2017-08-27 12:40:53 +03:00
Alexander
12634c4524 Merge branch 'packing-tests' into fast-unpacking
# Conflicts:
#	Tests/test_lib_pack.py
2017-08-26 20:20:17 +03:00
Alexander
7f7b53447a Add tests for all new modes 2017-08-26 17:36:06 +03:00