Class ImageData
Inheritance
System.Object
ImageData
Syntax
public abstract class ImageData
Constructors
ImageData(Size, Int32)
Declaration
protected ImageData(Size size, int bitDepth)
Parameters
Type |
Name |
Description |
Size |
size |
|
System.Int32 |
bitDepth |
|
Properties
AltersWrittenData
Declaration
protected abstract bool AltersWrittenData { get; }
Property Value
Type |
Description |
System.Boolean |
|
BitDepth
Declaration
public int BitDepth { get; }
Property Value
Type |
Description |
System.Int32 |
|
BytesPerRow
Declaration
public int BytesPerRow { get; }
Property Value
Type |
Description |
System.Int32 |
|
Size
Declaration
public Size Size { get; }
Property Value
Methods
Read()
Reads decompressed image data.
Declaration
public virtual byte[] Read()
Returns
Type |
Description |
System.Byte[] |
|
ReadCompressed()
Reads compressed image data.
Declaration
public abstract byte[] ReadCompressed()
Returns
Type |
Description |
System.Byte[] |
|
Write(Byte[])
Writes rows of image data into compressed format.
Declaration
public void Write(byte[] array)
Parameters
Type |
Name |
Description |
System.Byte[] |
array |
An array containing the data to be compressed.
|