class Image(ImageBase)

The Image class represents an RGB image that can be loaded from a file and drawn on a Canvas.

On platforms which support it, an Image can have an alpha channel and will be rendered with transparency.

Constructors

Image(file = filename)
Creates an Image from the contents of the given file. The set of supported file formats is platform-dependent.
Note: The file parameter must be specified using a keyword argument.
---