Answers for "bitmap to string android xamarin"

0

bitmap to string android xamarin

Bitmap bitmap = BitmapFactory.DecodeResource(Resources, Resource.Drawable.ace1);
MemoryStream stream = new MemoryStream();
bitmap.Compress(Bitmap.CompressFormat.Jpeg, 100, stream);
byte[] ba = stream.ToArray();
string bal = Base64.EncodeToString(ba, Base64.Default);
Posted by: Guest on October-06-2020

Code answers related to "bitmap to string android xamarin"

Browse Popular Code Answers by Language