C# Class BitMiracle.LibJpeg.SampleRow

Mostrar archivo Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
GetComponentsAt ( int column, byte &r, byte &g, byte &b ) : void
SampleRow ( byte row, int columnCount, byte bitsPerComponent, byte componentsPerSample ) : System

Creates a row from raw samples data.

WriteToList ( System outputBytes ) : void

Method Details

GetComponentsAt() public method

public GetComponentsAt ( int column, byte &r, byte &g, byte &b ) : void
column int
r byte
g byte
b byte
return void

SampleRow() public method

Creates a row from raw samples data.
public SampleRow ( byte row, int columnCount, byte bitsPerComponent, byte componentsPerSample ) : System
row byte Raw description of samples.
/// You can pass collection with more than sampleCount samples - only sampleCount samples /// will be parsed and all remaining bytes will be ignored.
columnCount int The number of samples in row.
bitsPerComponent byte The number of bits per component.
componentsPerSample byte The number of components per sample.
return System

WriteToList() public method

public WriteToList ( System outputBytes ) : void
outputBytes System
return void