Answers for "bitmap to base64 android"

1

convert base64 to bitmap android

byte[] decodedString = Base64.decode(encodedImage, Base64.DEFAULT);
Bitmap decodedByte = BitmapFactory.decodeByteArray(decodedString, 0, decodedString.length);
Posted by: Guest on September-17-2020
0

Android Bitmap to Base64 String

String encoded = Base64.encodeToString(byteArray, Base64.DEFAULT);
Posted by: Guest on June-03-2021
0

Android Bitmap to Base64 String

ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();  
bitmap.compress(Bitmap.CompressFormat.PNG, 100, byteArrayOutputStream);
byte[] byteArray = byteArrayOutputStream .toByteArray();
Posted by: Guest on June-03-2021

Code answers related to "bitmap to base64 android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language