Click or drag to resize
OcrPix Class
Represents the leptonica-style image
Inheritance Hierarchy
SystemObject
  Patagames.OcrOcrPix

Namespace: Patagames.Ocr
Assembly: Patagames.Ocr (in Patagames.Ocr.dll) Version: 1.7.0.341
Syntax
public class OcrPix : IDisposable

The OcrPix type exposes the following members.

Properties
  NameDescription
Public propertyBpp
Gets the depth in bits (bits per pixel)
Public propertyColorMap
Gets the colormap (may be null)
Public propertyColorMapBpp
Colr map depth in bits per pixel (1, 2, 4 or 8 bpp)
Public propertyFileFormat
Gets input file format, IFF_*
Public propertyHandle
Gets handle to internal tesseract object
Public propertyHeight
Gets the pixel height of the image. Also sometimes referred to as the number of scan lines.
Public propertyScan0
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.
Public propertySpecial
Gets special instructions for I/O, etc
Public propertySpp
Gets the number of samples per pixel
Public propertyStride
Gets the stride width (also called scan width) of the image.
Public propertyText
Gets the text string associated with pix
Public propertyWidth
Gets the pixel width of the image. This can also be thought of as the number of pixels in one scan line.
Public propertyXRes
Gets image res (ppi) in x direction (use 0 if unknown)
Public propertyYRes
Gets image res (ppi) in y direction (use 0 if unknown)
Top
Methods
  NameDescription
Public methodDispose
Releases all resources used by this OcrPix
Public methodStatic memberFromBitmap
Creates new instance of OcrPix class.
Public methodStatic memberFromFile
Creates new instance of OcrPix class from file
Public methodStatic memberFromRaw
Creates new instance of OcrPix class.
Public methodSave
Writes image into file.
Top
See Also