PIL.Image.Image.alpha_composite |
supported |
84 |
alpha_composite(self, im: 'Image', dest: 'Sequence[int]' = (0, 0), source: 'Sequence[int]' = (0, 0)) -> 'None'
|
PIL.Image.Image.apply_transparency |
supported |
18 |
apply_transparency(self) -> 'None'
|
PIL.Image.Image.close |
supported |
6 |
close(self) -> 'None'
|
PIL.Image.Image.convert |
supported |
1375 |
convert(self, mode: 'str | None' = None, matrix: 'tuple[float, ...] | None' = None, dither: 'Dither | None' = None, palette: 'Palette' = <Palette.WEB: 0>, colors: 'int' = 256) -> 'Image'
|
PIL.Image.Image.copy |
supported |
8 |
copy(self) -> 'Image'
|
PIL.Image.Image.crop |
supported |
202 |
crop(self, box: 'tuple[float, float, float, float] | None' = None) -> 'Image'
|
PIL.Image.Image.draft |
supported |
7 |
draft(self, mode: 'str | None', size: 'tuple[int, int] | None') -> 'tuple[str, tuple[int, int, float, float]] | None'
|
PIL.Image.Image.effect_spread |
supported |
35 |
effect_spread(self, distance: 'int') -> 'Image'
|
PIL.Image.Image.entropy |
supported |
19 |
entropy(self, mask: 'Image | None' = None, extrema: 'tuple[float, float] | None' = None) -> 'float'
|
PIL.Image.Image.filter |
supported |
173 |
filter(self, filter: 'ImageFilter.Filter | type[ImageFilter.Filter]') -> 'Image'
|
PIL.Image.Image.format |
supported |
2 |
format(self, /)
|
PIL.Image.Image.frombytes |
supported |
21 |
frombytes(self, data: 'bytes | bytearray | SupportsArrayInterface', decoder_name: 'str' = 'raw', *args: 'Any') -> 'None'
|
PIL.Image.Image.get_child_images |
supported |
2 |
get_child_images(self) -> 'list[ImageFile.ImageFile]'
|
PIL.Image.Image.get_flattened_data |
supported |
3 |
get_flattened_data(self, band: 'int | None' = None) -> 'tuple[tuple[int, ...], ...] | tuple[float, ...]'
|
PIL.Image.Image.getbands |
supported |
19 |
getbands(self) -> 'tuple[str, ...]'
|
PIL.Image.Image.getbbox |
supported |
110 |
getbbox(self, *, alpha_only: 'bool' = True) -> 'tuple[int, int, int, int] | None'
|
PIL.Image.Image.getchannel |
supported |
130 |
getchannel(self, channel: 'int | str') -> 'Image'
|
PIL.Image.Image.getcolors |
supported |
28 |
getcolors(self, maxcolors: 'int' = 256) -> 'list[tuple[int, tuple[int, ...]]] | list[tuple[int, float]] | None'
|
PIL.Image.Image.getdata |
supported |
327 |
getdata(self, band: 'int | None' = None) -> 'core.ImagingCore'
|
PIL.Image.Image.getexif |
supported |
20 |
getexif(self) -> 'Exif'
|
PIL.Image.Image.getextrema |
supported |
90 |
getextrema(self) -> 'tuple[float, float] | tuple[tuple[int, int], ...]'
|
PIL.Image.Image.getim |
supported |
1 |
getim(self) -> 'CapsuleType'
|
PIL.Image.Image.getpalette |
supported |
23 |
getpalette(self, rawmode: 'str | None' = 'RGB') -> 'list[int] | None'
|
PIL.Image.Image.getpixel |
supported |
23 |
getpixel(self, xy: 'tuple[int, int] | list[int]') -> 'float | tuple[int, ...] | None'
|
PIL.Image.Image.getprojection |
supported |
21 |
getprojection(self) -> 'tuple[list[int], list[int]]'
|
PIL.Image.Image.getxmp |
supported |
2 |
getxmp(self) -> 'dict[str, Any]'
|
PIL.Image.Image.has_transparency_data |
supported |
4 |
has_transparency_data(self, /)
|
PIL.Image.Image.height |
supported |
1 |
height(self, /)
|
PIL.Image.Image.histogram |
supported |
338 |
histogram(self, mask: 'Image | None' = None, extrema: 'tuple[float, float] | None' = None) -> 'list[int]'
|
PIL.Image.Image.info |
supported |
6 |
info(self, /)
|
PIL.Image.Image.load |
supported |
31 |
load(self) -> 'core.PixelAccess | None'
|
PIL.Image.Image.mode |
supported |
1 |
mode(self, /)
|
PIL.Image.Image.paste |
supported |
326 |
paste(self, im: 'Image | str | float | tuple[float, ...]', box: 'Image | tuple[int, int, int, int] | tuple[int, int] | None' = None, mask: 'Image | None' = None) -> 'None'
|
PIL.Image.Image.point |
supported |
331 |
point(self, lut: 'Sequence[float] | NumpyArray | Callable[[int], float] | Callable[[ImagePointTransform], ImagePointTransform | float] | ImagePointHandler', mode: 'str | None' = None) -> 'Image'
|
PIL.Image.Image.putalpha |
supported |
35 |
putalpha(self, alpha: 'Image | int') -> 'None'
|
PIL.Image.Image.putdata |
supported |
168 |
putdata(self, data: 'Sequence[float] | Sequence[Sequence[int]] | core.ImagingCore | NumpyArray', scale: 'float' = 1.0, offset: 'float' = 0.0) -> 'None'
|
PIL.Image.Image.putpalette |
supported |
12 |
putpalette(self, data: 'ImagePalette.ImagePalette | bytes | Sequence[int]', rawmode: 'str' = 'RGB') -> 'None'
|
PIL.Image.Image.putpixel |
supported |
1325 |
putpixel(self, xy: 'tuple[int, int]', value: 'float | tuple[int, ...] | list[int]') -> 'None'
|
PIL.Image.Image.quantize |
supported |
254 |
quantize(self, colors: 'int' = 256, method: 'int | None' = None, kmeans: 'int' = 0, palette: 'Image | None' = None, dither: 'Dither' = <Dither.FLOYDSTEINBERG: 3>) -> 'Image'
|
PIL.Image.Image.reduce |
supported |
295 |
reduce(self, factor: 'int | tuple[int, int]', box: 'tuple[int, int, int, int] | None' = None) -> 'Image'
|
PIL.Image.Image.remap_palette |
supported |
14 |
remap_palette(self, dest_map: 'list[int]', source_palette: 'bytes | bytearray | None' = None) -> 'Image'
|
PIL.Image.Image.resize |
supported |
876 |
resize(self, size: 'tuple[int, int] | list[int] | NumpyArray', resample: 'int | None' = None, box: 'tuple[float, float, float, float] | None' = None, reducing_gap: 'float | None' = None) -> 'Image'
|
PIL.Image.Image.rotate |
supported |
301 |
rotate(self, angle: 'float', resample: 'Resampling' = <Resampling.NEAREST: 0>, expand: 'int | bool' = False, center: 'tuple[float, float] | None' = None, translate: 'tuple[int, int] | None' = None, fillcolor: 'float | tuple[float, ...] | str | None' = None) -> 'Image'
|
PIL.Image.Image.save |
supported |
41 |
save(self, fp: 'StrOrBytesPath | IO[bytes]', format: 'str | None' = None, **params: 'Any') -> 'None'
|
PIL.Image.Image.seek |
supported |
8 |
seek(self, frame: 'int') -> 'None'
|
PIL.Image.Image.size |
supported |
1 |
size(self, /)
|
PIL.Image.Image.split |
supported |
7 |
split(self) -> 'tuple[Image, ...]'
|
PIL.Image.Image.tell |
supported |
7 |
tell(self) -> 'int'
|
PIL.Image.Image.thumbnail |
supported |
174 |
thumbnail(self, size: 'tuple[float, float]', resample: 'Resampling' = <Resampling.BICUBIC: 3>, reducing_gap: 'float | None' = 2.0) -> 'None'
|
PIL.Image.Image.tobitmap |
supported |
6 |
tobitmap(self, name: 'str' = 'image') -> 'bytes'
|
PIL.Image.Image.tobytes |
supported |
31 |
tobytes(self, encoder_name: 'str' = 'raw', *args: 'Any') -> 'bytes'
|
PIL.Image.Image.toqimage |
supported |
1 |
toqimage(self) -> 'ImageQt.ImageQt'
|
PIL.Image.Image.toqpixmap |
supported |
1 |
toqpixmap(self) -> 'ImageQt.QPixmap'
|
PIL.Image.Image.transform |
supported |
980 |
transform(self, size: 'tuple[int, int]', method: 'Transform | ImageTransformHandler | SupportsGetData', data: 'Sequence[Any] | None' = None, resample: 'int' = <Resampling.NEAREST: 0>, fill: 'int' = 1, fillcolor: 'float | tuple[float, ...] | str | None' = None) -> 'Image'
|
PIL.Image.Image.transpose |
supported |
368 |
transpose(self, method: 'Transpose') -> 'Image'
|
PIL.Image.Image.verify |
supported |
25 |
verify(self) -> 'None'
|
PIL.Image.Image.width |
supported |
1 |
width(self, /)
|