Commit Graph

6345 Commits

Author SHA1 Message Date
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
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
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
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
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 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
Alexander
a78e45c3dc Merge branch 'packing-tests' into 16-bit-rgb-tiff 2017-08-26 17:17:49 +03:00
Alexander
922407e7f3 fix py3, change test 2017-08-26 11:02:51 +03:00
Alexander
f43b9f396f Second part of pack tests 2017-08-26 10:49:28 +03:00
neiljp (Neil Pilgrim)
9ec023503d Image.__eq__: Add isinstance check. 2017-08-24 16:46:12 -07:00
neiljp (Neil Pilgrim)
58df924da6 Image.py: _conv_type_shape: refactor for clarity and type-safety. 2017-08-24 16:46:12 -07:00
neiljp (Neil Pilgrim)
470da1c6de Image.rotate: Adjust variable use to avoid None & add comment re int/float. 2017-08-24 16:41:07 -07:00
neiljp (Neil Pilgrim)
6f69379fdc Image.remap_palette: Tweak to improve typing. 2017-08-24 15:41:44 -07:00
neiljp (Neil Pilgrim)
72b3e6819d Image._dump: Rewrite for clarity and type-safety. 2017-08-24 15:41:44 -07:00
neiljp (Neil Pilgrim)
ab6c60da1c Image.merge: Rename loop variable for clarity and type-safety. 2017-08-24 15:41:44 -07:00
Alexander
ebb10e8e1a Fix error in pypy 2017-08-24 01:45:24 +03:00
Alexander
8cb9cba1e0 Packing tests, first part. Fix RGBX packers 2017-08-24 00:58:39 +03:00
Alexander
2439c9b2db possible fix I→I and L→L unpacking on bigendian 2017-08-23 23:09:50 +03:00
Alexander
a812f6c480 fix tests test_I16 2017-08-23 23:09:09 +03:00
Alexander
d33eab504d byte strings 2017-08-23 10:52:30 +03:00