Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. val imageBytes = string.toByteArray(). // string is the base64image
  2. val image = BitmapFactory.decodeByteArray(imageBytes, 0, imageBytes.size)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement