IColorConverter Class
Summary: The color converter.
Module: aspose.imaging
Full Name: aspose.imaging.IColorConverter
Methods
Name | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
source_format | PixelDataFormat | The source format. |
data | byte | The source data. |
offset | int | The offset in bytes where data copying should begin. |
bit_start | int | The bit start. Note this value is not byte aligned value instead this is actual bit where copying should begin. |
samples_count | int | The samples count. |
lines_count | int | The lines count. |
dest_format | PixelDataFormat | The destination format. |
output_data | byte | The output data. |
output_offset | int | The output offset where data copying should start. |
Returns
Type | Description |
---|---|
int | The converted bytes count. |