ly.img.android.pesdk.utils / BitmapFactoryUtils / checkIsPngResource

checkIsPngResource

static fun checkIsPngResource(@DrawableRes @RawRes resourceID: int): boolean

Check if the resource is a jpeg file, by looking at the file_extension

Parameters

resourceID - int: resource id.

Return
boolean: true if teh resource is an svg.