Interface IColorConverter
Interface IColorConverter
ชื่อพื้นที่: Aspose.Imaging การประกอบ: Aspose.Imaging.dll (25.5.0)
ตัวแปลงสี
public interface IColorConverterMethods
Convert(PixelDataFormat, byte[ ], int, int, int, int, PixelDataFormat, byte[ ], ฯลฯ)
แปลงข้อมูลที่ผ่านไปเป็นรูปแบบการส่งออก
int Convert(PixelDataFormat sourceFormat, byte[] data, int offset, int bitStart, int samplesCount, int linesCount, PixelDataFormat destFormat, byte[] outputData, int outputOffset)Parameters
sourceFormat PixelDataFormat
รูปแบบแหล่งข้อมูล
data byte
[ ]
ข้อมูลแหล่งข้อมูล
offset int
ส่วนลดในไบต์ที่การคัดลอกข้อมูลควรเริ่มต้น
bitStart int
บันทึกว่าค่านี้ไม่ได้เป็นค่าที่สอดคล้องกับ byte แทนนี้เป็น bit จริงที่การคัดลอกควรเริ่มต้น
samplesCount int
ตัวอย่างคํานวณ
linesCount int
หมายเลขเส้น
destFormat PixelDataFormat
การกําหนดเป้าหมาย
outputData byte
[ ]
ข้อมูลการส่งออก
outputOffset int
การส่งออกจะตอบแทนที่การคัดลอกข้อมูลควรเริ่มต้น
Returns
บิตแปลงคํานวณ