converttopdf
sample programs for Leptonica image processing library
Install
- All systems
-
curl cmd.cat/converttopdf.sh
- Debian
-
apt-get install leptonica-progs
- Ubuntu
-
apt-get install leptonica-progs
- Alpine
-
apk add leptonica
- Arch Linux
-
pacman -S leptonica
- Kali Linux
-
apt-get install leptonica-progs
- Fedora
-
dnf install leptonica
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install leptonica-progs
- OS X
-
brew install leptonica
- Raspbian
-
apt-get install leptonica-progs
- Dockerfile
- dockerfile.run/converttopdf
- Docker
-
docker run cmd.cat/converttopdf converttopdf
powered by Commando
leptonica-progs
sample programs for Leptonica image processing library
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.
leptonica
The library supports many operations that are useful on
* Document images * Natural images Fundamental image processing and image analysis operations * Rasterop (aka bitblt) * Affine transforms (scaling, translation, rotation, shear) on images of arbitrary pixel depth * Projective and bi-linear transforms * Binary and gray scale morphology, rank order filters, and convolution * Seed-fill and connected components * Image transformations with changes in pixel depth, both at the same scale and with scale change * Pixelwise masking, blending, enhancement, arithmetic ops, etc.