href_base_64_from_bytes method

href_base_64_from_bytes

Sets the ‘href’ attribute of the SVG ‘image’ element using base64 encoded bytes of an image.

Returns

The current instance of SVGImageElementBuilder for method chaining.

def href_base_64_from_bytes(self, data, mime_type):
    ...
ParameterTypeDescription
databytesThe byte array of the image data.
mime_typestrThe MIME type of the image.

See Also