
ToolipsBase64.base64img — FunctionBase64 Interface
base64img(raw::String, filetype::String = "png") -> ::Component
Creates a Base64 image component from a raw string of image data.
example
ToolipsBase64.base64img — FunctionBase64 Interface
base64img(raw::String, filetype::String = "png") -> ::Component
Creates a Base64 image component from any type shown with the image/png mime. For example, a plot which only shows as a png.
example
ToolipsBase64.base64img — MethodBase64 Interface
base64img(path::String) -> ::Component
Creates a Base64 image component from an image file.
example
ToolipsBase64.update_base64! — FunctionBase64 Interface
update_base64!(cm::ComponentModifier, name::Component, raw::String, filetype::String = "png") -> ::Component
Updates a given img component with the raw source as Base64
example
ToolipsBase64.update_base64! — FunctionBase64 Interface
update_base64!(cm::ComponentModifier, name::String, raw::String, filetype::String = "png") -> ::Component
Updates a given img component by name with the raw source as Base64
example
ToolipsBase64.update_base64! — FunctionBase64 Interface
update_base64!(cm::ComponentModifier, name::String, raw::Any, filetype::String = "png") -> ::Component
Updates a given img component by name with the raw source as Base64
example
ToolipsBase64.update_base64! — FunctionBase64 Interface
update_base64!(cm::ComponentModifier, name::Component, raw::Any, filetype::String = "png") -> ::Component
Updates a given img component with the raw source as Base64
example