Enum PixelType

Enum PixelType

Namespace: Aspose.OCR
Assembly: Aspose.OCR.dll (25.2.0)

Determines the type of the pixel data for image recognition.

public enum PixelType

Fields

BGR = 4

Sets type as bgr.

BYTE = 1

Sets type as 1 bit per pixel.

RGB = 2

Sets type as rgb.

RGBA = 3

Sets type as argb.

Remarks

Used in the AsposeOcr.RecognizeImage(byte[], int, int, PixelType, RecognitionSettings) to set the sequences of bytes in the data array.

 English