Commit Graph

6363 Commits

Author SHA1 Message Date
neiljp (Neil Pilgrim)
1270bebca5 Type annotations: Amend Image.point parameter types. 2017-08-31 22:46:40 -07:00
neiljp (Neil Pilgrim)
8856c4a9a6 Type annotations: Enable Image.filter to also accept Callable returning Filter. 2017-08-31 22:46:40 -07:00
neiljp (Neil Pilgrim)
c2634c2640 Type annotations: Amend __setstate__ to accept Tuple. 2017-08-31 22:46:39 -07:00
neiljp (Neil Pilgrim)
19e68bdfae Type annotations: Amend eq/ne to be (object)->bool. 2017-08-31 22:46:38 -07:00
neiljp (Neil Pilgrim)
10e8cd60c2 Type annotations: Add Union & Any to aliases.py. 2017-08-31 22:46:37 -07:00
neiljp (Neil Pilgrim)
cbb9817aa9 Type annotations: Annotate self.tile & add FIXME. 2017-08-31 22:46:37 -07:00
neiljp (Neil Pilgrim)
dad7aef359 Type annotations: Annotate exclusive_fp. 2017-08-31 22:46:37 -07:00
neiljp (Neil Pilgrim)
65fb9d8080 Type annotations: Correct Image/ImagingCore annotations. 2017-08-31 22:46:37 -07:00
neiljp (Neil Pilgrim)
e868aa9354 Type annotations: Explicitly mark some Image data types. 2017-08-31 22:46:37 -07:00
neiljp (Neil Pilgrim)
3ce17dcc3c Type annotations: Improve imports in Image.py. 2017-08-31 22:46:36 -07:00
neiljp (Neil Pilgrim)
9c350d86e3 Type annotations: Improve Image.getproject(). 2017-08-31 22:46:36 -07:00
neiljp (Neil Pilgrim)
6d464c010b Type annotations: Add & use Extrema type alias. 2017-08-31 22:46:36 -07:00
neiljp (Neil Pilgrim)
af87bfe1ef Type annotations: Mark Image.draft to accept (Mode, Size). 2017-08-31 22:46:36 -07:00
neiljp (Neil Pilgrim)
dfce721538 Type annotations: Add stubs for _imaging; aliases into aliases.py. 2017-08-31 22:46:36 -07:00
neiljp (Neil Pilgrim)
0fa2b7c498 Type annotations: Adjust __repr__ return & ignore ne/eq. 2017-08-31 22:46:36 -07:00
neiljp (Neil Pilgrim)
1e29eef1f4 Type annotations: Adjust Filter import. 2017-08-31 22:46:36 -07:00
neiljp (Neil Pilgrim)
1d1dcc2d15 Type annotations: Switch to type alias for Mode & add self.im annotation. 2017-08-31 22:46:36 -07:00
neiljp (Neil Pilgrim)
5003d44069 Type annotations: Image.py. 2017-08-31 22:46:36 -07: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
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