cdjvu

Simple shell script for encoding Compound DjVu Files.
Synopsis
       % cdjvu <ppmfile> <djvufile>
    

Description

Shell script cdjvu illustrates a very simple encoder for creating a Compound DjVu File. The script first segments the image using a fixed threshold. It calls then program cjb2 to create the encoded mask and program djvumake to create the color layers and assemble the DjVu file.

The segmentation performed by this script depends on the NetPBM tools ppmtopgm and pgmtopbm (http://www.arc.umn.edu/GVL/Software/netpbm.html). You may also investigate option -segment in the ImageMagick program convert (http://www.wizards.dupont.com/cristy/) or consider creating the mask image using The Gimp (http://www.gimp.org). You may also investigate cpaldjvu for a completely different way to create Compound DjVu Files.

Author:
Patrick Haffner <haffner@research.att.com>

Alphabetic index Hierarchy of classes


DjVu is a trademark of AT&T.
All other products mentioned are registered trademarks or trademarks of their respective companies.