Answers for "convert string to bitmap android kotlin"

0

convert string to bitmap android kotlin

try {
  	val imageBytes =Base64.decode(string,0)
  	val image=BitmapFactory.decodeByteArray(imageBytes, 0, imageBytes.size)
 	return image
} catch(Exception e) {
    e.getMessage()
    return null
}
Posted by: Guest on March-03-2022

Code answers related to "convert string to bitmap android kotlin"

Browse Popular Code Answers by Language