insertPage

fun insertPage(image: ByteArray, index: Int): Result<Page>
fun insertPage(image: Bitmap, index: Int): Result<Page>
fun insertPage(image: ImageRef, index: Int): Result<Page>

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