public interface IColorConverter
The color converter.
Modifier and Type | Method and Description |
---|---|
int |
convert(PixelDataFormat sourceFormat,
byte[] data,
int offset,
int bitStart,
int samplesCount,
int linesCount,
PixelDataFormat destFormat,
byte[] outputData,
int outputOffset)
Converts the passed data to the output format.
|
int convert(PixelDataFormat sourceFormat, byte[] data, int offset, int bitStart, int samplesCount, int linesCount, PixelDataFormat destFormat, byte[] outputData, int outputOffset)
Converts the passed data to the output format.
sourceFormat
- The source format.data
- The source data.offset
- The offset in bytes where data copying should begin.bitStart
- The bit start. Note this value is not byte aligned value instead this is actual bit where copying should begin.samplesCount
- The samples count.linesCount
- The lines count.destFormat
- The destination format.outputData
- The output data.outputOffset
- The output offset where data copying should start.