IColorConverter Class

Summary: The color converter.

Module: aspose.imaging

Full Name: aspose.imaging.IColorConverter

Methods

NameDescription
convert(source_format, data, offset, bit_start, samples_count, lines_count, dest_format, output_data, output_offset)Converts the passed data to the output format.

Method: convert(source_format, data, offset, bit_start, samples_count, lines_count, dest_format, output_data, output_offset)

 convert(source_format, data, offset, bit_start, samples_count, lines_count, dest_format, output_data, output_offset) 

Converts the passed data to the output format.

Parameters:

ParameterTypeDescription
source_formatPixelDataFormatThe source format.
databyteThe source data.
offsetintThe offset in bytes where data copying should begin.
bit_startintThe bit start. Note this value is not byte aligned value instead this is actual bit where copying should begin.
samples_countintThe samples count.
lines_countintThe lines count.
dest_formatPixelDataFormatThe destination format.
output_databyteThe output data.
output_offsetintThe output offset where data copying should start.

Returns

TypeDescription
intThe converted bytes count.