Class EncodedImageData
Represents encoded image data.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Fixed.Model.Resources
Assembly: Telerik.Windows.Documents.Fixed.dll
Syntax
public class EncodedImageData
Constructors
EncodedImageData(Byte[], Byte[], Int32, Int32, Int32, String, String[])
Initializes a new instance of the EncodedImageData class.
Declaration
public EncodedImageData(byte[] data, byte[] alphaChannel, int bitsPerComponent, int width, int height, string colorSpace, string[] filters)
Parameters
System.Byte[]
data
The data. |
System.Byte[]
alphaChannel
The alpha channel data. This data should be encoded with same bitsPerComponent, width, height and filters as the image data. The colorspace of the alpha channel is not related to the colorspace of the image data and the alpha data colorspace is always DeviceGray. |
System.Int32
bitsPerComponent
The bits per component. |
System.Int32
width
The width. |
System.Int32
height
The height. |
System.String
colorSpace
The color space. |
System.String[]
filters
The filters. |
EncodedImageData(Byte[], Int32, Int32, Int32, String, String[])
Initializes a new instance of the EncodedImageData class.
Declaration
public EncodedImageData(byte[] data, int bitsPerComponent, int width, int height, string colorSpace, string[] filters)
Parameters
System.Byte[]
data
The data. |
System.Int32
bitsPerComponent
The bits per component. |
System.Int32
width
The width. |
System.Int32
height
The height. |
System.String
colorSpace
The color space. |
System.String[]
filters
The filters. |
Properties
AlphaChannel
Gets the alpha channel data. This data should be encoded with same bitsPerComponent, width, height and filters as the image data. The colorspace of the alpha channel is not related to the colorspace of the image data and the alpha data colorspace is always DeviceGray.
Declaration
public byte[] AlphaChannel { get; }
Property Value
System.Byte[]
|
BitsPerComponent
Gets the bits per component.
Declaration
public int BitsPerComponent { get; }
Property Value
System.Int32
The bits per component. |
ColorSpace
Gets the color space.
Declaration
public string ColorSpace { get; }
Property Value
System.String
The color space. |
Data
Gets the data.
Declaration
public byte[] Data { get; }
Property Value
System.Byte[]
The data. |
Filters
Gets the filters.
Declaration
public string[] Filters { get; }
Property Value
System.String[]
The filters. |
Height
Gets the height.
Declaration
public int Height { get; }
Property Value
System.Int32
The height. |
Width
Gets the width.
Declaration
public int Width { get; }
Property Value
System.Int32
The width. |