node-poppler 5.1.4 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/package.json +13 -13
- package/src/index.js +20 -8
- package/API.md +0 -465
- package/CHANGELOG.md +0 -976
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Annot.h +0 -1783
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/AnnotStampImageHelper.h +0 -68
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Array.h +0 -92
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/BBoxOutputDev.h +0 -54
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CMap.h +0 -128
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CachedFile.h +0 -149
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CairoFontEngine.h +0 -122
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CairoOutputDev.h +0 -468
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CairoRescaleBox.h +0 -60
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Catalog.h +0 -318
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CertificateInfo.h +0 -129
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CharCodeToUnicode.h +0 -143
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CharTypes.h +0 -24
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CurlCachedFile.h +0 -37
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/CurlPDFDocBuilder.h +0 -32
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/DateInfo.h +0 -44
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Decrypt.h +0 -147
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Dict.h +0 -126
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Error.h +0 -59
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/ErrorCodes.h +0 -54
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/FDPDFDocBuilder.h +0 -36
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/FILECacheLoader.h +0 -34
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/FileSpec.h +0 -85
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/FontEncodingTables.h +0 -20
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/FontInfo.h +0 -109
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Form.h +0 -734
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Function.h +0 -251
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Gfx.h +0 -373
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/GfxFont.h +0 -466
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/GfxState.h +0 -1759
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/GfxState_helpers.h +0 -90
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/GlobalParams.h +0 -221
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Hints.h +0 -91
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/JArithmeticDecoder.h +0 -131
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/JBIG2Stream.h +0 -130
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/JPEG2000Stream.h +0 -54
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/JSInfo.h +0 -65
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Lexer.h +0 -113
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Linearization.h +0 -43
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Link.h +0 -566
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/LocalPDFDocBuilder.h +0 -32
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/MarkedContentOutputDev.h +0 -132
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Movie.h +0 -123
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/NameToCharCode.h +0 -52
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/NameToUnicodeTable.h +0 -4300
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Object.h +0 -678
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/OptionalContent.h +0 -117
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Outline.h +0 -122
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/OutputDev.h +0 -379
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/PDFDoc.h +0 -419
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/PDFDocBuilder.h +0 -47
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/PDFDocEncoding.h +0 -43
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/PDFDocFactory.h +0 -58
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/PSOutputDev.h +0 -549
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/PSTokenizer.h +0 -47
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Page.h +0 -273
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/PageTransition.h +0 -105
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Parser.h +0 -76
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/PopplerCache.h +0 -65
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/PreScanOutputDev.h +0 -148
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/ProfileData.h +0 -35
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Rendition.h +0 -164
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/SecurityHandler.h +0 -131
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Sound.h +0 -82
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/SplashOutputDev.h +0 -413
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Stream-CCITT.h +0 -334
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/Stream.h +0 -1504
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/StructElement.h +0 -406
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/StructTreeRoot.h +0 -89
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/TextOutputDev.h +0 -918
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/UTF.h +0 -112
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/UnicodeCClassTables.h +0 -983
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/UnicodeCompTables.h +0 -328
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/UnicodeDecompTables.h +0 -7181
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/UnicodeMap.h +0 -128
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/UnicodeMapFuncs.h +0 -35
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/UnicodeMapTables.h +0 -84
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/UnicodeTypeTable.h +0 -49
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/ViewerPreferences.h +0 -87
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/XRef.h +0 -325
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-destination.h +0 -69
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-document.h +0 -135
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-embedded-file.h +0 -55
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-font-private.h +0 -68
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-font.h +0 -95
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-global.h +0 -132
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-image.h +0 -74
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-page-renderer.h +0 -77
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-page-transition.h +0 -85
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-page.h +0 -225
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-rectangle.h +0 -66
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-toc.h +0 -72
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler-version.h +0 -39
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/cpp/poppler_cpp_export.h +0 -42
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/fofi/FoFiBase.h +0 -66
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/fofi/FoFiEncodings.h +0 -43
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/fofi/FoFiIdentifier.h +0 -52
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/fofi/FoFiTrueType.h +0 -190
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/fofi/FoFiType1.h +0 -70
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/fofi/FoFiType1C.h +0 -263
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-action.h +0 -454
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-annot.h +0 -333
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-attachment.h +0 -123
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-date.h +0 -32
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-document.h +0 -541
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-enums.h +0 -191
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-features.h +0 -88
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-form-field.h +0 -254
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-layer.h +0 -50
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-macros.h +0 -42
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-media.h +0 -80
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-movie.h +0 -81
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-page.h +0 -424
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler-structure-element.h +0 -425
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/glib/poppler.h +0 -259
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/GooCheckedOps.h +0 -116
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/GooLikely.h +0 -22
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/GooString.h +0 -262
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/GooTimer.h +0 -59
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/ImgWriter.h +0 -39
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/JpegWriter.h +0 -69
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/PNGWriter.h +0 -68
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/TiffWriter.h +0 -70
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/gdir.h +0 -96
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/gfile.h +0 -156
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/gmem.h +0 -201
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/grandom.h +0 -21
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/goo/gstrtod.h +0 -45
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/poppler-config.h +0 -155
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/poppler_private_export.h +0 -42
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/Splash.h +0 -336
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashBitmap.h +0 -127
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashClip.h +0 -131
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashErrorCodes.h +0 -50
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashFTFont.h +0 -71
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashFTFontEngine.h +0 -72
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashFTFontFile.h +0 -64
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashFont.h +0 -116
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashFontEngine.h +0 -89
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashFontFile.h +0 -98
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashFontFileID.h +0 -40
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashGlyphBitmap.h +0 -23
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashMath.h +0 -215
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashPath.h +0 -138
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashPattern.h +0 -107
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashScreen.h +0 -87
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashState.h +0 -132
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashTypes.h +0 -248
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashXPath.h +0 -95
- package/src/lib/win32/poppler-22.04.0/Library/include/poppler/splash/SplashXPathScanner.h +0 -136
- package/src/lib/win32/poppler-22.04.0/Library/lib/pkgconfig/poppler-cpp.pc +0 -12
- package/src/lib/win32/poppler-22.04.0/Library/lib/pkgconfig/poppler-glib.pc +0 -12
- package/src/lib/win32/poppler-22.04.0/Library/lib/pkgconfig/poppler.pc +0 -10
- package/src/lib/win32/poppler-22.04.0/Library/lib/poppler-cpp.lib +0 -0
- package/src/lib/win32/poppler-22.04.0/Library/lib/poppler-glib.lib +0 -0
- package/src/lib/win32/poppler-22.04.0/Library/lib/poppler.lib +0 -0
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdfattach.1 +0 -60
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdfdetach.1 +0 -94
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdffonts.1 +0 -128
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdfimages.1 +0 -265
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdfinfo.1 +0 -198
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdfseparate.1 +0 -60
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdftocairo.1 +0 -346
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdftohtml.1 +0 -118
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdftoppm.1 +0 -230
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdftops.1 +0 -267
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdftotext.1 +0 -157
- package/src/lib/win32/poppler-22.04.0/Library/share/man/man1/pdfunite.1 +0 -43
- package/src/lib/win32/poppler-22.04.0/share/poppler/CMakeLists.txt +0 -309
- package/src/lib/win32/poppler-22.04.0/share/poppler/Makefile +0 -333
- package/tsconfig.json +0 -9
|
@@ -1,230 +0,0 @@
|
|
|
1
|
-
.\" Copyright 2005-2011 Glyph & Cog, LLC
|
|
2
|
-
.TH pdftoppm 1 "15 August 2011"
|
|
3
|
-
.SH NAME
|
|
4
|
-
pdftoppm \- Portable Document Format (PDF) to Portable Pixmap (PPM)
|
|
5
|
-
converter (version 3.03)
|
|
6
|
-
.SH SYNOPSIS
|
|
7
|
-
.B pdftoppm
|
|
8
|
-
[options]
|
|
9
|
-
.I PDF-file PPM-root
|
|
10
|
-
.SH DESCRIPTION
|
|
11
|
-
.B Pdftoppm
|
|
12
|
-
converts Portable Document Format (PDF) files to color image files in
|
|
13
|
-
Portable Pixmap (PPM) format, grayscale image files in Portable
|
|
14
|
-
Graymap (PGM) format, or monochrome image files in Portable Bitmap
|
|
15
|
-
(PBM) format.
|
|
16
|
-
.PP
|
|
17
|
-
Pdftoppm reads the PDF file,
|
|
18
|
-
.IR PDF-file ,
|
|
19
|
-
and writes one PPM file for each page,
|
|
20
|
-
.IR PPM-root - number .ppm,
|
|
21
|
-
where
|
|
22
|
-
.I number
|
|
23
|
-
is the page number. If
|
|
24
|
-
.I PDF-file
|
|
25
|
-
is \'-', it reads the PDF file from stdin.
|
|
26
|
-
.SH OPTIONS
|
|
27
|
-
.TP
|
|
28
|
-
.BI \-f " number"
|
|
29
|
-
Specifies the first page to convert.
|
|
30
|
-
.TP
|
|
31
|
-
.BI \-l " number"
|
|
32
|
-
Specifies the last page to convert.
|
|
33
|
-
.TP
|
|
34
|
-
.B \-o
|
|
35
|
-
Generates only the odd numbered pages.
|
|
36
|
-
.TP
|
|
37
|
-
.B \-e
|
|
38
|
-
Generates only the even numbered pages.
|
|
39
|
-
.TP
|
|
40
|
-
.BI \-singlefile
|
|
41
|
-
Writes only the first page and does not add digits.
|
|
42
|
-
.TP
|
|
43
|
-
.BI \-r " number"
|
|
44
|
-
Specifies the X and Y resolution, in DPI. The default is 150 DPI.
|
|
45
|
-
.TP
|
|
46
|
-
.BI \-rx " number"
|
|
47
|
-
Specifies the X resolution, in DPI. The default is 150 DPI.
|
|
48
|
-
.TP
|
|
49
|
-
.BI \-ry " number"
|
|
50
|
-
Specifies the Y resolution, in DPI. The default is 150 DPI.
|
|
51
|
-
.TP
|
|
52
|
-
.BI \-scale-to " number"
|
|
53
|
-
Scales the long side of each page (width for landscape pages, height
|
|
54
|
-
for portrait pages) to fit in scale-to pixels. The size of the short
|
|
55
|
-
side will be determined by the aspect ratio of the page.
|
|
56
|
-
.TP
|
|
57
|
-
.BI \-scale-to-x " number"
|
|
58
|
-
Scales each page horizontally to fit in scale-to-x pixels. If
|
|
59
|
-
scale-to-y is set to -1, the vertical size will determined by the
|
|
60
|
-
aspect ratio of the page.
|
|
61
|
-
.TP
|
|
62
|
-
.BI \-scale-to-y " number"
|
|
63
|
-
Scales each page vertically to fit in scale-to-y pixels. If scale-to-x
|
|
64
|
-
is set to -1, the horizontal size will determined by the aspect ratio
|
|
65
|
-
of the page.
|
|
66
|
-
.TP
|
|
67
|
-
.B \-scale-dimension-before-rotation
|
|
68
|
-
Swaps horizontal and vertical size for a rotated (landscape) pdf before scaling instead of after.
|
|
69
|
-
.TP
|
|
70
|
-
.BI \-x " number"
|
|
71
|
-
Specifies the x-coordinate of the crop area top left corner
|
|
72
|
-
.TP
|
|
73
|
-
.BI \-y " number"
|
|
74
|
-
Specifies the y-coordinate of the crop area top left corner
|
|
75
|
-
.TP
|
|
76
|
-
.BI \-W " number"
|
|
77
|
-
Specifies the width of crop area in pixels (default is 0)
|
|
78
|
-
.TP
|
|
79
|
-
.BI \-H " number"
|
|
80
|
-
Specifies the height of crop area in pixels (default is 0)
|
|
81
|
-
.TP
|
|
82
|
-
.BI \-sz " number"
|
|
83
|
-
Specifies the size of crop square in pixels (sets W and H)
|
|
84
|
-
.TP
|
|
85
|
-
.B \-cropbox
|
|
86
|
-
Uses the crop box rather than media box when generating the files
|
|
87
|
-
.TP
|
|
88
|
-
.B \-hide-annotations
|
|
89
|
-
Do not show annotations
|
|
90
|
-
.TP
|
|
91
|
-
.B \-mono
|
|
92
|
-
Generate a monochrome PBM file (instead of a color PPM file).
|
|
93
|
-
.TP
|
|
94
|
-
.B \-gray
|
|
95
|
-
Generate a grayscale PGM file (instead of a color PPM file).
|
|
96
|
-
.TP
|
|
97
|
-
.BI \-displayprofile " displayprofilefile"
|
|
98
|
-
If poppler is compiled with colour management support, this option sets the display profile
|
|
99
|
-
to the ICC profile stored in displayprofilefile.
|
|
100
|
-
.TP
|
|
101
|
-
.BI \-defaultgrayprofile " defaultgrayprofilefile"
|
|
102
|
-
If poppler is compiled with colour management support, this option sets the DefaultGray color space
|
|
103
|
-
to the ICC profile stored in defaultgrayprofilefile.
|
|
104
|
-
.TP
|
|
105
|
-
.BI \-defaultrgbprofile " defaultrgbprofilefile"
|
|
106
|
-
If poppler is compiled with colour management support, this option sets the DefaultRGB color space
|
|
107
|
-
to the ICC profile stored in defaultrgbprofilefile.
|
|
108
|
-
.TP
|
|
109
|
-
.BI \-defaultcmykprofile " defaultcmykprofilefile"
|
|
110
|
-
If poppler is compiled with colour management support, this option sets the DefaultCMYK color space
|
|
111
|
-
to the ICC profile stored in defaultcmykprofilefile.
|
|
112
|
-
.TP
|
|
113
|
-
.B \-png
|
|
114
|
-
Generates a PNG file instead a PPM file.
|
|
115
|
-
.TP
|
|
116
|
-
.B \-jpeg
|
|
117
|
-
Generates a JPEG file instead a PPM file.
|
|
118
|
-
.TP
|
|
119
|
-
.BI \-jpegopt " jpeg-options"
|
|
120
|
-
When used with \-jpeg, takes a list of options to control the jpeg compression. See
|
|
121
|
-
.B JPEG OPTIONS
|
|
122
|
-
for the available options.
|
|
123
|
-
.TP
|
|
124
|
-
.B \-tiff
|
|
125
|
-
Generates a TIFF file instead a PPM file.
|
|
126
|
-
.TP
|
|
127
|
-
.BI \-tiffcompression " none | packbits | jpeg | lzw | deflate"
|
|
128
|
-
Specifies the TIFF compression type. This defaults to "none".
|
|
129
|
-
.TP
|
|
130
|
-
.BI \-freetype " yes | no"
|
|
131
|
-
Enable or disable FreeType (a TrueType / Type 1 font rasterizer).
|
|
132
|
-
This defaults to "yes".
|
|
133
|
-
.TP
|
|
134
|
-
.BI \-thinlinemode " none | solid | shape"
|
|
135
|
-
Specifies the thin line mode. This defaults to "none".
|
|
136
|
-
.TP
|
|
137
|
-
"solid":
|
|
138
|
-
adjust lines with a width less than one pixel to pixel boundary
|
|
139
|
-
and paint it with a width of one pixel.
|
|
140
|
-
.TP
|
|
141
|
-
"shape":
|
|
142
|
-
adjust lines with a width less than one pixel to pixel boundary
|
|
143
|
-
and paint it with a width of one pixel but with a shape in proportion
|
|
144
|
-
to its width.
|
|
145
|
-
.TP
|
|
146
|
-
.BI \-aa " yes | no"
|
|
147
|
-
Enable or disable font anti-aliasing. This defaults to "yes".
|
|
148
|
-
.TP
|
|
149
|
-
.BI \-aaVector " yes | no"
|
|
150
|
-
Enable or disable vector anti-aliasing. This defaults to "yes".
|
|
151
|
-
.TP
|
|
152
|
-
.BI \-opw " password"
|
|
153
|
-
Specify the owner password for the PDF file. Providing this will
|
|
154
|
-
bypass all security restrictions.
|
|
155
|
-
.TP
|
|
156
|
-
.BI \-upw " password"
|
|
157
|
-
Specify the user password for the PDF file.
|
|
158
|
-
.TP
|
|
159
|
-
.B \-q
|
|
160
|
-
Don't print any messages or errors.
|
|
161
|
-
.TP
|
|
162
|
-
.B \-progress
|
|
163
|
-
Print progress info as each page is generated. Three space-separated
|
|
164
|
-
fields are printed to STDERR: the number of the current page, the number
|
|
165
|
-
of the last page that will be generated, and the path to the file
|
|
166
|
-
written to.
|
|
167
|
-
.TP
|
|
168
|
-
.BI \-sep " char"
|
|
169
|
-
Specify single character separator between name and page number, default - .
|
|
170
|
-
.TP
|
|
171
|
-
.B \-forcenum
|
|
172
|
-
Force page number even if there is only one page.
|
|
173
|
-
.TP
|
|
174
|
-
.B \-v
|
|
175
|
-
Print copyright and version information.
|
|
176
|
-
.TP
|
|
177
|
-
.B \-h
|
|
178
|
-
Print usage information.
|
|
179
|
-
.RB ( \-help
|
|
180
|
-
and
|
|
181
|
-
.B \-\-help
|
|
182
|
-
are equivalent.)
|
|
183
|
-
.SH EXIT CODES
|
|
184
|
-
The Xpdf tools use the following exit codes:
|
|
185
|
-
.TP
|
|
186
|
-
0
|
|
187
|
-
No error.
|
|
188
|
-
.TP
|
|
189
|
-
1
|
|
190
|
-
Error opening a PDF file.
|
|
191
|
-
.TP
|
|
192
|
-
2
|
|
193
|
-
Error opening an output file.
|
|
194
|
-
.TP
|
|
195
|
-
3
|
|
196
|
-
Error related to PDF permissions.
|
|
197
|
-
.TP
|
|
198
|
-
99
|
|
199
|
-
Other error.
|
|
200
|
-
.SH JPEG OPTIONS
|
|
201
|
-
When JPEG output is specified, the \-jpegopt option can be used to control the JPEG compression parameters.
|
|
202
|
-
It takes a string of the form "<opt>=<val>[,<opt>=<val>]". Currently the available options are:
|
|
203
|
-
.TP
|
|
204
|
-
.BI quality
|
|
205
|
-
Selects the JPEG quality value. The value must be an integer between 0 and 100.
|
|
206
|
-
.TP
|
|
207
|
-
.BI progressive
|
|
208
|
-
Select progressive JPEG output. The possible values are "y", "n",
|
|
209
|
-
indicating progressive (yes) or non-progressive (no), respectively.
|
|
210
|
-
.TP
|
|
211
|
-
.BI optimize
|
|
212
|
-
Sets whether to compute optimal Huffman coding tables for the JPEG output, which
|
|
213
|
-
will create smaller files but make an extra pass over the data. The value must
|
|
214
|
-
be "y" or "n", with "y" performing optimization, otherwise the default Huffman
|
|
215
|
-
tables are used.
|
|
216
|
-
.SH AUTHOR
|
|
217
|
-
The pdftoppm software and documentation are copyright 1996-2011 Glyph
|
|
218
|
-
& Cog, LLC.
|
|
219
|
-
.SH "SEE ALSO"
|
|
220
|
-
.BR pdfdetach (1),
|
|
221
|
-
.BR pdffonts (1),
|
|
222
|
-
.BR pdfimages (1),
|
|
223
|
-
.BR pdfinfo (1),
|
|
224
|
-
.BR pdftocairo (1),
|
|
225
|
-
.BR pdftohtml (1),
|
|
226
|
-
.BR pdftops (1),
|
|
227
|
-
.BR pdftotext (1)
|
|
228
|
-
.BR pdfseparate (1),
|
|
229
|
-
.BR pdfsig (1),
|
|
230
|
-
.BR pdfunite (1)
|
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
.\" Copyright 1996-2011 Glyph & Cog, LLC
|
|
2
|
-
.TH pdftops 1 "15 August 2011"
|
|
3
|
-
.SH NAME
|
|
4
|
-
pdftops \- Portable Document Format (PDF) to PostScript converter
|
|
5
|
-
(version 3.03)
|
|
6
|
-
.SH SYNOPSIS
|
|
7
|
-
.B pdftops
|
|
8
|
-
[options]
|
|
9
|
-
.RI <PDF-file>
|
|
10
|
-
.RI [<PS-file>]
|
|
11
|
-
.SH DESCRIPTION
|
|
12
|
-
.B Pdftops
|
|
13
|
-
converts Portable Document Format (PDF) files to PostScript so they
|
|
14
|
-
can be printed.
|
|
15
|
-
.PP
|
|
16
|
-
Pdftops reads the PDF file,
|
|
17
|
-
.IR PDF-file ,
|
|
18
|
-
and writes a PostScript file,
|
|
19
|
-
.IR PS-file .
|
|
20
|
-
If
|
|
21
|
-
.I PS-file
|
|
22
|
-
is not specified, pdftops converts
|
|
23
|
-
.I file.pdf
|
|
24
|
-
to
|
|
25
|
-
.I file.ps
|
|
26
|
-
(or
|
|
27
|
-
.I file.eps
|
|
28
|
-
with the \-eps option). If
|
|
29
|
-
.I PS-file
|
|
30
|
-
is \'-', the PostScript is sent to stdout. If
|
|
31
|
-
.I PDF-file
|
|
32
|
-
is \'-', Pdftops reads the PDF file from stdin.
|
|
33
|
-
.SH OPTIONS
|
|
34
|
-
.TP
|
|
35
|
-
.BI \-f " number"
|
|
36
|
-
Specifies the first page to print.
|
|
37
|
-
.TP
|
|
38
|
-
.BI \-l " number"
|
|
39
|
-
Specifies the last page to print.
|
|
40
|
-
.TP
|
|
41
|
-
.B \-level1
|
|
42
|
-
Generate Level 1 PostScript. The resulting PostScript files will be
|
|
43
|
-
significantly larger (if they contain images), but will print on Level
|
|
44
|
-
1 printers. This also converts all images to black and white. No
|
|
45
|
-
more than one of the PostScript level options (\-level1, \-level1sep,
|
|
46
|
-
\-level2, \-level2sep, \-level3, \-level3sep) may be given.
|
|
47
|
-
.TP
|
|
48
|
-
.B \-level1sep
|
|
49
|
-
Generate Level 1 separable PostScript. All colors are converted to
|
|
50
|
-
CMYK. Images are written with separate stream data for the four
|
|
51
|
-
components.
|
|
52
|
-
.TP
|
|
53
|
-
.B \-level2
|
|
54
|
-
Generate Level 2 PostScript. Level 2 supports color images and image
|
|
55
|
-
compression. This is the default setting.
|
|
56
|
-
.TP
|
|
57
|
-
.B \-level2sep
|
|
58
|
-
Generate Level 2 separable PostScript. All colors are converted to
|
|
59
|
-
CMYK. The PostScript separation convention operators are used to
|
|
60
|
-
handle custom (spot) colors.
|
|
61
|
-
.TP
|
|
62
|
-
.B \-level3
|
|
63
|
-
Generate Level 3 PostScript. This enables all Level 2 features plus
|
|
64
|
-
CID font embedding.
|
|
65
|
-
.TP
|
|
66
|
-
.B \-level3sep
|
|
67
|
-
Generate Level 3 separable PostScript. The separation handling is the
|
|
68
|
-
same as for \-level2sep.
|
|
69
|
-
.TP
|
|
70
|
-
.B \-eps
|
|
71
|
-
Generate an Encapsulated PostScript (EPS) file. An EPS file contains
|
|
72
|
-
a single image, so if you use this option with a multi-page PDF file,
|
|
73
|
-
you must use \-f and \-l to specify a single page. No more than one of
|
|
74
|
-
the mode options (\-eps, \-form) may be given.
|
|
75
|
-
.TP
|
|
76
|
-
.B \-form
|
|
77
|
-
Generate a PostScript form which can be imported by software that
|
|
78
|
-
understands forms. A form contains a single page, so if you use this
|
|
79
|
-
option with a multi-page PDF file, you must use \-f and \-l to specify a
|
|
80
|
-
single page. The \-level1 option cannot be used with \-form. No more
|
|
81
|
-
than one of the mode options (\-eps, \-form) may be
|
|
82
|
-
given.
|
|
83
|
-
.TP
|
|
84
|
-
.B \-opi
|
|
85
|
-
Generate OPI comments for all images and forms which have OPI
|
|
86
|
-
information. (This option is only available if pdftops was compiled
|
|
87
|
-
with OPI support.)
|
|
88
|
-
.TP
|
|
89
|
-
.B \-binary
|
|
90
|
-
Write binary data in Level 1 PostScript. By default, pdftops writes
|
|
91
|
-
hex-encoded data in Level 1 PostScript. Binary data is non-standard
|
|
92
|
-
in Level 1 PostScript but reduces the file size and can be useful
|
|
93
|
-
when Level 1 PostScript is required only for its restricted use
|
|
94
|
-
of PostScript operators.
|
|
95
|
-
.TP
|
|
96
|
-
.BI \-r " number"
|
|
97
|
-
Set the resolution in DPI when pdftops rasterizes images with
|
|
98
|
-
transparencies or, for Level 1 PostScript, when pdftops
|
|
99
|
-
rasterizes images with color masks.
|
|
100
|
-
By default, pdftops rasterizes images to 300 DPI.
|
|
101
|
-
.TP
|
|
102
|
-
.B \-noembt1
|
|
103
|
-
By default, any Type 1 fonts which are embedded in the PDF file are
|
|
104
|
-
copied into the PostScript file. This option causes pdftops to
|
|
105
|
-
substitute base fonts instead. Embedded fonts make PostScript files
|
|
106
|
-
larger, but may be necessary for readable output.
|
|
107
|
-
.TP
|
|
108
|
-
.B \-noembtt
|
|
109
|
-
By default, any TrueType fonts which are embedded in the PDF file are
|
|
110
|
-
copied into the PostScript file. This option causes pdftops to
|
|
111
|
-
substitute base fonts instead. Embedded fonts make PostScript files
|
|
112
|
-
larger, but may be necessary for readable output. Also, some
|
|
113
|
-
PostScript interpreters do not have TrueType rasterizers.
|
|
114
|
-
.TP
|
|
115
|
-
.B \-noembcidps
|
|
116
|
-
By default, any CID PostScript fonts which are embedded in the PDF
|
|
117
|
-
file are copied into the PostScript file. This option disables that
|
|
118
|
-
embedding. No attempt is made to substitute for non-embedded CID
|
|
119
|
-
PostScript fonts.
|
|
120
|
-
.TP
|
|
121
|
-
.B \-noembcidtt
|
|
122
|
-
By default, any CID TrueType fonts which are embedded in the PDF file
|
|
123
|
-
are copied into the PostScript file. This option disables that
|
|
124
|
-
embedding. No attempt is made to substitute for non-embedded CID
|
|
125
|
-
TrueType fonts.
|
|
126
|
-
.TP
|
|
127
|
-
.B \-passfonts
|
|
128
|
-
By default, references to non-embedded 8-bit fonts in the PDF file are
|
|
129
|
-
substituted with the closest "Helvetica", "Times-Roman", or "Courier" font.
|
|
130
|
-
This option passes references to non-embedded fonts
|
|
131
|
-
through to the PostScript file.
|
|
132
|
-
.TP
|
|
133
|
-
.BI \-aaRaster " yes | no"
|
|
134
|
-
Enable or disable raster anti-aliasing. This defaults to "no".
|
|
135
|
-
pdftops may need to rasterize transparencies and pattern image masks in the PDF.
|
|
136
|
-
If the PostScript will be printed, leave \-aaRaster disabled and set \-r to the resolution of the printer.
|
|
137
|
-
If the PostScript will be viewed, enabling \-aaRaster may make rasterized text easier to read.
|
|
138
|
-
.TP
|
|
139
|
-
.BI \-rasterize " always | never | whenneeded"
|
|
140
|
-
By default, pdftops rasterizes pages as needed, for example, if they contain transparencies.
|
|
141
|
-
To force rasterization, set \-rasterize to "always". Use this to eliminate fonts.
|
|
142
|
-
To prevent rasterization, set \-rasterize to "never". This may produce files that display incorrectly.
|
|
143
|
-
.TP
|
|
144
|
-
.BI \-processcolorformat " MONO8 | CMYK8 | RGB8"
|
|
145
|
-
Sets the process color format as it is used during rasterization and transparency reduction.
|
|
146
|
-
The default depends on the other settings: For \-level1 the default is MONO8, for \-level{1,2,3}sep
|
|
147
|
-
or \-overprint the default is CMYK8, and in all other cases RGB8 is the default. If \-processcolorprofile
|
|
148
|
-
is given then \-processcolorformat is inferred from the specified ICC profile.
|
|
149
|
-
.TP
|
|
150
|
-
.BI \-processcolorprofile " filename"
|
|
151
|
-
Sets the ICC profile that is assumed during rasterization and transparency reduction.
|
|
152
|
-
.TP
|
|
153
|
-
.BI \-defaultgrayprofile " defaultgrayprofilefile"
|
|
154
|
-
If poppler is compiled with colour management support, this option sets the DefaultGray color space
|
|
155
|
-
to the ICC profile stored in defaultgrayprofilefile.
|
|
156
|
-
.TP
|
|
157
|
-
.BI \-defaultrgbprofile " defaultrgbprofilefile"
|
|
158
|
-
If poppler is compiled with colour management support, this option sets the DefaultRGB color space
|
|
159
|
-
to the ICC profile stored in defaultrgbprofilefile.
|
|
160
|
-
.TP
|
|
161
|
-
.BI \-defaultcmykprofile " defaultcmykprofilefile"
|
|
162
|
-
If poppler is compiled with colour management support, this option sets the DefaultCMYK color space
|
|
163
|
-
to the ICC profile stored in defaultcmykprofilefile.
|
|
164
|
-
.TP
|
|
165
|
-
.B \-optimizecolorspace
|
|
166
|
-
By default, bitmap images in the PDF pass through to the output PostScript
|
|
167
|
-
in their original color space, which produces predictable results.
|
|
168
|
-
This option converts RGB and CMYK images into Gray images
|
|
169
|
-
if every pixel of the image has equal components.
|
|
170
|
-
This can fix problems when doing color separations of PDFs
|
|
171
|
-
that contain embedded black and white images encoded as RGB.
|
|
172
|
-
.TP
|
|
173
|
-
.B \-preload
|
|
174
|
-
preload images and forms
|
|
175
|
-
.TP
|
|
176
|
-
.BI \-paper " size"
|
|
177
|
-
Set the paper size to one of "letter", "legal", "A4", or "A3". This
|
|
178
|
-
can also be set to "match", which will set the paper size of each page to match the
|
|
179
|
-
size specified in the PDF file. If none the \-paper, \-paperw, or \-paperh
|
|
180
|
-
options are specified the default is to match the paper size.
|
|
181
|
-
.TP
|
|
182
|
-
.BI \-paperw " size"
|
|
183
|
-
Set the paper width, in points.
|
|
184
|
-
.TP
|
|
185
|
-
.BI \-paperh " size"
|
|
186
|
-
Set the paper height, in points.
|
|
187
|
-
.TP
|
|
188
|
-
.B \-origpagesizes
|
|
189
|
-
This option is the same as "\-paper match".
|
|
190
|
-
.TP
|
|
191
|
-
.B \-nocrop
|
|
192
|
-
By default, output is cropped to the CropBox specified in the PDF
|
|
193
|
-
file. This option disables cropping.
|
|
194
|
-
.TP
|
|
195
|
-
.B \-expand
|
|
196
|
-
Expand PDF pages smaller than the paper to fill the paper. By
|
|
197
|
-
default, these pages are not scaled.
|
|
198
|
-
.TP
|
|
199
|
-
.B \-noshrink
|
|
200
|
-
Don't scale PDF pages which are larger than the paper. By default,
|
|
201
|
-
pages larger than the paper are shrunk to fit.
|
|
202
|
-
.TP
|
|
203
|
-
.B \-nocenter
|
|
204
|
-
By default, PDF pages smaller than the paper (after any scaling) are
|
|
205
|
-
centered on the paper. This option causes them to be aligned to the
|
|
206
|
-
lower-left corner of the paper instead.
|
|
207
|
-
.TP
|
|
208
|
-
.B \-duplex
|
|
209
|
-
Set the Duplex pagedevice entry in the PostScript file. This tells
|
|
210
|
-
duplex-capable printers to enable duplexing.
|
|
211
|
-
.TP
|
|
212
|
-
.BI \-opw " password"
|
|
213
|
-
Specify the owner password for the PDF file. Providing this will
|
|
214
|
-
bypass all security restrictions.
|
|
215
|
-
.TP
|
|
216
|
-
.BI \-upw " password"
|
|
217
|
-
Specify the user password for the PDF file.
|
|
218
|
-
.TP
|
|
219
|
-
.B \-overprint
|
|
220
|
-
Enable overprint emulation during rasterization. For \-processcolorformat being CMYK8 and the language level
|
|
221
|
-
being higher than 2, this option is set to true by default. Note: This option requires \-processcolorformat to
|
|
222
|
-
be CMYK8.
|
|
223
|
-
.TP
|
|
224
|
-
.B \-q
|
|
225
|
-
Don't print any messages or errors.
|
|
226
|
-
.TP
|
|
227
|
-
.B \-v
|
|
228
|
-
Print copyright and version information.
|
|
229
|
-
.TP
|
|
230
|
-
.B \-h
|
|
231
|
-
Print usage information.
|
|
232
|
-
.RB ( \-help
|
|
233
|
-
and
|
|
234
|
-
.B \-\-help
|
|
235
|
-
are equivalent.)
|
|
236
|
-
.SH EXIT CODES
|
|
237
|
-
The Xpdf tools use the following exit codes:
|
|
238
|
-
.TP
|
|
239
|
-
0
|
|
240
|
-
No error.
|
|
241
|
-
.TP
|
|
242
|
-
1
|
|
243
|
-
Error opening a PDF file.
|
|
244
|
-
.TP
|
|
245
|
-
2
|
|
246
|
-
Error opening an output file.
|
|
247
|
-
.TP
|
|
248
|
-
3
|
|
249
|
-
Error related to PDF permissions.
|
|
250
|
-
.TP
|
|
251
|
-
99
|
|
252
|
-
Other error.
|
|
253
|
-
.SH AUTHOR
|
|
254
|
-
The pdftops software and documentation are copyright 1996-2011 Glyph &
|
|
255
|
-
Cog, LLC.
|
|
256
|
-
.SH "SEE ALSO"
|
|
257
|
-
.BR pdfdetach (1),
|
|
258
|
-
.BR pdffonts (1),
|
|
259
|
-
.BR pdfimages (1),
|
|
260
|
-
.BR pdfinfo (1),
|
|
261
|
-
.BR pdftocairo (1),
|
|
262
|
-
.BR pdftohtml (1),
|
|
263
|
-
.BR pdftoppm (1),
|
|
264
|
-
.BR pdftotext (1)
|
|
265
|
-
.BR pdfseparate (1),
|
|
266
|
-
.BR pdfsig (1),
|
|
267
|
-
.BR pdfunite (1)
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
.\" Copyright 1997-2011 Glyph & Cog, LLC
|
|
2
|
-
.TH pdftotext 1 "15 August 2011"
|
|
3
|
-
.SH NAME
|
|
4
|
-
pdftotext \- Portable Document Format (PDF) to text converter
|
|
5
|
-
(version 3.03)
|
|
6
|
-
.SH SYNOPSIS
|
|
7
|
-
.B pdftotext
|
|
8
|
-
[options]
|
|
9
|
-
.RI [ PDF-file
|
|
10
|
-
.RI [ text-file ]]
|
|
11
|
-
.SH DESCRIPTION
|
|
12
|
-
.B Pdftotext
|
|
13
|
-
converts Portable Document Format (PDF) files to plain text.
|
|
14
|
-
.PP
|
|
15
|
-
Pdftotext reads the PDF file,
|
|
16
|
-
.IR PDF-file ,
|
|
17
|
-
and writes a text file,
|
|
18
|
-
.IR text-file .
|
|
19
|
-
If
|
|
20
|
-
.I text-file
|
|
21
|
-
is not specified, pdftotext converts
|
|
22
|
-
.I file.pdf
|
|
23
|
-
to
|
|
24
|
-
.IR file.txt .
|
|
25
|
-
If
|
|
26
|
-
.I text-file
|
|
27
|
-
is \'-', the text is sent to stdout. If
|
|
28
|
-
.I PDF-file
|
|
29
|
-
is \'-', it reads the PDF file from stdin.
|
|
30
|
-
.SH OPTIONS
|
|
31
|
-
.TP
|
|
32
|
-
.BI \-f " number"
|
|
33
|
-
Specifies the first page to convert.
|
|
34
|
-
.TP
|
|
35
|
-
.BI \-l " number"
|
|
36
|
-
Specifies the last page to convert.
|
|
37
|
-
.TP
|
|
38
|
-
.BI \-r " number"
|
|
39
|
-
Specifies the resolution, in DPI. The default is 72 DPI.
|
|
40
|
-
.TP
|
|
41
|
-
.BI \-x " number"
|
|
42
|
-
Specifies the x-coordinate of the crop area top left corner
|
|
43
|
-
.TP
|
|
44
|
-
.BI \-y " number"
|
|
45
|
-
Specifies the y-coordinate of the crop area top left corner
|
|
46
|
-
.TP
|
|
47
|
-
.BI \-W " number"
|
|
48
|
-
Specifies the width of crop area in pixels (default is 0)
|
|
49
|
-
.TP
|
|
50
|
-
.BI \-H " number"
|
|
51
|
-
Specifies the height of crop area in pixels (default is 0)
|
|
52
|
-
.TP
|
|
53
|
-
.B \-layout
|
|
54
|
-
Maintain (as best as possible) the original physical layout of the
|
|
55
|
-
text. The default is to \'undo' physical layout (columns,
|
|
56
|
-
hyphenation, etc.) and output the text in reading order.
|
|
57
|
-
.TP
|
|
58
|
-
.BI \-fixed " number"
|
|
59
|
-
Assume fixed-pitch (or tabular) text, with the specified character
|
|
60
|
-
width (in points). This forces physical layout mode.
|
|
61
|
-
.TP
|
|
62
|
-
.B \-raw
|
|
63
|
-
Keep the text in content stream order. This is a hack which often
|
|
64
|
-
"undoes" column formatting, etc. Use of raw mode is no longer
|
|
65
|
-
recommended.
|
|
66
|
-
.TP
|
|
67
|
-
.B \-nodiag
|
|
68
|
-
Discard diagonal text (i.e., text that is not close to one of the
|
|
69
|
-
0, 90, 180, or 270 degree axes). This is useful for skipping
|
|
70
|
-
watermarks drawn on body text.
|
|
71
|
-
.TP
|
|
72
|
-
.B \-htmlmeta
|
|
73
|
-
Generate a simple HTML file, including the meta information. This
|
|
74
|
-
simply wraps the text in <pre> and </pre> and prepends the meta
|
|
75
|
-
headers.
|
|
76
|
-
.TP
|
|
77
|
-
.B \-bbox
|
|
78
|
-
Generate an XHTML file containing bounding box information for each
|
|
79
|
-
word in the file.
|
|
80
|
-
.TP
|
|
81
|
-
.B \-bbox-layout
|
|
82
|
-
Generate an XHTML file containing bounding box information for each
|
|
83
|
-
block, line, and word in the file.
|
|
84
|
-
.TP
|
|
85
|
-
.B \-cropbox
|
|
86
|
-
Use the crop box rather than the media box with \-bbox and \-bbox-layout.
|
|
87
|
-
.TP
|
|
88
|
-
.BI \-colspacing " number"
|
|
89
|
-
Specifies how much spacing we allow after a word before considering adjacent text to be a new column, measured as a fraction of the font size. Current default is 0.7, old releases had a 0.3 default.
|
|
90
|
-
.TP
|
|
91
|
-
.BI \-enc " encoding-name"
|
|
92
|
-
Sets the encoding to use for text output. This defaults to "UTF-8".
|
|
93
|
-
.TP
|
|
94
|
-
.B \-listenc
|
|
95
|
-
Lists the available encodings
|
|
96
|
-
.TP
|
|
97
|
-
.BI \-eol " unix | dos | mac"
|
|
98
|
-
Sets the end-of-line convention to use for text output.
|
|
99
|
-
.TP
|
|
100
|
-
.B \-nopgbrk
|
|
101
|
-
Don't insert page breaks (form feed characters) between pages.
|
|
102
|
-
.TP
|
|
103
|
-
.BI \-opw " password"
|
|
104
|
-
Specify the owner password for the PDF file. Providing this will
|
|
105
|
-
bypass all security restrictions.
|
|
106
|
-
.TP
|
|
107
|
-
.BI \-upw " password"
|
|
108
|
-
Specify the user password for the PDF file.
|
|
109
|
-
.TP
|
|
110
|
-
.B \-q
|
|
111
|
-
Don't print any messages or errors.
|
|
112
|
-
.TP
|
|
113
|
-
.B \-v
|
|
114
|
-
Print copyright and version information.
|
|
115
|
-
.TP
|
|
116
|
-
.B \-h
|
|
117
|
-
Print usage information.
|
|
118
|
-
.RB ( \-help
|
|
119
|
-
and
|
|
120
|
-
.B \-\-help
|
|
121
|
-
are equivalent.)
|
|
122
|
-
.SH BUGS
|
|
123
|
-
Some PDF files contain fonts whose encodings have been mangled beyond
|
|
124
|
-
recognition. There is no way (short of OCR) to extract text from
|
|
125
|
-
these files.
|
|
126
|
-
.SH EXIT CODES
|
|
127
|
-
The Xpdf tools use the following exit codes:
|
|
128
|
-
.TP
|
|
129
|
-
0
|
|
130
|
-
No error.
|
|
131
|
-
.TP
|
|
132
|
-
1
|
|
133
|
-
Error opening a PDF file.
|
|
134
|
-
.TP
|
|
135
|
-
2
|
|
136
|
-
Error opening an output file.
|
|
137
|
-
.TP
|
|
138
|
-
3
|
|
139
|
-
Error related to PDF permissions.
|
|
140
|
-
.TP
|
|
141
|
-
99
|
|
142
|
-
Other error.
|
|
143
|
-
.SH AUTHOR
|
|
144
|
-
The pdftotext software and documentation are copyright 1996-2011 Glyph
|
|
145
|
-
& Cog, LLC.
|
|
146
|
-
.SH "SEE ALSO"
|
|
147
|
-
.BR pdfdetach (1),
|
|
148
|
-
.BR pdffonts (1),
|
|
149
|
-
.BR pdfimages (1),
|
|
150
|
-
.BR pdfinfo (1),
|
|
151
|
-
.BR pdftocairo (1),
|
|
152
|
-
.BR pdftohtml (1),
|
|
153
|
-
.BR pdftoppm (1),
|
|
154
|
-
.BR pdftops (1),
|
|
155
|
-
.BR pdfseparate (1),
|
|
156
|
-
.BR pdfsig (1),
|
|
157
|
-
.BR pdfunite (1)
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
.\" Copyright 2011 The Poppler Developers - http://poppler.freedesktop.org
|
|
2
|
-
.TH pdfunite 1 "15 September 2011"
|
|
3
|
-
.SH NAME
|
|
4
|
-
pdfunite \- Portable Document Format (PDF) page merger
|
|
5
|
-
.SH SYNOPSIS
|
|
6
|
-
.B pdfunite
|
|
7
|
-
[options]
|
|
8
|
-
.I PDF-sourcefile1..PDF-sourcefilen PDF-destfile
|
|
9
|
-
.SH DESCRIPTION
|
|
10
|
-
.B pdfunite
|
|
11
|
-
merges several PDF (Portable Document Format) files in order of their occurrence on command line to one PDF result file.
|
|
12
|
-
.TP
|
|
13
|
-
Neither of the PDF-sourcefile1 to PDF-sourcefilen should be encrypted.
|
|
14
|
-
.SH OPTIONS
|
|
15
|
-
.TP
|
|
16
|
-
.B \-v
|
|
17
|
-
Print copyright and version information.
|
|
18
|
-
.TP
|
|
19
|
-
.B \-h
|
|
20
|
-
Print usage information.
|
|
21
|
-
.RB ( \-help
|
|
22
|
-
and
|
|
23
|
-
.B \-\-help
|
|
24
|
-
are equivalent.)
|
|
25
|
-
.SH EXAMPLE
|
|
26
|
-
pdfunite sample1.pdf sample2.pdf sample.pdf
|
|
27
|
-
.TP
|
|
28
|
-
merges all pages from sample1.pdf and sample2.pdf (in that order) and creates sample.pdf
|
|
29
|
-
.SH AUTHOR
|
|
30
|
-
The pdfunite software and documentation are copyright 1996-2004 Glyph & Cog, LLC
|
|
31
|
-
and copyright 2005-2011 The Poppler Developers - http://poppler.freedesktop.org
|
|
32
|
-
.SH "SEE ALSO"
|
|
33
|
-
.BR pdfdetach (1),
|
|
34
|
-
.BR pdffonts (1),
|
|
35
|
-
.BR pdfimages (1),
|
|
36
|
-
.BR pdfinfo (1),
|
|
37
|
-
.BR pdftocairo (1),
|
|
38
|
-
.BR pdftohtml (1),
|
|
39
|
-
.BR pdftoppm (1),
|
|
40
|
-
.BR pdftops (1),
|
|
41
|
-
.BR pdftotext (1)
|
|
42
|
-
.BR pdfseparate (1),
|
|
43
|
-
.BR pdfsig (1)
|