readPixels

fun readPixels(info: ImageInfo, addr: NativePointer, rowBytes: Int): Boolean
fun readPixels(info: ImageInfo, addr: NativePointer, rowBytes: Int, srcX: Int, srcY: Int): Boolean
fun readPixels(pixmap: Pixmap?): Boolean
fun readPixels(pixmap: Pixmap, srcX: Int, srcY: Int): Boolean