toggle menu
KAHelpers
androidJvm
switch theme
search in API
kotlinextensions
/
dev.funkymuse.kotlinextensions.imagedecoder
/
decodeImage
decode
Image
@
RequiresApi
(
value
=
28
)
fun
File
.
decodeImage
(
)
:
ImageDecoder.Source
@
RequiresApi
(
value
=
28
)
fun
ByteBuffer
.
decodeImage
(
)
:
ImageDecoder.Source
@
RequiresApi
(
value
=
28
)
fun
Resources
.
decodeImage
(
@
IdRes
img
:
Int
)
:
ImageDecoder.Source
@
RequiresApi
(
value
=
28
)
fun
ContentResolver
.
decodeImage
(
uri
:
Uri
)
:
ImageDecoder.Source
@
RequiresApi
(
value
=
28
)
fun
AssetManager
.
decodeImage
(
fileName
:
String
)
:
ImageDecoder.Source