Preparing search index...
The search index is not available
png-compressor
png-compressor
image
imageElementToCanvas
Function imageElementToCanvas
image
Element
To
Canvas
(
image
)
:
{
canvas
:
HTMLCanvasElement
;
context
:
CanvasRenderingContext2D
;
height
:
number
;
width
:
number
;
}
Parameters
image
:
HTMLImageElement
Returns
{
canvas
:
HTMLCanvasElement
;
context
:
CanvasRenderingContext2D
;
height
:
number
;
width
:
number
;
}
canvas
:
HTMLCanvasElement
context
:
CanvasRenderingContext2D
height
:
number
width
:
number
Settings
Theme
OS
Light
Dark
png-
compressor
compress
decode
encode
file
image
blob
To
Image
Element
decode
Data
From
Image
encode
Data
Into
Image
get
Image
Data
image
Element
To
Blob
image
Element
To
Canvas
json-
array-
buffer
png
Generated using
TypeDoc