Skip to contents

Helper function to convert a plot or image to raw HTML

Usage

encodeGraphic(g, style = "style=\"width:150px;height:100px\"", ...)

Arguments

g

plot or image object.

style

html style, default is set to width of 150px and height of 100px

...

Value

Raw HTML for the image