Table of Contents

Class Base64ImageStringConverter

Namespace
HP.LFT.SDK
Assembly
HP.LFT.SDK.dll

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

base64String string

The base-64 stream string representation of an image.

Returns

Image

The Image version of the specified image.

ImageToBase64(Image)

Converts a Image to a base-64 string representation.

public static string ImageToBase64(Image image)

Parameters

image Image

The source Image to convert.

Returns

string

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