ly.img.android.pesdk.utils / TransparentJpeg / combinationExists

combinationExists

fun combinationExists(dir: File, filename: String, cleanupIfNot: Boolean): Boolean

Check if the RGB and ALPHA channel's exists

Parameters

dir - saveImage directory

filename - the filename prefix

cleanupIfNot - delete the second channel if the other not present

Return
true, if the RGB and ALPHA channel is present.