poppler 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +5 -5
- data/ext/poppler/extconf.rb +1 -1
- data/lib/2.0/poppler.so +0 -0
- data/test/test_annotation.rb +3 -1
- data/test/test_page.rb +0 -18
- data/vendor/local/bin/cjpeg.exe +0 -0
- data/vendor/local/bin/djpeg.exe +0 -0
- data/vendor/local/bin/jpegtran.exe +0 -0
- data/vendor/local/bin/libjpeg-9.dll +0 -0
- data/vendor/local/bin/{libpoppler-44.dll → libpoppler-46.dll} +0 -0
- data/vendor/local/bin/libpoppler-cpp-0.dll +0 -0
- data/vendor/local/bin/libpoppler-glib-8.dll +0 -0
- data/vendor/local/bin/libsqlite3-0.dll +0 -0
- data/vendor/local/bin/pdfdetach.exe +0 -0
- data/vendor/local/bin/pdffonts.exe +0 -0
- data/vendor/local/bin/pdfimages.exe +0 -0
- data/vendor/local/bin/pdfinfo.exe +0 -0
- data/vendor/local/bin/pdfseparate.exe +0 -0
- data/vendor/local/bin/pdftocairo.exe +0 -0
- data/vendor/local/bin/pdftohtml.exe +0 -0
- data/vendor/local/bin/pdftoppm.exe +0 -0
- data/vendor/local/bin/pdftops.exe +0 -0
- data/vendor/local/bin/pdftotext.exe +0 -0
- data/vendor/local/bin/pdfunite.exe +0 -0
- data/vendor/local/bin/rdjpgcom.exe +0 -0
- data/vendor/local/bin/sqlite3.exe +0 -0
- data/vendor/local/bin/wrjpgcom.exe +0 -0
- data/vendor/local/include/jconfig.h +7 -1
- data/vendor/local/include/jmorecfg.h +68 -12
- data/vendor/local/include/jpeglib.h +19 -12
- data/vendor/local/include/poppler/cpp/poppler-document.h +104 -0
- data/vendor/local/include/poppler/cpp/poppler-embedded-file.h +55 -0
- data/vendor/local/include/poppler/cpp/poppler-font.h +91 -0
- data/vendor/local/include/poppler/cpp/poppler-global.h +111 -0
- data/vendor/local/include/poppler/cpp/poppler-image.h +71 -0
- data/vendor/local/include/poppler/cpp/poppler-page-renderer.h +66 -0
- data/vendor/local/include/poppler/cpp/poppler-page-transition.h +82 -0
- data/vendor/local/include/poppler/cpp/poppler-page.h +76 -0
- data/vendor/local/include/poppler/cpp/poppler-rectangle.h +84 -0
- data/vendor/local/include/poppler/cpp/poppler-toc.h +74 -0
- data/vendor/local/include/poppler/cpp/poppler-version.h +39 -0
- data/vendor/local/include/poppler/glib/poppler-annot.h +64 -0
- data/vendor/local/include/poppler/glib/poppler-enums.h +34 -0
- data/vendor/local/include/poppler/glib/poppler-features.h +1 -1
- data/vendor/local/include/poppler/glib/poppler-media.h +1 -1
- data/vendor/local/include/poppler/glib/poppler-page.h +61 -0
- data/vendor/local/include/poppler/glib/poppler-structure-element.h +357 -0
- data/vendor/local/include/poppler/glib/poppler.h +11 -1
- data/vendor/local/include/sqlite3.h +245 -89
- data/vendor/local/lib/girepository-1.0/Poppler-0.18.typelib +0 -0
- data/vendor/local/lib/libjpeg.a +0 -0
- data/vendor/local/lib/libjpeg.dll.a +0 -0
- data/vendor/local/lib/libjpeg.la +2 -2
- data/vendor/local/lib/libpoppler-cpp.a +0 -0
- data/vendor/local/lib/libpoppler-cpp.dll.a +0 -0
- data/vendor/local/lib/libpoppler-cpp.la +41 -0
- data/vendor/local/lib/libpoppler-glib.a +0 -0
- data/vendor/local/lib/libpoppler-glib.dll.a +0 -0
- data/vendor/local/lib/libpoppler-glib.la +2 -2
- data/vendor/local/lib/libpoppler.a +0 -0
- data/vendor/local/lib/libpoppler.dll.a +0 -0
- data/vendor/local/lib/libpoppler.la +4 -4
- data/vendor/local/lib/libsqlite3.a +0 -0
- data/vendor/local/lib/libsqlite3.dll.a +0 -0
- data/vendor/local/lib/libsqlite3.la +1 -1
- data/vendor/local/lib/pkgconfig/poppler-cairo.pc +2 -2
- data/vendor/local/lib/pkgconfig/poppler-cpp.pc +13 -0
- data/vendor/local/lib/pkgconfig/poppler-glib.pc +2 -2
- data/vendor/local/lib/pkgconfig/poppler-splash.pc +2 -2
- data/vendor/local/lib/pkgconfig/poppler.pc +1 -1
- data/vendor/local/lib/pkgconfig/sqlite3.pc +2 -2
- data/vendor/local/share/gir-1.0/Poppler-0.18.gir +2993 -169
- data/vendor/local/share/gtk-doc/html/poppler/PopplerAnnot.html +2674 -1137
- data/vendor/local/share/gtk-doc/html/poppler/PopplerAttachment.html +186 -133
- data/vendor/local/share/gtk-doc/html/poppler/PopplerDocument.html +2523 -1782
- data/vendor/local/share/gtk-doc/html/poppler/PopplerFormField.html +1071 -738
- data/vendor/local/share/gtk-doc/html/poppler/PopplerLayer.html +225 -146
- data/vendor/local/share/gtk-doc/html/poppler/PopplerMedia.html +276 -201
- data/vendor/local/share/gtk-doc/html/poppler/PopplerMovie.html +142 -101
- data/vendor/local/share/gtk-doc/html/poppler/PopplerPage.html +2191 -1421
- data/vendor/local/share/gtk-doc/html/poppler/PopplerStructureElement.html +3781 -0
- data/vendor/local/share/gtk-doc/html/poppler/annotation-glossary.html +30 -44
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-12.html +34 -39
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-14.html +27 -32
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-16.html +50 -55
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-18.html +23 -28
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-20.html +12 -15
- data/vendor/local/share/gtk-doc/html/poppler/api-index-0-22.html +18 -23
- data/vendor/local/share/gtk-doc/html/poppler/api-index-deprecated.html +12 -15
- data/vendor/local/share/gtk-doc/html/poppler/api-index-full.html +762 -280
- data/vendor/local/share/gtk-doc/html/poppler/ch01.html +12 -9
- data/vendor/local/share/gtk-doc/html/poppler/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/index.html +7 -4
- data/vendor/local/share/gtk-doc/html/poppler/index.sgml +258 -269
- data/vendor/local/share/gtk-doc/html/poppler/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/poppler-PopplerAction.html +454 -320
- data/vendor/local/share/gtk-doc/html/poppler/poppler-Version-and-Features-Information.html +102 -76
- data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler.html +367 -278
- data/vendor/local/share/gtk-doc/html/poppler/poppler.devhelp2 +356 -409
- data/vendor/local/share/gtk-doc/html/poppler/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/style.css +314 -104
- data/vendor/local/share/gtk-doc/html/poppler/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/poppler/up.png +0 -0
- data/vendor/local/share/man/man1/cjpeg.1 +23 -2
- data/vendor/local/share/man/man1/djpeg.1 +2 -2
- data/vendor/local/share/man/man1/jpegtran.1 +12 -4
- data/vendor/local/share/man/man1/pdfimages.1 +78 -7
- data/vendor/local/share/man/man1/pdfinfo.1 +6 -0
- data/vendor/local/share/man/man1/pdftocairo.1 +9 -17
- data/vendor/local/share/man/man1/pdftohtml.1 +1 -1
- data/vendor/local/share/man/man1/pdftoppm.1 +12 -0
- data/vendor/local/share/man/man1/pdftops.1 +10 -20
- data/vendor/local/share/man/man1/rdjpgcom.1 +1 -1
- data/vendor/local/share/man/man1/sqlite3.1 +72 -22
- metadata +34 -15
- data/lib/1.9/poppler.so +0 -0
- data/lib/2.1/poppler.so +0 -0
Binary file
|
Binary file
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.TH CJPEG 1 "
|
1
|
+
.TH CJPEG 1 "23 November 2013"
|
2
2
|
.SH NAME
|
3
3
|
cjpeg \- compress an image file to a JPEG file
|
4
4
|
.SH SYNOPSIS
|
@@ -199,6 +199,26 @@ this feature. Reversible color transform support is not yet
|
|
199
199
|
widely implemented, so many decoders will be unable to view
|
200
200
|
a reversible color transformed JPEG file at all.
|
201
201
|
.TP
|
202
|
+
.B \-bgycc
|
203
|
+
Create big gamut YCC JPEG file.
|
204
|
+
In this type of encoding the color difference components are quantized
|
205
|
+
further by a factor of 2 compared to the normal Cb/Cr values, thus creating
|
206
|
+
space to allow larger color values with higher saturation than the normal
|
207
|
+
gamut limits to be encoded. In order to compensate for the loss of color
|
208
|
+
fidelity compared to a normal YCC encoded file, the color quantization
|
209
|
+
tables can be adjusted accordingly. For example,
|
210
|
+
.B cjpeg \-bgycc \-quality
|
211
|
+
80,90 will give similar results as
|
212
|
+
.B cjpeg \-quality
|
213
|
+
80.
|
214
|
+
.B Caution:
|
215
|
+
For correct decompression a decoder with big gamut YCC support (JFIF
|
216
|
+
version 2) is required. An old decoder may or may not display a big
|
217
|
+
gamut YCC encoded JPEG file, depending on JFIF version check and
|
218
|
+
corresponding warning/error configuration. In case of a granted
|
219
|
+
decompression the old decoder will display the image with half
|
220
|
+
saturated colors.
|
221
|
+
.TP
|
202
222
|
.B \-dct int
|
203
223
|
Use integer DCT method (default).
|
204
224
|
.TP
|
@@ -355,7 +375,8 @@ Communications of the ACM, April 1991 (vol. 34, no. 4), pp. 30-44.
|
|
355
375
|
.SH AUTHOR
|
356
376
|
Independent JPEG Group
|
357
377
|
.SH BUGS
|
358
|
-
GIF input files are no longer supported, to avoid the Unisys LZW patent
|
378
|
+
GIF input files are no longer supported, to avoid the Unisys LZW patent
|
379
|
+
(now expired).
|
359
380
|
(Conversion of GIF files to JPEG is usually a bad idea anyway.)
|
360
381
|
.PP
|
361
382
|
Not all variants of BMP and Targa file formats are supported.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.TH DJPEG 1 "
|
1
|
+
.TH DJPEG 1 "23 November 2013"
|
2
2
|
.SH NAME
|
3
3
|
djpeg \- decompress a JPEG file to an image file
|
4
4
|
.SH SYNOPSIS
|
@@ -246,7 +246,7 @@ Communications of the ACM, April 1991 (vol. 34, no. 4), pp. 30-44.
|
|
246
246
|
.SH AUTHOR
|
247
247
|
Independent JPEG Group
|
248
248
|
.SH BUGS
|
249
|
-
To avoid the Unisys LZW patent,
|
249
|
+
To avoid the Unisys LZW patent (now expired),
|
250
250
|
.B djpeg
|
251
251
|
produces uncompressed GIF files. These are larger than they should be, but
|
252
252
|
are readable by standard GIF decoders.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.TH JPEGTRAN 1 "
|
1
|
+
.TH JPEGTRAN 1 "13 September 2013"
|
2
2
|
.SH NAME
|
3
3
|
jpegtran \- lossless transformation of JPEG files
|
4
4
|
.SH SYNOPSIS
|
@@ -156,15 +156,23 @@ image region but losslessly preserves what is inside. Like the rotate and
|
|
156
156
|
flip transforms, lossless crop is restricted by the current JPEG format: the
|
157
157
|
upper left corner of the selected region must fall on an iMCU boundary. If
|
158
158
|
this does not hold for the given crop parameters, we silently move the upper
|
159
|
-
left corner up and/or left to make it so, simultaneously increasing the
|
160
|
-
dimensions to keep the lower right crop corner unchanged. (Thus, the
|
161
|
-
image covers at least the requested region, but may cover more.)
|
159
|
+
left corner up and/or left to make it so, simultaneously increasing the
|
160
|
+
region dimensions to keep the lower right crop corner unchanged. (Thus, the
|
161
|
+
output image covers at least the requested region, but may cover more.)
|
162
|
+
The adjustment of the region dimensions may be optionally disabled.
|
162
163
|
|
163
164
|
The image can be losslessly cropped by giving the switch:
|
164
165
|
.TP
|
165
166
|
.B \-crop WxH+X+Y
|
166
167
|
Crop to a rectangular subarea of width W, height H starting at point X,Y.
|
167
168
|
.PP
|
169
|
+
A complementary lossless-wipe option is provided to discard (gray out) data
|
170
|
+
inside a given image region while losslessly preserving what is outside:
|
171
|
+
.TP
|
172
|
+
.B \-wipe WxH+X+Y
|
173
|
+
Wipe (gray out) a rectangular subarea of width W, height H starting at point
|
174
|
+
X,Y.
|
175
|
+
.PP
|
168
176
|
Other not-strictly-lossless transformation switches are:
|
169
177
|
.TP
|
170
178
|
.B \-grayscale
|
@@ -10,17 +10,26 @@ pdfimages \- Portable Document Format (PDF) image extractor
|
|
10
10
|
.SH DESCRIPTION
|
11
11
|
.B Pdfimages
|
12
12
|
saves images from a Portable Document Format (PDF) file as Portable
|
13
|
-
Pixmap (PPM), Portable Bitmap (PBM),
|
13
|
+
Pixmap (PPM), Portable Bitmap (PBM), Portable Network Graphics (PNG),
|
14
|
+
Tagged Image File Format (TIFF), JPEG, JPEG2000, or JBIG2 files.
|
14
15
|
.PP
|
15
16
|
Pdfimages reads the PDF file
|
16
17
|
.IR PDF-file ,
|
17
|
-
scans one or more pages, and writes one
|
18
|
+
scans one or more pages, and writes one file for each image,
|
18
19
|
.IR image-root - nnn . xxx ,
|
19
20
|
where
|
20
21
|
.I nnn
|
21
22
|
is the image number and
|
22
23
|
.I xxx
|
23
|
-
is the image type (.ppm, .pbm, .jpg).
|
24
|
+
is the image type (.ppm, .pbm, .png, .tif, .jpg, jp2, jb2e, or jb2g).
|
25
|
+
.PP
|
26
|
+
The default output format is PBM (for monochrome images) or PPM for
|
27
|
+
non-monochrome. The \-png or \-tiff options change to default output
|
28
|
+
to PNG or TIFF respectively. If both \-png and \-tiff are specified,
|
29
|
+
CMYK images will be written as TIFF and all other images will be
|
30
|
+
written as PNG. In addition the \-j, \-jp2, and \-jbig2 options will
|
31
|
+
cause JPEG, JPEG2000, and JBIG2, respectively, images in the PDF file
|
32
|
+
to be written in their native format.
|
24
33
|
.SH OPTIONS
|
25
34
|
.TP
|
26
35
|
.BI \-f " number"
|
@@ -29,11 +38,61 @@ Specifies the first page to scan.
|
|
29
38
|
.BI \-l " number"
|
30
39
|
Specifies the last page to scan.
|
31
40
|
.TP
|
41
|
+
.B \-png
|
42
|
+
Change the default output format to PNG.
|
43
|
+
.TP
|
44
|
+
.B \-tiff
|
45
|
+
Change the default output format to TIFF.
|
46
|
+
.TP
|
32
47
|
.B \-j
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
48
|
+
Write images in JPEG format as JPEG files instead of the default format. The JPEG file is identical to the JPEG data stored in the PDF.
|
49
|
+
.TP
|
50
|
+
.B \-jp2
|
51
|
+
Write images in JPEG2000 format as JP2 files instead of the default format. The JP2 file is identical to the JPEG2000 data stored in the PDF.
|
52
|
+
.TP
|
53
|
+
.B \-jbig2
|
54
|
+
Write images in JBIG2 format as JBIG2 files instead of the default format. JBIG2 data in PDF is of the embedded type. The embedded type of JBIG2 has an optional separate file containing global data. The embedded data is written with the extension .jb2e and the global data (if available) will be written to the same image number with the extension .jb2g. The content of both these files is indentical to the JBIG2 data in the PDF.
|
55
|
+
.TP
|
56
|
+
.B \-ccitt
|
57
|
+
Write images in CCITT format as CCITT files instead of the default
|
58
|
+
format. The CCITT file is identical to the CCITT data stored in the
|
59
|
+
PDF. PDF files contain additional parameters specifying
|
60
|
+
how to decode the CCITT data. These parameters are translated to
|
61
|
+
fax2tiff input options and written to a .params file with the same image
|
62
|
+
number. The parameters are:
|
63
|
+
.RS
|
64
|
+
.TP
|
65
|
+
.B \-1
|
66
|
+
1D Group 3 encoding
|
67
|
+
.TP
|
68
|
+
.B \-2
|
69
|
+
2D Group 3 encoding
|
70
|
+
.TP
|
71
|
+
.B \-4
|
72
|
+
Group 4 encoding
|
73
|
+
.TP
|
74
|
+
.B \-A
|
75
|
+
Beginning of line is aligned on a byte boundary
|
76
|
+
.TP
|
77
|
+
.B \-P
|
78
|
+
Beginning of line is not aligned on a byte boundary
|
79
|
+
.TP
|
80
|
+
.B \-X n
|
81
|
+
The image width in pixels
|
82
|
+
.TP
|
83
|
+
.B \-W
|
84
|
+
Encoding uses 1 for black and 0 for white
|
85
|
+
.TP
|
86
|
+
.B \-B
|
87
|
+
Encoding uses 0 for black and 1 for white
|
88
|
+
.TP
|
89
|
+
.B \-M
|
90
|
+
Input data fills from most significant bit to least significant bit.
|
91
|
+
.RE
|
92
|
+
.TP
|
93
|
+
.B \-all
|
94
|
+
Write JPEG, JPEG2000, JBIG2, and CCITT images in their native format. CMYK files are written as TIFF files. All other images are written as PNG files.
|
95
|
+
This is equivalent to specifying the options \-png \-tiff \-j \-jp2 \-jbig2 \-ccitt.
|
37
96
|
.TP
|
38
97
|
.B \-list
|
39
98
|
Instead of writing the images, list the images along with various information for each image. Do not specify an
|
@@ -134,6 +193,18 @@ ccitt - CCITT Group 3 or Group 4 Fax
|
|
134
193
|
.TP
|
135
194
|
.B object ID
|
136
195
|
the image dictionary object ID (number and generation)
|
196
|
+
.TP
|
197
|
+
.B x\-ppi
|
198
|
+
The horizontal resolution of the image (in pixels per inch) when rendered on the pdf page.
|
199
|
+
.TP
|
200
|
+
.B y\-ppi
|
201
|
+
The vertical resolution of the image (in pixels per inch) when rendered on the pdf page.
|
202
|
+
.TP
|
203
|
+
.B size
|
204
|
+
The size of the embedded image in the pdf file. The following suffixes are used: 'B' bytes, 'K' kilobytes, 'M' megabytes, and 'G' gigabytes.
|
205
|
+
.TP
|
206
|
+
.B ratio
|
207
|
+
The compression ratio of the embedded image.
|
137
208
|
.RE
|
138
209
|
.TP
|
139
210
|
.BI \-opw " password"
|
@@ -48,6 +48,9 @@ tagged (yes/no)
|
|
48
48
|
form (AcroForm / XFA / none)
|
49
49
|
.RE
|
50
50
|
.RS
|
51
|
+
javascript (yes/no)
|
52
|
+
.RE
|
53
|
+
.RS
|
51
54
|
page count
|
52
55
|
.RE
|
53
56
|
.RS
|
@@ -90,6 +93,9 @@ TrimBox, and ArtBox.
|
|
90
93
|
Prints document-level metadata. (This is the "Metadata" stream from
|
91
94
|
the PDF file's Catalog object.)
|
92
95
|
.TP
|
96
|
+
+.B \-js
|
97
|
+
+Prints all JavaScript in the PDF.
|
98
|
+
+.TP
|
93
99
|
.B \-rawdates
|
94
100
|
Prints the raw (undecoded) date strings, directly from the PDF file.
|
95
101
|
.TP
|
@@ -147,7 +147,7 @@ Specifies the height of crop area in pixels (image output) or points (vector out
|
|
147
147
|
Specifies the size of crop square in pixels (image output) or points (vector output) (sets \-W and \-H)
|
148
148
|
.TP
|
149
149
|
.B \-cropbox
|
150
|
-
Uses the crop box rather than media box when generating the files
|
150
|
+
Uses the crop box rather than media box when generating the files (PNG/JPEG/TIFF only)
|
151
151
|
.TP
|
152
152
|
.B \-mono
|
153
153
|
Generate a monochrome file (PNG and TIFF only).
|
@@ -169,32 +169,24 @@ Generate Level 3 PostScript (PS only). This enables all Level 2 features plus
|
|
169
169
|
shading patterns and masked images. This is the default setting.
|
170
170
|
.TP
|
171
171
|
.B \-origpagesizes
|
172
|
-
|
173
|
-
only). The size of each page will be the original page in the PDF
|
174
|
-
file. If the output is PS the file will contain %%DocumentMedia and
|
175
|
-
%%PageMedia DSC comments specifying the size of each page. Any
|
176
|
-
specification of the page size via \-paper, \-paperw, or \-paperh will
|
177
|
-
get overridden as long as each page of the PDF file has a defined
|
178
|
-
paper size.
|
172
|
+
This option is the same as "\-paper match".
|
179
173
|
.TP
|
180
174
|
.BI \-paper " size"
|
181
175
|
Set the paper size to one of "letter", "legal", "A4", or "A3"
|
182
176
|
(PS,PDF,SVG only). This can also be set to "match", which will set
|
183
|
-
the paper size to match the size specified in the PDF
|
184
|
-
file.
|
185
|
-
|
177
|
+
the paper size of each page to match the size specified in the PDF
|
178
|
+
file. If none the \-paper, \-paperw, or \-paperh options are
|
179
|
+
specified the default is to match the paper size.
|
186
180
|
.TP
|
187
181
|
.BI \-paperw " size"
|
188
|
-
Set the paper width, in points (PS,PDF,SVG only).
|
189
|
-
if the PDF file has defined page sizes.
|
182
|
+
Set the paper width, in points (PS,PDF,SVG only).
|
190
183
|
.TP
|
191
184
|
.BI \-paperh " size"
|
192
|
-
Set the paper height, in points (PS,PDF,SVG only).
|
193
|
-
if the PDF file has defined page sizes.
|
185
|
+
Set the paper height, in points (PS,PDF,SVG only).
|
194
186
|
.TP
|
195
187
|
.B \-nocrop
|
196
|
-
By default, output is cropped to the CropBox specified in the PDF
|
197
|
-
file. This option disables cropping.
|
188
|
+
By default, printing output is cropped to the CropBox specified in the PDF
|
189
|
+
file. This option disables cropping (PS,PDF,SVG only).
|
198
190
|
.TP
|
199
191
|
.B \-expand
|
200
192
|
Expand PDF pages smaller than the paper to fill the paper (PS,PDF,SVG only). By
|
@@ -102,6 +102,18 @@ Specifies the TIFF compression type. This defaults to "none".
|
|
102
102
|
Enable or disable FreeType (a TrueType / Type 1 font rasterizer).
|
103
103
|
This defaults to "yes".
|
104
104
|
.TP
|
105
|
+
.BI \-thinlinemode " none | solid | shape"
|
106
|
+
Specifies the thin line mode. This defaults to "none".
|
107
|
+
.TP
|
108
|
+
"solid":
|
109
|
+
adjust lines with a width less than one pixel to pixel boundary
|
110
|
+
and paint it with a width of one pixel.
|
111
|
+
.TP
|
112
|
+
"shape":
|
113
|
+
adjust lines with a width less than one pixel to pixel boundary
|
114
|
+
and paint it with a width of one pixel but with a shape in proportion
|
115
|
+
to its width.
|
116
|
+
.TP
|
105
117
|
.BI \-aa " yes | no"
|
106
118
|
Enable or disable font anti-aliasing. This defaults to "yes".
|
107
119
|
.TP
|
@@ -65,29 +65,18 @@ CID font embedding.
|
|
65
65
|
Generate Level 3 separable PostScript. The separation handling is the
|
66
66
|
same as for \-level2sep.
|
67
67
|
.TP
|
68
|
-
.B \-origpagesizes
|
69
|
-
Generate a PostScript file with variable page sizes and orientations,
|
70
|
-
taking for each page the size of the original page in the PDF file.
|
71
|
-
The PostScript file contains "<</PageSize [WIDTH HEIGHT]>> setpagedevice"
|
72
|
-
lines in each page header, so that the paper input tray gets correctly
|
73
|
-
changed on the printer. This option should be used when pdftops is used
|
74
|
-
as a print filter. Any specification of the page size via \-paper,
|
75
|
-
\-paperw, or \-paperh will get overridden as long as each page of the
|
76
|
-
PDF file has a defined paper size. No more than one of the mode options
|
77
|
-
(\-origpagesizes, \-eps, \-form) may be given.
|
78
|
-
.TP
|
79
68
|
.B \-eps
|
80
69
|
Generate an Encapsulated PostScript (EPS) file. An EPS file contains
|
81
70
|
a single image, so if you use this option with a multi-page PDF file,
|
82
71
|
you must use \-f and \-l to specify a single page. No more than one of
|
83
|
-
the mode options (\-
|
72
|
+
the mode options (\-eps, \-form) may be given.
|
84
73
|
.TP
|
85
74
|
.B \-form
|
86
75
|
Generate a PostScript form which can be imported by software that
|
87
76
|
understands forms. A form contains a single page, so if you use this
|
88
77
|
option with a multi-page PDF file, you must use \-f and \-l to specify a
|
89
78
|
single page. The \-level1 option cannot be used with \-form. No more
|
90
|
-
than one of the mode options (\-
|
79
|
+
than one of the mode options (\-eps, \-form) may be
|
91
80
|
given.
|
92
81
|
.TP
|
93
82
|
.B \-opi
|
@@ -144,17 +133,18 @@ preload images and forms
|
|
144
133
|
.TP
|
145
134
|
.BI \-paper " size"
|
146
135
|
Set the paper size to one of "letter", "legal", "A4", or "A3". This
|
147
|
-
can also be set to "match", which will set the paper size to match the
|
148
|
-
size specified in the PDF file. \-
|
149
|
-
|
136
|
+
can also be set to "match", which will set the paper size of each page to match the
|
137
|
+
size specified in the PDF file. If none the \-paper, \-paperw, or \-paperh
|
138
|
+
options are spoecified the default is to match the paper size.
|
150
139
|
.TP
|
151
140
|
.BI \-paperw " size"
|
152
|
-
Set the paper width, in points.
|
153
|
-
if the PDF file has defined page sizes.
|
141
|
+
Set the paper width, in points.
|
154
142
|
.TP
|
155
143
|
.BI \-paperh " size"
|
156
|
-
Set the paper height, in points.
|
157
|
-
|
144
|
+
Set the paper height, in points.
|
145
|
+
.TP
|
146
|
+
.B \-origpagesizes
|
147
|
+
This option is the same as "\-paper match".
|
158
148
|
.TP
|
159
149
|
.B \-nocrop
|
160
150
|
By default, output is cropped to the CropBox specified in the PDF
|
@@ -2,7 +2,7 @@
|
|
2
2
|
.\" First parameter, NAME, should be all caps
|
3
3
|
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
4
4
|
.\" other parameters are allowed: see man(7), man(1)
|
5
|
-
.TH SQLITE3 1 "Mon
|
5
|
+
.TH SQLITE3 1 "Mon Jan 31 11:14:00 2014"
|
6
6
|
.\" Please adjust this date whenever revising the manpage.
|
7
7
|
.\"
|
8
8
|
.\" Some roff macros, for reference:
|
@@ -49,7 +49,7 @@ a table named "memos" and insert a couple of records into that table:
|
|
49
49
|
$
|
50
50
|
.B sqlite3 mydata.db
|
51
51
|
.br
|
52
|
-
SQLite version 3.
|
52
|
+
SQLite version 3.8.3
|
53
53
|
.br
|
54
54
|
Enter ".help" for instructions
|
55
55
|
.br
|
@@ -108,15 +108,24 @@ sqlite>
|
|
108
108
|
.B .help
|
109
109
|
.nf
|
110
110
|
.cc |
|
111
|
+
.backup ?DB? FILE Backup DB (default "main") to FILE
|
112
|
+
.bail ON|OFF Stop after hitting an error. Default OFF
|
111
113
|
.databases List names and files of attached databases
|
112
114
|
.dump ?TABLE? ... Dump the database in an SQL text format
|
115
|
+
If TABLE specified, only dump tables matching
|
116
|
+
LIKE pattern TABLE.
|
113
117
|
.echo ON|OFF Turn command echo on or off
|
114
118
|
.exit Exit this program
|
115
|
-
.explain ON|OFF
|
119
|
+
.explain ?ON|OFF? Turn output mode suitable for EXPLAIN on or off.
|
120
|
+
With no args, it turns EXPLAIN on.
|
116
121
|
.header(s) ON|OFF Turn display of headers on or off
|
117
122
|
.help Show this message
|
118
123
|
.import FILE TABLE Import data from FILE into TABLE
|
119
|
-
.indices TABLE
|
124
|
+
.indices ?TABLE? Show names of all indices
|
125
|
+
If TABLE specified, only show indices for tables
|
126
|
+
matching LIKE pattern TABLE.
|
127
|
+
.load FILE ?ENTRY? Load an extension library
|
128
|
+
.log FILE|off Turn logging on or off. FILE can be stderr/stdout
|
120
129
|
.mode MODE ?TABLE? Set output mode where MODE is one of:
|
121
130
|
csv Comma-separated values
|
122
131
|
column Left-aligned columns. (See .width)
|
@@ -126,46 +135,76 @@ sqlite>
|
|
126
135
|
list Values delimited by .separator string
|
127
136
|
tabs Tab-separated values
|
128
137
|
tcl TCL list elements
|
129
|
-
.nullvalue STRING
|
138
|
+
.nullvalue STRING Use STRING in place of NULL values
|
139
|
+
.open ?FILENAME? Close existing database and reopen FILENAME
|
130
140
|
.output FILENAME Send output to FILENAME
|
131
141
|
.output stdout Send output to the screen
|
142
|
+
.print STRING... Print literal STRING
|
132
143
|
.prompt MAIN CONTINUE Replace the standard prompts
|
133
144
|
.quit Exit this program
|
134
145
|
.read FILENAME Execute SQL in FILENAME
|
146
|
+
.restore ?DB? FILE Restore content of DB (default "main") from FILE
|
135
147
|
.schema ?TABLE? Show the CREATE statements
|
148
|
+
If TABLE specified, only show tables matching
|
149
|
+
LIKE pattern TABLE.
|
136
150
|
.separator STRING Change separator used by output mode and .import
|
137
151
|
.show Show the current values for various settings
|
138
|
-
.
|
152
|
+
.stats ON|OFF Turn stats on or off
|
153
|
+
.tables ?TABLE? List names of tables
|
154
|
+
If TABLE specified, only list tables matching
|
155
|
+
LIKE pattern TABLE.
|
139
156
|
.timeout MS Try opening locked tables for MS milliseconds
|
140
|
-
.
|
157
|
+
.trace FILE|off Output each SQL statement as it is run
|
158
|
+
.vfsname ?AUX? Print the name of the VFS stack
|
159
|
+
.width NUM1 NUM2 ... Set column widths for "column" mode
|
160
|
+
.timer ON|OFF Turn the CPU timer measurement on or off
|
141
161
|
sqlite>
|
142
162
|
|cc .
|
143
163
|
.sp
|
144
164
|
.fi
|
145
|
-
|
146
165
|
.SH OPTIONS
|
147
166
|
.B sqlite3
|
148
167
|
has the following options:
|
149
168
|
.TP
|
150
|
-
.
|
151
|
-
|
152
|
-
.
|
153
|
-
|
169
|
+
.B \-bail
|
170
|
+
Stop after hitting an error.
|
171
|
+
.TP
|
172
|
+
.B \-batch
|
173
|
+
Force batch I/O.
|
174
|
+
.TP
|
175
|
+
.B \-column
|
176
|
+
Query results will be displayed in a table like form, using
|
177
|
+
whitespace characters to separate the columns and align the
|
178
|
+
output.
|
179
|
+
.TP
|
180
|
+
.BI \-cmd\ command
|
181
|
+
run
|
182
|
+
.I command
|
183
|
+
before reading stdin
|
184
|
+
.TP
|
185
|
+
.B \-csv
|
186
|
+
Set output mode to CSV (comma separated values).
|
154
187
|
.TP
|
155
188
|
.B \-echo
|
156
189
|
Print commands before execution.
|
157
190
|
.TP
|
191
|
+
.BI \-init\ file
|
192
|
+
Read and execute commands from
|
193
|
+
.I file
|
194
|
+
, which can contain a mix of SQL statements and meta-commands.
|
195
|
+
.TP
|
158
196
|
.B \-[no]header
|
159
197
|
Turn headers on or off.
|
160
198
|
.TP
|
161
|
-
.B \-
|
162
|
-
|
163
|
-
whitespace characters to separate the columns and align the
|
164
|
-
output.
|
199
|
+
.B \-help
|
200
|
+
Show help on options and exit.
|
165
201
|
.TP
|
166
202
|
.B \-html
|
167
203
|
Query results will be output as simple HTML tables.
|
168
204
|
.TP
|
205
|
+
.B \-interactive
|
206
|
+
Force interactive I/O.
|
207
|
+
.TP
|
169
208
|
.B \-line
|
170
209
|
Query results will be displayed with one value per line, rows
|
171
210
|
separated by a blank line. Designed to be easily parsed by
|
@@ -175,18 +214,28 @@ scripts or other programs
|
|
175
214
|
Query results will be displayed with the separator (|, by default)
|
176
215
|
character between each field value. The default.
|
177
216
|
.TP
|
178
|
-
.BI \-
|
179
|
-
Set
|
217
|
+
.BI \-mmap\ N
|
218
|
+
Set default mmap size to
|
219
|
+
.I N
|
220
|
+
\.
|
180
221
|
.TP
|
181
222
|
.BI \-nullvalue\ string
|
182
223
|
Set string used to represent NULL values. Default is ''
|
183
224
|
(empty string).
|
184
225
|
.TP
|
226
|
+
.BI \-separator\ separator
|
227
|
+
Set output field separator. Default is '|'.
|
228
|
+
.TP
|
229
|
+
.B \-stats
|
230
|
+
Print memory stats before each finalize.
|
231
|
+
.TP
|
185
232
|
.B \-version
|
186
233
|
Show SQLite version.
|
187
234
|
.TP
|
188
|
-
.
|
189
|
-
|
235
|
+
.BI \-vfs\ name
|
236
|
+
Use
|
237
|
+
.I name
|
238
|
+
as the default VFS.
|
190
239
|
|
191
240
|
|
192
241
|
.SH INIT FILE
|
@@ -222,8 +271,9 @@ o All other command line options are processed.
|
|
222
271
|
.SH SEE ALSO
|
223
272
|
http://www.sqlite.org/
|
224
273
|
.br
|
225
|
-
The
|
274
|
+
The sqlite3-doc package.
|
226
275
|
.SH AUTHOR
|
227
276
|
This manual page was originally written by Andreas Rottmann
|
228
277
|
<rotty@debian.org>, for the Debian GNU/Linux system (but may be used
|
229
|
-
by others).
|
278
|
+
by others). It was subsequently revised by Bill Bumgarner <bbum@mac.com> and
|
279
|
+
further updated by Laszlo Boszormenyi <gcs@debian.hu> .
|