ImageToBase64 Method
Converts a System.Drawing.Image to a base-64 string representation.

C# Syntax

public static string ImageToBase64( 
   Image image
)

Parameters

image
The source System.Drawing.Image to convert.

Return Value

The base-64 stream string representation of the provided image.