ImageFileFormat

Any format the image file can have

enum ImageFileFormat

Constructors

ImageFileFormat
Link copied to clipboard
open fun ImageFileFormat(decoderClass: Class<Out Decoder>)

Entries

UNSUPPORTED
Link copied to clipboard
GIF
Link copied to clipboard
CANVAS
Link copied to clipboard
BMP
Link copied to clipboard
TIFF
Link copied to clipboard
PNG
Link copied to clipboard
JPEG
Link copied to clipboard
HEIC
Link copied to clipboard
WEBP
Link copied to clipboard
XML_DRAWABLE
Link copied to clipboard

Functions

getDecoder
Link copied to clipboard
open fun getDecoder(resources: Resources, uri: Uri): Decoder
open fun getDecoder(resources: Resources, resourceId: Int): Decoder
open fun getDecoder(context: Context, canvasClass: Class<Out CanvasDecoderDrawable>, variant: Integer): Decoder
getMimeType
Link copied to clipboard
open fun getMimeType(): String

Properties

hasGifDecoder
Link copied to clipboard
open val hasGifDecoder: Boolean