parse9PatchBitmap

Utility function returning NinePatchImage from a given Bitmap.

Bitmap has to be in 9-patch format (.9.png) or RuntimeException will be thrown.

Important: This method will allocate native memory outside the JVM heap on every call.