flytekitplugins.deck.ImageRenderer#

class flytekitplugins.deck.ImageRenderer[source]#

Converts a FlyteFile or PIL.Image.Image object to an HTML string with the image data represented as a base64-encoded string.

Methods

to_html(image_src)[source]#
Parameters

image_src (Union[flytekit.types.file.file.FlyteFile, PIL.Image.Image]) –

Return type

str