getImageType

open fun getImageType(filePath: String): String

Return the type of image.

Return

the type of image

Parameters

filePath

The path of file.

open fun getImageType(file: File): String

Return the type of image.

Return

the type of image

Parameters

file

The file.