![]() |
![]()
| ![]() |
![]()
NAMEcpaldjvu - DjVuDocument encoder for low-color images. SYNOPSIScpaldjvu [options] inputppmfile outputdjvufile DESCRIPTIONProgram cpaldjvu is a DjVuDocument encoder for images containing few colors. It performs best on images containing large solid color areas such as screen dumps. Compression ratios on such images can be much higher than those achieved by GIF or PNG compression. This program works by first reducing the number of distinct colors to a small specified value using a simple color quantization algorithm. The dominant color is encoded into the background layer. The other colors are encoded into the foreground layer. OPTIONS
REMARKSThe color quantization might introduce severe degradation if the image contains photographic areas with a large number of very similar colors. Color quantization problems might be solved by pre-processing the input file with a different quantization program such as ppmquant. Avoid using the error diffusion dithering algorithm. This algorithm generates random dithering patterns that might be very costly to encode. BUGSThis program should be rewritten as a pre-processor for csepdjvu. CREDITSThis program was initially written by Léon Bottou <leonb@users.sourceforge.net> and was improved by Bill Riemers <docbill@sourceforge.net> and many others. SEE ALSOdjvu(1), pbm(5), ppmquant(1), pnmtogif(1), pnmtopng(1)
|