pyface.resource.resource_factory module

Default base-class for resource factories.

class pyface.resource.resource_factory.ResourceFactory[source]

Bases: object

Default base-class for resource factories.

image_from_file(filename)[source]

Creates an image from the data in the specified filename.

image_from_data(data)[source]

Creates an image from the specified data.