| |
- ImageFile.ImageFile(Image.Image)
-
- ArgImageFile
- PngImagePlugin.ChunkStream
-
- ArgStream
class ArgImageFile(ImageFile.ImageFile) |
| |
- Method resolution order:
- ArgImageFile
- ImageFile.ImageFile
- Image.Image
Methods defined here:
- load(self)
- seek(self, frame)
- tell(self)
- verify(self)
- Verify ARG file
Data and other attributes defined here:
- format = 'ARG'
- format_description = 'Animated raster graphics'
Methods inherited from ImageFile.ImageFile:
- __init__(self, fp=None, filename=None)
- draft(self, mode, size)
- Set draft mode
- load_end(self)
- load_prepare(self)
Methods inherited from Image.Image:
- __getattr__(self, name)
- __repr__(self)
- convert(self, mode=None, data=None, dither=None, palette=0, colors=256)
- Convert to other pixel format
- copy(self)
- Copy raster data
- crop(self, box=None)
- Crop region from image
- filter(self, filter)
- Apply environment filter to image
- fromstring(self, data, decoder_name='raw', *args)
- Load data to image from binary string
- getbands(self)
- Get band names
- getbbox(self)
- Get bounding box of actual data (non-zero pixels) in image
- getcolors(self, maxcolors=256)
- Get colors from image, up to given limit
- getdata(self, band=None)
- Get image data as sequence object.
- getextrema(self)
- Get min/max value
- getim(self)
- Get PyCObject pointer to internal image memory
- getpalette(self)
- Get palette contents.
- getpixel(self, xy)
- Get pixel value
- getprojection(self)
- Get projection to x and y axes
- histogram(self, mask=None, extrema=None)
- Take histogram of image
- offset(self, xoffset, yoffset=None)
- (deprecated) Offset image in horizontal and/or vertical direction
- paste(self, im, box=None, mask=None)
- Paste other image into region
- point(self, lut, mode=None)
- Map image through lookup table
- putalpha(self, alpha)
- Set alpha layer
- putdata(self, data, scale=1.0, offset=0.0)
- Put data from a sequence object into an image.
- putpalette(self, data, rawmode='RGB')
- Put palette data into an image.
- putpixel(self, xy, value)
- Set pixel value
- quantize(self, colors=256, method=0, kmeans=0, palette=None)
- resize(self, size, resample=0)
- Resize image
- rotate(self, angle, resample=0, expand=0)
- Rotate image. Angle given as degrees counter-clockwise.
- save(self, fp, format=None, **params)
- Save image to file or stream
- show(self, title=None, command=None)
- Display image (for debug purposes only)
- split(self)
- Split image into bands
- thumbnail(self, size, resample=0)
- Create thumbnail representation (modifies image in place)
- tobitmap(self, name='image')
- Return image as an XBM bitmap
- tostring(self, encoder_name='raw', *args)
- Return image as a binary string
- transform(self, size, method, data=None, resample=0, fill=1)
- Transform image
- transpose(self, method)
- Transpose image (flip or rotate in 90 degree steps)
|
class ArgStream(PngImagePlugin.ChunkStream) |
|
Parser callbacks for ARG data |
|
Methods defined here:
- __init__(self, fp)
- chunk_ADEF(self, offset, bytes)
- ADEF -- store image
- chunk_AEND(self, offset, bytes)
- AEND -- end of animation
- chunk_AFRM(self, offset, bytes)
- AFRM -- next frame follows
- chunk_AHDR(self, offset, bytes)
- AHDR -- animation header
- chunk_BLNK(self, offset, bytes)
- BLNK -- create blank image
- chunk_DEND(self, offset, bytes)
- chunk_DHDR(self, offset, bytes)
- DHDR -- delta image follows
- chunk_IDAT(self, offset, bytes)
- IDAT -- image data block
- chunk_IEND(self, offset, bytes)
- IEND -- end of image
- chunk_IHDR(self, offset, bytes)
- IHDR -- full image follows
- chunk_JEND(self, offset, bytes)
- chunk_JHDR(self, offset, bytes)
- JHDR -- JPEG image follows
- chunk_NAME(self, offset, bytes)
- NAME -- name the current image
- chunk_PAST(self, offset, bytes)
- PAST -- paste one image into another
- chunk_PLTE(self, offset, bytes)
- PLTE -- palette data
- chunk_UEND(self, offset, bytes)
- chunk_UHDR(self, offset, bytes)
- UHDR -- uncompressed image data follows (EXPERIMENTAL)
- chunk_sYNC(self, offset, bytes)
- SYNC -- reset decoder
Methods inherited from PngImagePlugin.ChunkStream:
- call(self, cid, pos, len)
- Call the appropriate chunk handler
- close(self)
- crc(self, cid, data)
- Read and verify checksum
- crc_skip(self, cid, data)
- Read checksum. Used if the C module is not present
- push(self, cid, pos, len)
- read(self)
- Fetch a new chunk. Returns header information.
- verify(self, endchunk='IEND')
| |