Table of Contents

ImageTask.SaveAsBase64DataUrl Method

Definition

Namespace
GleamTech.ImageUltimate
Assembly
GleamTech.ImageUltimate.dll

Executes all the commands in the chain and saves the resulting image as a base64 encoded data URL, formatted as "data:[<mediatype>][;base64],<data>".

public string SaveAsBase64DataUrl(ImageFormat? imageFormat = null)

Parameters

imageFormat ImageFormat?

The file format used to save the image. If not specified, the same file format of the source image will be used and if the format is not supported for saving, then Jpeg format will be used.

Returns

string

A string containing base64 encoded data URL of the image.