checkMatchDimensions

fun <T : Bitmap> T.checkMatchDimensions(other: T): T