rullino
Preparing search index...
@rullino/core
encodeImage
Function encodeImage
encodeImage
(
img
:
LinearImage
,
options
?:
ExportOptions
)
:
Promise
<
Blob
>
Encodes a linear premultiplied image as PNG / JPEG / WebP (the CPU path of
exportImage
).
Parameters
img
:
LinearImage
options
:
ExportOptions
= {}
Returns
Promise
<
Blob
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
rullino
Loading...
Encodes a linear premultiplied image as PNG / JPEG / WebP (the CPU path of
exportImage).