class ImageStore – store and retrieve image data
Constructors
- class datastore.ImageStore
Construct an ImageStore object.
Methods
- ImageStore.list()
List the tags of all available images.
- ImageStore.get(image_tag)
Retrieve an image from its tag. The return value is a tuple
(image_data, image_type)
, where:
- ImageStore.get_token(image_tag)
Returns an opaque
image.ImageToken
that can be passed tosplashscreen.Splashscreen
methods. Unlike the previous method, this call does not result in the copying of the image from flash storage into a python bytearray. The token can be passed instead. This may result in faster rendering of the splashscreen background.