IColorConverter Class
Summary: The color converter.
Module: aspose.psd
Full Name: aspose.psd.IColorConverter
Aspose.PSD Version: 24.9.0
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. |