flytekitplugins.deck.ImageRenderer#

class flytekitplugins.deck.ImageRenderer#

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)#
Parameters:

image_src (FlyteFile | Image)

Return type:

str