Answers for "c# create bitmap from base64 string"

C#
1

how to convert a Bitmap to a base64 string c# xamarin universal

using(var stream = new MemoryStream())
{
   yourBitmap.Compress(Bitmap.CompressFormat.Png,0, stream);

    var bytes = stream.ToArray();
    var str = Convert.ToBase64String(bytes);
}
Posted by: Guest on October-07-2020

Code answers related to "c# create bitmap from base64 string"

C# Answers by Framework

Browse Popular Code Answers by Language