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 (FlyteFile | Image)

Return type:

str