ImageDecoderKt

public final class ImageDecoderKt


Summary

Public methods

static final @RequiresApi(value = 28) @NonNull Bitmap

Create a Bitmap from a Source

static final @RequiresApi(value = 28) @NonNull Drawable

Create a Drawable from a Source

Public methods

ImageDecoderKt.decodeBitmap

@RequiresApi(value = 28)
public static final @NonNull Bitmap ImageDecoderKt.decodeBitmap(
    ImageDecoder.Source receiver,
    @ExtensionFunctionType Function3<ImageDecoderImageDecoder.ImageInfoImageDecoder.SourceUnit> action
)

Create a Bitmap from a Source

See also
decodeBitmap

ImageDecoderKt.decodeDrawable

@RequiresApi(value = 28)
public static final @NonNull Drawable ImageDecoderKt.decodeDrawable(
    ImageDecoder.Source receiver,
    @ExtensionFunctionType Function3<ImageDecoderImageDecoder.ImageInfoImageDecoder.SourceUnit> action
)

Create a Drawable from a Source

See also
decodeDrawable