Ocr |
The OcrPix type exposes the following members.
| Name | Description | |
|---|---|---|
| Bpp | Gets the depth in bits (bits per pixel) | |
| ColorMap | Gets the colormap (may be null) | |
| ColorMapBpp | Colr map depth in bits per pixel (1, 2, 4 or 8 bpp) | |
| FileFormat | Gets input file format, IFF_* | |
| Handle | Gets handle to internal tesseract object | |
| Height | Gets the pixel height of the image. Also sometimes referred to as the number of scan lines. | |
| Scan0 | Gets the address of the first pixel data in the image. This can also be thought of as the first scan line in the image. | |
| Special | Gets special instructions for I/O, etc | |
| Spp | Gets the number of samples per pixel | |
| Stride | Gets the stride width (also called scan width) of the image. | |
| Text | Gets the text string associated with pix | |
| Width | Gets the pixel width of the image. This can also be thought of as the number of pixels in one scan line. | |
| XRes | Gets image res (ppi) in x direction (use 0 if unknown) | |
| YRes | Gets image res (ppi) in y direction (use 0 if unknown) |
| Name | Description | |
|---|---|---|
| Dispose | Releases all resources used by this OcrPix | |
| FromBitmap | Creates new instance of OcrPix class. | |
| FromFile | Creates new instance of OcrPix class from file | |
| FromRaw | Creates new instance of OcrPix class. | |
| Save | Writes image into file. | |
| SetResolution | Sets the resolution for this OcrPix. |