.\" -*- coding: euc-jp -*- .\" Copyright (c) 2001-2003 Leon Bottou, Yann Le Cun, Patrick Haffner, .\" Copyright (c) 2001 AT&T Corp., and Lizardtech, Inc. .\" .\" This is free documentation; you can redistribute it and/or .\" modify it under the terms of the GNU General Public License as .\" published by the Free Software Foundation; either version 2 of .\" the License, or (at your option) any later version. .\" .\" The GNU General Public License's references to "object code" .\" and "executables" are to be interpreted as the output of any .\" document formatting or typesetting system, including .\" intermediate and printed output. .\" .\" This manual is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public .\" License along with this manual. Otherwise check the web site .\" of the Free Software Foundation at http://www.fsf.org. .TH CPALDJVU 1 "10/11/2001" "DjVuLibre-3.5" "DjVuLibre-3.5" .SH 名前 cpaldjvu \- インデックスカラー画像用ドキュメント形式 DjVu エンコーダ。 .SH 書式 .BI "cpaldjvu [" "options" "] " "inputppmfile" " " "outputdjvufile" .SH 説明 プログラム .B cpaldjvu は色数の少ない画像用のドキュメント形式 DjVu エンコーダです。画面のスクリーン ショットのように単色のパーツからなる画像に有効です。 このような画像の圧縮比率は、 .SM GIF や .SM PNG で圧縮されたファイルよりも高く圧縮されます。 このプログラムはシンプルなカラークオンタイゼーションアルゴリズムを使用して 色数を指定された値に減らすことで動作します。占有率の高い色は背景へ送られます。 その他の色は前景へ送られます。 .SH オプション .TP .BI "-dpi " "n" 出力ファイルの解像度を DPI で指定します。DjVu ファイルにエンコードされる解像度は デコーダが特定のディスプレイ上でどのようにデコードするかによって決まります。 有効な値は 25 〜 1,200 です。デフォルト値は 300 DPI です。 .TP .BI "-colors " "n" カラークオンタイゼーションアルゴリズムの最大色数を指定します。デフォルトは 256 です。値を小さくするとファイルサイズも小さくなります。 .TP .B "-bgwhite" 背景レイヤとして、全体の中の占有率が高い色ではなく 最も明るい色を背景とするよう指定します。 .TP .B "-verbose" 動作中に付加的な情報を表示します。 .SH 注意 画像が似たような複数の色を持つ写真領域を含む場合、カラークオンタイゼーションは 画質を大きく損なう場合があります。この問題は入力ファイルを .BR ppmquant などの別のクオンタイゼーションプログラムを使用して事前に処理して置くことで 解決できることがあります。誤差拡散アルゴリズムを使用しないでください。 このアルゴリズムはランダムなディザパターンを精選するため、エンコードの パフォーマンスを定価させます。 .SH 不具合 このプログラムは .BR csepdjvu のプリプロセッサとして書き直すべきです。 .SH クレジット このプログラムは L\('eon Bottou が開発し、 Bill Riemers その他の方々により改良されました。 この man page は Nobchika Morimoto が翻訳しました。 .SH 参照 .BR djvu (1)、 .BR pbm (5)、 .BR ppmquant (1)、 .BR pnmtogif (1)、 .BR pnmtopng (1)