How to convert imageview to bytearray in kotlin Tutorials