trimBorders

fun Bitmap.trimBorders(color: Int, maxMargin: Int = 0): Bitmap