Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/acantril/learn-cantrill-io-labs
/ functions
Functions
1,143 in github.com/acantril/learn-cantrill-io-labs
⨍
Functions
1,143
◇
Types & classes
189
↓ 218 callers
Method
read
Read data. :param n: Number of bytes to read. If omitted or zero, read until end of region. :returns: An 8-bit s
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ContainerIO.py:74
↓ 145 callers
Method
write
(self, f)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PdfParser.py:160
↓ 136 callers
Method
append
(self, chunk)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PngImagePlugin.py:1378
↓ 76 callers
Function
o8
(i)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/_binary.py:25
↓ 75 callers
Method
load
(self, data)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:3364
↓ 52 callers
Method
_safe_read
(self, length)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/BlpImagePlugin.py:289
↓ 52 callers
Method
seek
Seeks to the given frame in this sequence file. If you seek beyond the end of the sequence, the method raises an ``EOFError``
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:2218
↓ 48 callers
Method
convert
Returns a converted copy of this image. For the "P" mode, this method translates pixels through the palette. If mode is omit
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:847
↓ 47 callers
Method
_new
(self, im)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:533
↓ 43 callers
Method
match
Get a list of coordinates matching the morphological operation on an image. Returns a list of tuples of (x,y) coordinates of
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageMorph.py:204
↓ 38 callers
Method
copy
Copies this image. Use this method if you wish to paste things into an image, but still retain the original. :rtype: :py:cla
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:1117
↓ 36 callers
Method
compile
Create metrics and bitmap
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/FontFile.py:46
↓ 36 callers
Method
decode
Override to perform the decoding process. :param buffer: A bytes object with the data to be decoded. :returns: A tuple of ``
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageFile.py:609
↓ 36 callers
Method
split
Split this image into individual bands. This method returns a tuple of individual image bands from an image. For example, spl
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:2261
↓ 35 callers
Function
read
(size)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PsdImagePlugin.py:180
↓ 33 callers
Method
apply
(self, op, im1, im2=None, mode=None)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageMath.py:52
↓ 32 callers
Method
load
Allocates storage for the image and loads the pixel data. In normal cases, you don't need to call this method, since the Ima
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:788
↓ 32 callers
Method
tell
Returns the current frame number. See :py:meth:`~PIL.Image.Image.seek`. If defined, :attr:`~PIL.Image.Image.n_frames` refers to the
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:2303
↓ 29 callers
Method
close
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/TarIO.py:64
↓ 27 callers
Method
seek
Select a given frame as current image
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/TiffImagePlugin.py:1072
↓ 26 callers
Method
open
(self, im)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/WmfImagePlugin.py:45
↓ 26 callers
Method
readline
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/EpsImagePlugin.py:174
↓ 25 callers
Function
check_format_condition
(condition, error_message)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PdfParser.py:76
↓ 20 callers
Method
getpalette
Returns the image palette as a list. :returns: A list of color values [r, g, b, ...], or None if the image has no palette
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:1384
↓ 20 callers
Function
open
Opens and identifies the given image file. This is a lazy operation; this function identifies the file, but the file remains open and th
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:2903
↓ 17 callers
Method
tell
Return the current frame number
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/TiffImagePlugin.py:1119
↓ 16 callers
Method
save
Saves this image under the given filename. If no format is specified, the format to use is determined from the filename exte
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:2130
↓ 15 callers
Method
getcolor
Given an rgb tuple, allocate palette entry. .. warning:: This method is experimental.
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImagePalette.py:106
↓ 15 callers
Method
paste
Pastes another image into this image. The box argument is either a 2-tuple giving the upper left corner, a 4-tuple defining the
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:1481
↓ 15 callers
Method
tobytes
(self, offset=8)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:3428
↓ 14 callers
Function
i8
(c)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/_binary.py:21
↓ 13 callers
Method
_getink
(self, ink, fill=None)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageDraw.py:101
↓ 13 callers
Method
crop
Returns a rectangular region from this image. The box is a 4-tuple defining the left, upper, right, and lower pixel coordinat
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:1130
↓ 13 callers
Method
flush
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageDraw2.py:66
↓ 13 callers
Method
read
Fetch a new chunk. Returns header information.
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PngImagePlugin.py:151
↓ 13 callers
Method
write
(self, data)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/GifImagePlugin.py:962
↓ 12 callers
Method
call
Call the appropriate chunk handler
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PngImagePlugin.py:183
↓ 11 callers
Method
_seek_check
(self, frame)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageFile.py:296
↓ 11 callers
Method
keys
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PdfParser.py:155
↓ 10 callers
Method
frombytes
Loads this image with pixel data from a bytes object. This method is similar to the :py:func:`~PIL.Image.frombytes` function,
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:762
↓ 10 callers
Method
putpalette
Attaches a palette to this image. The image must be a "P", "PA", "L" or "LA" image. The palette sequence must contain at mo
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:1725
↓ 9 callers
Method
_unpack
(self, fmt, data)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/TiffImagePlugin.py:647
↓ 9 callers
Method
setimage
Called from ImageFile to set the core output image for the decoder :param im: A core image object :param extents: a 4 tuple
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageFile.py:637
↓ 9 callers
Method
transpose
Transpose image (flip or rotate in 90 degree steps) :param method: One of :py:data:`PIL.Image.FLIP_LEFT_RIGHT`, :py:data:`
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:2541
↓ 9 callers
Method
write
(self, data)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/TiffImagePlugin.py:1915
↓ 8 callers
Method
_pack
(self, fmt, *values)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/TiffImagePlugin.py:650
↓ 8 callers
Method
add
Appends an arbitrary chunk. Use with caution. :param cid: a byte string, 4 bytes long. :param data: a byte string of the encoded data
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PngImagePlugin.py:268
↓ 8 callers
Method
histogram
Returns a histogram for the image. The histogram is returned as a list of pixel counts, one for each pixel value in the source
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:1425
↓ 8 callers
Function
isPath
(f)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/_util.py:5
↓ 8 callers
Function
register
The :py:func:`register` function is used to register additional viewers. :param viewer: The viewer to be registered. :param order:
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageShow.py:25
↓ 8 callers
Method
render
(self, op, xy, pen, brush=None)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageDraw2.py:69
↓ 7 callers
Method
getbands
Returns a tuple containing the name of each band in this image. For example, ``getbands`` on an RGB image returns ("R", "G", "B").
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:1225
↓ 7 callers
Method
getexif
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:1348
↓ 7 callers
Method
resize
Returns a resized copy of this image. :param size: The requested size in pixels, as a 2-tuple: (width, height). :
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:1884
↓ 7 callers
Method
tell
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/GifImagePlugin.py:384
↓ 6 callers
Function
_crc32
(data, seed=0)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PngImagePlugin.py:137
↓ 6 callers
Method
_crop
Returns a rectangular region from the core image object im. This is equivalent to calling im.crop((x0, y0, x1, y1)), but inc
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:1149
↓ 6 callers
Function
_lut
(image, lut)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageOps.py:49
↓ 6 callers
Method
data
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/GifImagePlugin.py:58
↓ 6 callers
Method
getdata
Returns the contents of this image as a sequence object containing pixel values. The sequence object is flattened, so that v
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:1276
↓ 6 callers
Method
getfont
Get the current default font. :returns: An image font.
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageDraw.py:89
↓ 6 callers
Method
getsize
Returns width and height (in pixels) of given text. :param text: Text to measure. :return: (width, height)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageFont.py:120
↓ 6 callers
Method
load
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/TiffImagePlugin.py:1131
↓ 6 callers
Method
next_object_id
(self, offset=None)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PdfParser.py:569
↓ 6 callers
Method
point
Maps this image through a lookup table or function. :param lut: A lookup table, containing 256 (or 65536 if self.mode=="I
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:1607
↓ 6 callers
Method
seek
(self, frame)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/GifImagePlugin.py:123
↓ 6 callers
Method
tell
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PsdImagePlugin.py:154
↓ 6 callers
Function
unpack_565
(i)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/BlpImagePlugin.py:48
↓ 6 callers
Method
write_obj
(self, ref, *objs, **dict_obj)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PdfParser.py:502
↓ 5 callers
Method
close
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PngImagePlugin.py:176
↓ 5 callers
Method
close
Closes the file pointer, if possible. This operation will destroy the image core and release its memory. The image data will
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:560
↓ 5 callers
Method
decode
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PdfParser.py:305
↓ 5 callers
Method
get_ifd
(self, tag)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:3446
↓ 5 callers
Method
getextrema
Gets the the minimum and maximum pixel values for each band in the image. :returns: For a single-band image, a 2-tuple conta
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:1299
↓ 5 callers
Function
init
Explicitly initializes the Python Imaging Library. This function loads all available file format drivers.
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:360
↓ 5 callers
Function
isImageType
Checks if an object is an image object. .. warning:: This function is for internal use only. :param t: object to check if it's
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:124
↓ 5 callers
Function
pixelate
(pixelsize, image_path, pixelated_img_path)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/lambda_function.py:43
↓ 5 callers
Method
putalpha
Adds or replaces the alpha layer in this image. If the image does not have an alpha layer, it's converted to "LA" or "RGBA".
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:1653
↓ 5 callers
Method
read
(self, bits)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/MpegImagePlugin.py:49
↓ 5 callers
Method
read_fields
(self, field_format)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Jpeg2KImagePlugin.py:59
↓ 5 callers
Method
reduce
Returns a copy of the image reduced ``factor`` times. If the size of the image is not dividable by ``factor``, the resulting
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:1982
↓ 5 callers
Method
seek
(self, layer)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PsdImagePlugin.py:139
↓ 5 callers
Method
seek
(self, frame)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PngImagePlugin.py:772
↓ 5 callers
Method
textsize
Get the size of a given string, in pixels.
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageDraw.py:565
↓ 5 callers
Method
tobytes
Return image as a bytes object. .. warning:: This method returns the raw image data from the internal stora
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:694
↓ 4 callers
Function
_color
(color, mode)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageOps.py:41
↓ 4 callers
Method
_ensure_mutable
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:595
↓ 4 callers
Method
_get_ifd_dict
(self, offset)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:3344
↓ 4 callers
Function
_get_palette_bytes
Gets the palette for inclusion in the gif header :param im: Image object :returns: Bytes, len<=768 suitable for inclusion in gif header
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/GifImagePlugin.py:825
↓ 4 callers
Method
_getformat
(self, tag)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PcfFontFile.py:94
↓ 4 callers
Method
_multiline_check
Draw text.
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageDraw.py:364
↓ 4 callers
Method
_seek
(self, frame)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/TiffImagePlugin.py:1083
↓ 4 callers
Method
_set
(self, profile, filename=None)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageCms.py:178
↓ 4 callers
Method
apply
(self, im, imOut=None)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageCms.py:243
↓ 4 callers
Function
check_feature
Checks if a feature is available. :param feature: The feature to check for. :returns: ``True`` if available, ``False`` if unavailable, `
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/features.py:129
↓ 4 callers
Method
close
(Consumer) Close the stream. :returns: An image object. :exception OSError: If the parser failed to parse the image file eit
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageFile.py:444
↓ 4 callers
Function
freetype
(font)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageFont.py:840
↓ 4 callers
Method
getbbox
Calculates the bounding box of the non-zero regions in the image. :returns: The bounding box is returned as a 4-tuple defini
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:1235
↓ 4 callers
Function
isSpiderHeader
(t)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/SpiderImagePlugin.py:62
↓ 4 callers
Method
load
Load image data based on tile list
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageFile.py:145
next →
1–100 of 1,143, ranked by callers