Commit Graph

6378 Commits

Author SHA1 Message Date
neiljp (Neil Pilgrim)
26bac897ff Type annotations: _imaging.pyi typo. 2017-08-31 22:46:47 -07:00
neiljp (Neil Pilgrim)
b94e8e16ae Type annotations: Image.py: Initial annotation for expression analyzer. 2017-08-31 22:46:47 -07:00
neiljp (Neil Pilgrim)
b52e0786eb Type annotations: Image.py: Correct _conv_type_shape & add _MODE_CONV. 2017-08-31 22:46:47 -07:00
neiljp (Neil Pilgrim)
65b39e181c Type annotations: _imaging.pyi: Many improvements. 2017-08-31 22:46:47 -07:00
neiljp (Neil Pilgrim)
67d353c15f Type annotations: Image.py: Improve many annotations. 2017-08-31 22:46:47 -07:00
neiljp (Neil Pilgrim)
0303544f1a Type annotations: aliases.py: Add Color type-alias (no Text). 2017-08-31 22:46:47 -07:00
neiljp (Neil Pilgrim)
27632d1a34 Type annotations: Label all obvious issues and label with 'FIXME TYPING'. 2017-08-31 22:46:47 -07:00
neiljp (Neil Pilgrim)
8debf5d31c Type annotations: Switch open/save BytesIO->BinaryIO. 2017-08-31 22:46:47 -07:00
neiljp (Neil Pilgrim)
42d3a3d036 Type annotations: Image.rotate bool->int for a parameter. 2017-08-31 22:46:47 -07:00
neiljp (Neil Pilgrim)
8213ec01fa Type annotations: Amend Image.getdata to return ImagingCore. 2017-08-31 22:46:47 -07:00
neiljp (Neil Pilgrim)
d936e0f649 Type annotations: aliases.py: Amend Extrema to use float & int Tuples. 2017-08-31 22:46:47 -07:00
neiljp (Neil Pilgrim)
8e90f33dda Type annotations: Clarify return type of Image.split. 2017-08-31 22:46:47 -07:00
neiljp (Neil Pilgrim)
0ac87cc06b Type annotations: Allow Image.putpalette to accept ImagePalette. 2017-08-31 22:46:46 -07:00
neiljp (Neil Pilgrim)
9112e3f4b1 Type annotations: _imaging.pyi: Significantly improve stubs. 2017-08-31 22:46:45 -07:00
neiljp (Neil Pilgrim)
a03eea1e9d Type annotations: Correct pixel_access & specify self.readonly. 2017-08-31 22:46:45 -07:00
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