plotomics
plotomics
R docs
Python docs
GitHub
Preparing search index...
plotomics/core
canvasToPNG
Function canvasToPNG
canvasToPNG
(
canvas
:
HTMLCanvasElement
,
scale
?:
number
)
:
Promise
<
Blob
|
null
>
Rasterize a canvas to a PNG Blob at an optional pixel-scale multiplier.
Parameters
canvas
:
HTMLCanvasElement
scale
:
number
= 1
Returns
Promise
<
Blob
|
null
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
plotomics
R docs
Python docs
GitHub
plotomics
Loading...
Rasterize a canvas to a PNG Blob at an optional pixel-scale multiplier.