toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.codecs
/
ImageDecoder
Image
Decoder
open
external
class
ImageDecoder
(
init
:
ImageDecoderInit
)
(
source
)
Available only in secure contexts.
MDN Reference
Members
Constructors
Image
Decoder
Link copied to clipboard
constructor
(
init
:
ImageDecoderInit
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
complete
Link copied to clipboard
val
complete
:
Boolean
MDN Reference
completed
Link copied to clipboard
val
completed
:
Promise
<
Void
>
MDN Reference
tracks
Link copied to clipboard
val
tracks
:
ImageTrackList
MDN Reference
type
Link copied to clipboard
val
type
:
String
MDN Reference
Functions
close
Link copied to clipboard
fun
close
(
)
MDN Reference
decode
Link copied to clipboard
suspend
fun
decode
(
options
:
ImageDecodeOptions
=
definedExternally
)
:
ImageDecodeResult
MDN Reference
decode
Async
Link copied to clipboard
fun
decodeAsync
(
options
:
ImageDecodeOptions
=
definedExternally
)
:
Promise
<
ImageDecodeResult
>
reset
Link copied to clipboard
fun
reset
(
)
MDN Reference