Enum PixelType
Enum PixelType
Namespace: Aspose.OCR
Assembly: Aspose.OCR.dll (25.1.0)
กำหนดประเภทของข้อมูลพิกเซลสำหรับการรู้จำภาพ.
public enum PixelType
Fields
BGR = 4
ตั้งประเภทเป็น bgr.
BYTE = 1
ตั้งประเภทเป็น 1 บิตต่อพิกเซล.
RGB = 2
ตั้งประเภทเป็น rgb.
RGBA = 3
ตั้งประเภทเป็น argb.
Remarks
ใช้ใน AsposeOcr.RecognizeImage(byte[], int, int, PixelType, RecognitionSettings) เพื่อกำหนดลำดับของไบต์ในอาร์เรย์ข้อมูล.