MCPcopy Create free account

hub / github.com/acantril/learn-cantrill-io-labs / functions

Functions1,143 in github.com/acantril/learn-cantrill-io-labs

↓ 218 callersMethodread
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 callersMethodwrite
(self, f)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PdfParser.py:160
↓ 136 callersMethodappend
(self, chunk)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PngImagePlugin.py:1378
↓ 76 callersFunctiono8
(i)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/_binary.py:25
↓ 75 callersMethodload
(self, data)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:3364
↓ 52 callersMethod_safe_read
(self, length)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/BlpImagePlugin.py:289
↓ 52 callersMethodseek
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 callersMethodconvert
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 callersMethod_new
(self, im)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:533
↓ 43 callersMethodmatch
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 callersMethodcopy
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 callersMethodcompile
Create metrics and bitmap
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/FontFile.py:46
↓ 36 callersMethoddecode
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 callersMethodsplit
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 callersFunctionread
(size)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PsdImagePlugin.py:180
↓ 33 callersMethodapply
(self, op, im1, im2=None, mode=None)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageMath.py:52
↓ 32 callersMethodload
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 callersMethodtell
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 callersMethodclose
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/TarIO.py:64
↓ 27 callersMethodseek
Select a given frame as current image
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/TiffImagePlugin.py:1072
↓ 26 callersMethodopen
(self, im)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/WmfImagePlugin.py:45
↓ 26 callersMethodreadline
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/EpsImagePlugin.py:174
↓ 25 callersFunctioncheck_format_condition
(condition, error_message)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PdfParser.py:76
↓ 20 callersMethodgetpalette
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 callersFunctionopen
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 callersMethodtell
Return the current frame number
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/TiffImagePlugin.py:1119
↓ 16 callersMethodsave
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 callersMethodgetcolor
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 callersMethodpaste
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 callersMethodtobytes
(self, offset=8)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:3428
↓ 14 callersFunctioni8
(c)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/_binary.py:21
↓ 13 callersMethod_getink
(self, ink, fill=None)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageDraw.py:101
↓ 13 callersMethodcrop
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 callersMethodflush
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageDraw2.py:66
↓ 13 callersMethodread
Fetch a new chunk. Returns header information.
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PngImagePlugin.py:151
↓ 13 callersMethodwrite
(self, data)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/GifImagePlugin.py:962
↓ 12 callersMethodcall
Call the appropriate chunk handler
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PngImagePlugin.py:183
↓ 11 callersMethod_seek_check
(self, frame)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageFile.py:296
↓ 11 callersMethodkeys
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PdfParser.py:155
↓ 10 callersMethodfrombytes
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 callersMethodputpalette
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 callersMethod_unpack
(self, fmt, data)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/TiffImagePlugin.py:647
↓ 9 callersMethodsetimage
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 callersMethodtranspose
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 callersMethodwrite
(self, data)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/TiffImagePlugin.py:1915
↓ 8 callersMethod_pack
(self, fmt, *values)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/TiffImagePlugin.py:650
↓ 8 callersMethodadd
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 callersMethodhistogram
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 callersFunctionisPath
(f)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/_util.py:5
↓ 8 callersFunctionregister
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 callersMethodrender
(self, op, xy, pen, brush=None)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageDraw2.py:69
↓ 7 callersMethodgetbands
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 callersMethodgetexif
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:1348
↓ 7 callersMethodresize
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 callersMethodtell
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/GifImagePlugin.py:384
↓ 6 callersFunction_crc32
(data, seed=0)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PngImagePlugin.py:137
↓ 6 callersMethod_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 callersFunction_lut
(image, lut)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageOps.py:49
↓ 6 callersMethoddata
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/GifImagePlugin.py:58
↓ 6 callersMethodgetdata
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 callersMethodgetfont
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 callersMethodgetsize
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 callersMethodload
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/TiffImagePlugin.py:1131
↓ 6 callersMethodnext_object_id
(self, offset=None)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PdfParser.py:569
↓ 6 callersMethodpoint
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 callersMethodseek
(self, frame)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/GifImagePlugin.py:123
↓ 6 callersMethodtell
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PsdImagePlugin.py:154
↓ 6 callersFunctionunpack_565
(i)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/BlpImagePlugin.py:48
↓ 6 callersMethodwrite_obj
(self, ref, *objs, **dict_obj)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PdfParser.py:502
↓ 5 callersMethodclose
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PngImagePlugin.py:176
↓ 5 callersMethodclose
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 callersMethoddecode
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PdfParser.py:305
↓ 5 callersMethodget_ifd
(self, tag)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:3446
↓ 5 callersMethodgetextrema
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 callersFunctioninit
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 callersFunctionisImageType
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 callersFunctionpixelate
(pixelsize, image_path, pixelated_img_path)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/lambda_function.py:43
↓ 5 callersMethodputalpha
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 callersMethodread
(self, bits)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/MpegImagePlugin.py:49
↓ 5 callersMethodread_fields
(self, field_format)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Jpeg2KImagePlugin.py:59
↓ 5 callersMethodreduce
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 callersMethodseek
(self, layer)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PsdImagePlugin.py:139
↓ 5 callersMethodseek
(self, frame)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PngImagePlugin.py:772
↓ 5 callersMethodtextsize
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 callersMethodtobytes
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 callersFunction_color
(color, mode)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageOps.py:41
↓ 4 callersMethod_ensure_mutable
(self)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:595
↓ 4 callersMethod_get_ifd_dict
(self, offset)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/Image.py:3344
↓ 4 callersFunction_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 callersMethod_getformat
(self, tag)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/PcfFontFile.py:94
↓ 4 callersMethod_multiline_check
Draw text.
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageDraw.py:364
↓ 4 callersMethod_seek
(self, frame)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/TiffImagePlugin.py:1083
↓ 4 callersMethod_set
(self, profile, filename=None)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageCms.py:178
↓ 4 callersMethodapply
(self, im, imOut=None)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageCms.py:243
↓ 4 callersFunctioncheck_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 callersMethodclose
(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 callersFunctionfreetype
(font)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/ImageFont.py:840
↓ 4 callersMethodgetbbox
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 callersFunctionisSpiderHeader
(t)
00-aws-simple-demos/aws-lambda-s3-events/01_LABSETUP/lambda/PIL/SpiderImagePlugin.py:62
↓ 4 callersMethodload
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