.\"                                      Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH LEPTONICA 3 "June 27, 2006"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
leptonica \- image processing library
.SH SYNOPSIS
.B #include <leptonica/allheaders.h>
.sp
cc file.c 
.B -llept
.SH DESCRIPTION
This manual page documents briefly the
.B leptonica
image processing library.
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
.\" respectively.
\fBLeptonica\fP is a well-tested C library for some basic image
processing operations, along with a description of the functions and
some design methods. A full set of affine transformations
(translation, shear, rotation, scaling) on images of all depths is
included, with the exception that some of the scaling methods do not
work at all depths. There are also implementations of binary
morphology, grayscale morphology, convolution and rank order filters,
and applications such as jbig2 image processing and color
quantization. You will also find basic utilities for the safe and
efficient handling of arrays (of strings, numbers, number pairs and
image-related geometrical objects), byte queues, generic stacks,
generic lists, and endian-independent indexing into 32-bit arrays.

.SH OPTIONS
Most example programs included with leptonica will report their usage if
you try to run them on the command line with no arguments. Usage varies
from program to program. These are sample programs; read their source 
code if you are trying to do something similar.

.SH SEE ALSO
.BR convertfilestopdf (1),
.BR convertfilestops (1),
.BR convertformat (1),
.BR convertsegfilestopdf (1),
.BR convertsegfilestops (1),
.BR converttopdf (1),
.BR converttops (1),
.BR fileinfo (1),
.BR xtractprotos (1),
.sp
The library and sample programs are documented more fully by
.IR "http://www.leptonica.com" ,
available via your favorite web user agent.
.SH AUTHOR
leptonica was written by Dan Bloomberg <bloomberg@ieee.org>.
.PP
This manual page was written by Jeff Breidenbach <jab@debian.org>,
for the Debian project (but may be used by others).