IColorConverter Klasse

Summary: The color converter.

Module: aspose.imaging

Full Name: aspose.imaging.IColorConverter

Methods

NameBeschreibung
convert(source_format, data, offset, bit_start, samples_count, lines_count, dest_format, output_data, output_offset)Konvertiert die übergebenen Daten in das Ausgabeformat.

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) 

Konvertiert die übergebenen Daten in das Ausgabeformat.

Parameters:

ParameterTypBeschreibung
source_formatPixelDataFormatDas Quellformat.
DatenSystem.ByteDie Quelldaten.
offsetintDer Offset in Bytes, an dem das Kopieren von Daten beginnen soll.
bit_startintDer Bit-Start. Hinweis: Dieser Wert ist nicht byte‑ausgerichtet, sondern das tatsächliche Bit, an dem das Kopieren beginnen soll.
samples_countintDie Anzahl der Samples.
lines_countintDie Zeilenanzahl.
dest_formatPixelDataFormatDas Zielformat.
output_dataSystem.ByteDie Ausgabedaten.
output_offsetintDer Ausgabe-Offset, an dem das Kopieren von Daten beginnen soll.

Returns

TypBeschreibung
intDie Anzahl der konvertierten Bytes.