Class Base64ImageStringConverter
Class used to convert System.Drawing.Image images to base-64 stream representations and vice versa.
public class Base64ImageStringConverter
- Inheritance
-
Base64ImageStringConverter
- Inherited Members
Constructors
Base64ImageStringConverter()
public Base64ImageStringConverter()
Methods
Base64ToImage(string)
Converts the specified base-64 stream string representation of an image into a Image.
public static Image Base64ToImage(string base64String)
Parameters
base64StringstringThe base-64 stream string representation of an image.
Returns
ImageToBase64(Image)
Converts a Image to a base-64 string representation.
public static string ImageToBase64(Image image)
Parameters
Returns
- string
The base-64 stream string representation of the provided image.