C# Class Trigrad.DataTypes.Compression.TrigradCompressed

The TrigradCompressed form of a bitmap.
ファイルを表示 Open project: ruarai/Trigrad

Public Properties

Property Type Description
Height int
Mesh List
SampleTable Pixel>.Dictionary
Width int

Public Methods

Method Description
DebugVisualisation ( ) : PixelMap

Provides a visualisation of the SampleTable.

MeshOutput ( PixelMap original ) : PixelMap
Save ( Stream s ) : void

Saves a TrigradCompressed image to a stream.

TrigradCompressed ( Stream s ) : System

Loads a TrigradCompressed image from a stream.

TrigradCompressed ( ) : System.Collections.Generic

Constructs a TrigradCompressed without any initial data.

Method Details

DebugVisualisation() public method

Provides a visualisation of the SampleTable.
public DebugVisualisation ( ) : PixelMap
return PixelMapSharp.PixelMap

MeshOutput() public method

public MeshOutput ( PixelMap original ) : PixelMap
original PixelMapSharp.PixelMap
return PixelMapSharp.PixelMap

Save() public method

Saves a TrigradCompressed image to a stream.
public Save ( Stream s ) : void
s System.IO.Stream
return void

TrigradCompressed() public method

Loads a TrigradCompressed image from a stream.
public TrigradCompressed ( Stream s ) : System
s System.IO.Stream
return System

TrigradCompressed() public method

Constructs a TrigradCompressed without any initial data.
public TrigradCompressed ( ) : System.Collections.Generic
return System.Collections.Generic

Property Details

Height public_oe property

The height of the bitmap.
public int Height
return int

Mesh public_oe property

public List Mesh
return List

SampleTable public_oe property

A dictionary of sampled points to their corresponding colors.
public Dictionary SampleTable
return Pixel>.Dictionary

Width public_oe property

The width of the bitmap.
public int Width
return int