IColorConverter 类

Summary: The color converter.

Module: aspose.imaging

Full Name: aspose.imaging.IColorConverter

Methods

Name描述
convert(source_format, data, offset, bit_start, samples_count, lines_count, dest_format, output_data, output_offset)将传入的数据转换为输出格式。

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) 

将传入的数据转换为输出格式。

Parameters:

参数TypeDescription
source_formatPixelDataFormat源格式。
数据System.Byte源数据。
offsetint数据复制应开始的字节偏移量。
bit_startint位起始位置。注意,此值不是字节对齐的值,而是实际的位,复制应从此位开始。
samples_countint样本计数。
lines_countint行计数。
dest_formatPixelDataFormat目标格式。
output_dataSystem.Byte输出数据。
output_offsetint数据复制应开始的输出偏移量。

Returns

TypeDescription
int已转换的字节计数。