Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

base64 to image c#

public static Image LoadBase64(string base64)
{
	byte[] bytes = Convert.FromBase64String(base64);
    Image image;
    using (MemoryStream ms = new MemoryStream(bytes))
    {
        image = Image.FromStream(ms);
    }
    return image;
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: stop audio unity 
Csharp :: loop through enum c# 
Csharp :: raycast shoot unity 
Csharp :: unity create cube in script 
Csharp :: c# datagridview clear all rows 
Csharp :: unity textmeshpro 
Csharp :: current directory in sln file c# 
Csharp :: unity wait for seconds 
Csharp :: unity c# instantiate prefab 
Csharp :: how to delay execution in c# 
Csharp :: c# cast string to double 
Csharp :: c# summary link 
Csharp :: how to create directory folder in c# 
Csharp :: c# read json file into object 
Csharp :: Schema::defultString larvel 
Csharp :: c# how to add newline on text box 
Csharp :: c# post get request 
Csharp :: Unity rotate player to mouse point slowly 
Csharp :: c# datediff minutes 
Csharp :: set textbox colour to transparent c# 
Csharp :: how to check if a number is even in c# 
Csharp :: c# get file extension 
Csharp :: json property annotation c# 
Csharp :: search the third word in string in c# 
Csharp :: get random from list c# 
Csharp :: how to be like bill gates 
Csharp :: unity cinemachine lock camera axis 
Csharp :: unity deadzone 
Csharp :: get web config key value in c# razor view 
Csharp :: the .net core sdk cannot be located unity 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =