GSTODJVU

Section: Misc. Reference Manual Pages (contrib)
Updated: 1998-03-13
Index Начало
 

NAME

pstodjvu - compress a postscript or PDF file to a DJVU file  

SYNOPSIS

pstodjvu [ options ] filename output-file-prefix

pstodjvu [ options ] filename output-file-prefix

 

DESCRIPTION

pstodjvu converts the pages in the input postscript file into a set of compressed DJVU files. The generated files are of the form output-file-prefixNNNN.djvu, where NNNN counts up from 0001 for each page.

pstodjvu uses GhostScript gs(1) to convert documents, so you may also convert PDF files, if your version of GhostScript supports PDF input.  

OPTIONS

All switch names may be abbreviated; for example, -quality may be written -qual or -q. Most of the "basic" switches can be abbreviated to as little as one letter. Upper and lower case are equivalent (thus -FIRSTPAGE is the same as -firstpage).

The basic switches are:

-firstpage N
Start at page N.
-lastpage N
Stop at page N.
-gray
Output a grayscale DJVU file.
-help
Print a screen of usage information. You can also specify -?.
-quality N
Set image slice values to adjust background image quality. Quality is 0 (worst) to 100 (best); default is 75. (See cdjvu(1) for more information.)
 

EXAMPLES

This example compresses pages 3-5 of the postscript file foo.ps and saves the output as foo0000.djvu, foo0001.djvu, and foo0002.djvu:

pstodjvu -f 3 -last 5 foo.ps foo
 

ENVIRONMENT

TMPDIR
Write temporary files to this directory instead of /tmp.
 

SEE ALSO

cdjvu(1), djvuinfo(1), ddjvu(contrib),
cjpeg(1), ppm(5), pgm(5)

http://djvu.research.att.com/  

PREREQUISITES

You must have the ghostscript gs(1) command installed. We recommend using version 5.10 or better.  

AUTHOR

Patrick Haffner and Joseph M. Orost  

BUGS

Should allow all of the cdjvu options to be passed.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLES
ENVIRONMENT
SEE ALSO
PREREQUISITES
AUTHOR
BUGS

This document was created by man2html, using the manual pages.
Time: 12:11:47 GMT, June 17, 1999