public static Pair < Bitmap , Bitmap > splitHorizontally ( @ NonNull final Bitmap bitmap ) { return splitHorizontally ( bitmap , bitmap . getHeight ( ) / 2 ) ; }
Splits a specific bitmap horizontally at half .