Inherits from
- GraphicsContextArray: enthought.kiva.agg.agg.GraphicsContextArray
Method summary
- __init__(self, file, interpolation = 'nearest', bottom_up = 1)
- convert_pixel_format(self, pix_format, inplace = 0)
Methods
- __init__(self, file, interpolation = 'nearest', bottom_up = 1)
Create an Image object (GraphicsContextArray) from a file.
Parameters
- file
- can be either a file name or an open file object
- interpolation
- specifies the type of filter used when putting the image into another GraphicsContextArray
- convert_pixel_format(self, pix_format, inplace = 0)
Convert gc from one pixel format to another.