86
produces a Tagged Image Format (TIFF) file.
87
The resulting file uses the best available
88
lossless compression model.
85
produces a Tagged Image Format (TIFF)
86
file using lossless compression.
89
87
Enabling lossy JPEG compression (see option
91
89
below) often produces much smaller files.
101
99
produces a Portable Document Format (PDF) file.
102
100
Each page in the resulting file is represented
103
101
by an image at the specified resolution,
104
using the best available lossless compression model.
102
using lossless compression.
105
103
Enabling lossy JPEG compression (see option
107
105
below) often produces much smaller files.
145
143
outputs pages 1 and 3, followed by all the document
146
144
pages in reverse order up to page 4.
147
When this option is specified, program
149
generates one separate file per page
150
named by replacing the
155
in a manner simular to the
148
159
.BI "-mode=" "mod"
149
160
Selects which layers of the DjVu image should be rendered.
150
161
Valid rendering modes are
260
271
when this option is specified.
262
273
.BI "-quality=" "factor"
263
Enables lossy compression in TIFF and PDF files.
264
Without this option, TIFF or PDF output files always
265
use lossless compression or no compression.
274
Enables lossy JPEG compression for TIFF and PDF files.
275
This option only affects images that cannot be encoded
276
using the preferred TIFF/G4 compression.
268
specifies a JPEG quantization factor
269
ranging from 25 to 150. See command
279
is a quantization factor ranging from 25 to 150.
271
282
for more information on JPEG quantization factors.
272
283
Value 80 is a good starting point.
274
.B "-quality=uncompressed"
285
.BR "-quality=uncompressed"
275
286
Completely disables compression in TIFF and PDF files.
276
287
Although the resulting files are often huge,
277
288
this is sometimes useful for maximal compatibility
278
289
with hastily written software.
291
.BR "-quality=deflate"
292
Enables DEFLATE compression for TIFF files.
293
Images that cannot be encoded using the preferred TIFF/G4 compression
294
will be encoded with DEFLATE compression if available.
295
Otherwise the more portable PACKBITS compression is used.
296
Specifying this option is not necessary for PDF files
297
because this is the default behavior.
280
299
.SH DEPRECATED OPTIONS
318
.BI "ddjvu -format=ppm -page=1 -size=100x100 " "myfile.djvu" " -"
337
.BI "ddjvu -format=ppm -page=1-10 -eachpage -size=100x100 " "myfile.djvu" " thumb%03d.ppm"
320
produces a thumbnail for the first page of a document and
321
outputs it as a PPM file on the standard output.
339
produces 100x100 thumbnails for the first ten page of a document
340
and outputs them as PPM files named
324
346
The new version of this program was written