Interface IColorConverter
Interface IColorConverter
Namespace: Aspose.Imaging
Assembly: Aspose.Imaging.dll (25.8.0)
The color converter.
public interface IColorConverterMethods
Convert(PixelDataFormat, byte[], int, int, int, int, PixelDataFormat, byte[], int)
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)Parameters
sourceFormat PixelDataFormat
The source format.
data byte
[]
The source data.
offset int
The offset in bytes where data copying should begin.
bitStart int
The bit start. Note this value is not byte aligned value instead this is actual bit where copying should begin.
samplesCount int
The samples count.
linesCount int
The lines count.
destFormat PixelDataFormat
The destination format.
outputData byte
[]
The output data.
outputOffset int
The output offset where data copying should start.
Returns
The converted bytes count.