toMapboxImage

Convert Bitmap to rendering engine Image instance.

Important: This will allocate native memory outside the JVM heap. If possible, avoid using it inside loops/animations.