combinationExists

Check if the RGB and ALPHA channel's exists

Return

true, if the RGB and ALPHA channel is present.

Parameters

cleanupIfNot

delete the second channel if the other not present

dir

saveImage directory

filename

the filename prefix

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