New to Telerik UI for WPFStart a free 30-day trial

IImageEncoder

Interface

Encodes RadBitmapData to as stream in a specified format.

Definition

Namespace:Telerik.Windows.Media.Imaging

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public interface IImageEncoder

Properties

Gets the name of the encoder.

C#
string Name { get; }

Gets the supported extensions.

C#
IEnumerable<string> SupportedExtensions { get; }

Methods

Encodes the specified image.

C#
void Encode(RadBitmapData image, Stream output)
Parameters:imageRadBitmapData

The image.

outputStream

The output.