@dusrel/image API
Preparing search index...
codecs/webp/src
decode
Function decode
decode
(
data
:
ArrayBuffer
|
Uint8Array
<
ArrayBufferLike
>
)
:
Promise
<
ImageData
>
Decodes JPEG bytes into raw RGBA pixels (an ImageData, alpha = 255).
Parameters
data
:
ArrayBuffer
|
Uint8Array
<
ArrayBufferLike
>
Returns
Promise
<
ImageData
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@dusrel/image API
Loading...
Decodes JPEG bytes into raw RGBA pixels (an ImageData, alpha = 255).