leptonica 0.1.0

Rust port of Leptonica image processing library
Documentation
//! Leptonica - Image processing library for Rust
//!
//! This is a Rust port of the [Leptonica](http://www.leptonica.org/) image
//! processing library.
//!
//! # Overview
//!
//! Leptonica provides a comprehensive set of image processing operations
//! including:
//!
//! - Image I/O (PNG, JPEG, TIFF, BMP, GIF, WebP)
//! - Morphological operations (dilation, erosion, opening, closing)
//! - Geometric transforms (rotation, scaling, affine, projective)
//! - Filtering and enhancement
//! - Color processing and quantization
//! - Document image processing (deskew, dewarp, binarization)
//!
//! # Example
//!
//! ```
//! use leptonica::{Pix, PixelDepth};
//!
//! // Create a new 8-bit grayscale image
//! let pix = Pix::new(640, 480, PixelDepth::Bit8).unwrap();
//! assert_eq!(pix.width(), 640);
//! assert_eq!(pix.height(), 480);
//! ```

// Internal modules
pub mod color;
pub mod core;
pub mod filter;
pub mod io;
pub mod morph;
pub mod recog;
pub mod region;
pub mod transform;

// Re-export core types at root level (maintaining public API)
pub use core::{
    BlendMode, Box, Boxa, Boxaa, Color, ColorHistogram, ColormapArrays, CompareResult, CompareType,
    ComponentsPerColor, ContourOutput, CountRelativeToZero, DPix, DiffDirection, Error,
    ExtremeResult, ExtremeType, FPix, GrayBlendType, HistogramResult, HistogramStats, ImageFormat,
    InColor, InitColor, InterpolationType, MaskBlendType, MaxValueResult, NegativeHandling,
    NonOpaqueInfo, Numa, Numaa, Pix, PixColormap, PixMut, Pixa, PixaSortType, Pixaa, PixelDepth,
    PixelDiffResult, PixelMaxType, PixelOp, PixelStatType, Pta, Ptaa, RangeComponent, RangeValues,
    Result, RgbaQuad, RopOp, RowColumnStats, Sarray, Sarraya, ScanDirection, SizeRelation,
    SortOrder, SpixHeader, StatsRequest, ThresholdComparison, WindowedStats, blend_with_gray_mask,
    correlation_binary,
};