insertPage

fun insertPage(image: ByteArray, index: Int): Page
fun insertPage(image: Bitmap, index: Int): Page

Inserts original image with the given index, and returns Page. This is an IO operation and is not recommended to execute in the UI thread.