image#
- class predict_backend.page.elements.image.Image(content, size=ImageSize.MEDIUM, title='', description='', show_title=True, show_description=True, extension='jpeg', raw_image_bytes=False)#
Bases:
Element
An image to show on a flow.
- Parameters:
content (
Image
) – The PIL image to show on a flow.size (
ImageSize
) – The size of the image to display, defaults to ImageSize.MEDIUM.title (
str
) – The title of the element, defaults to ‘’.description (
str
) – The element’s description, defaults to ‘’.show_title (
bool
) – Whether to show the title on the page when rendered, defaults to True.show_description (
bool
) – Whether to show the description to the page when rendered, defaults to True.