In the following code, the last line fails with a runtime exception. Fill in the blank to fix this.
val image = BitmapFactory.decodeFile(
input,
BitmapFactory.Options().apply {
________________
}
)
Canvas(image).drawText(caption, offsetX.toFloat(), offsetY.toFloat(), textPaint)
Tip: One option is to copy the Bitmap with a special flag, but this is not the required solution.