poppler 2.2.4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (185) hide show
  1. checksums.yaml +7 -0
  2. data/README +35 -0
  3. data/Rakefile +75 -0
  4. data/ext/poppler/depend +6 -0
  5. data/ext/poppler/extconf.rb +70 -0
  6. data/ext/poppler/poppler.def +2 -0
  7. data/ext/poppler/rbpoppler-action.c +372 -0
  8. data/ext/poppler/rbpoppler-annotation-callout-line.c +127 -0
  9. data/ext/poppler/rbpoppler-annotation-free-text.c +46 -0
  10. data/ext/poppler/rbpoppler-annotation-mapping.c +72 -0
  11. data/ext/poppler/rbpoppler-annotation-markup.c +98 -0
  12. data/ext/poppler/rbpoppler-annotation-text.c +53 -0
  13. data/ext/poppler/rbpoppler-annotation.c +74 -0
  14. data/ext/poppler/rbpoppler-attachment.c +124 -0
  15. data/ext/poppler/rbpoppler-button-field.c +56 -0
  16. data/ext/poppler/rbpoppler-choice-field.c +131 -0
  17. data/ext/poppler/rbpoppler-color.c +107 -0
  18. data/ext/poppler/rbpoppler-document.c +224 -0
  19. data/ext/poppler/rbpoppler-font-info.c +59 -0
  20. data/ext/poppler/rbpoppler-fonts-iter.c +127 -0
  21. data/ext/poppler/rbpoppler-form-field-mapping.c +44 -0
  22. data/ext/poppler/rbpoppler-form-field.c +98 -0
  23. data/ext/poppler/rbpoppler-image-mapping.c +48 -0
  24. data/ext/poppler/rbpoppler-index-iter.c +128 -0
  25. data/ext/poppler/rbpoppler-link-mapping.c +47 -0
  26. data/ext/poppler/rbpoppler-page-transition.c +59 -0
  27. data/ext/poppler/rbpoppler-page.c +322 -0
  28. data/ext/poppler/rbpoppler-private.h +77 -0
  29. data/ext/poppler/rbpoppler-ps-file.c +66 -0
  30. data/ext/poppler/rbpoppler-rectangle.c +92 -0
  31. data/ext/poppler/rbpoppler-text-field.c +91 -0
  32. data/ext/poppler/rbpoppler.c +111 -0
  33. data/ext/poppler/rbpoppler.h +61 -0
  34. data/ext/poppler/rbpopplerconversions.h +105 -0
  35. data/extconf.rb +49 -0
  36. data/lib/2.0/poppler.so +0 -0
  37. data/lib/2.1/poppler.so +0 -0
  38. data/lib/2.2/poppler.so +0 -0
  39. data/lib/poppler.rb +105 -0
  40. data/sample/number-pdf.rb +32 -0
  41. data/sample/pdf2.rb +132 -0
  42. data/sample/pdf2svg.rb +26 -0
  43. data/sample/pdf2text.rb +16 -0
  44. data/sample/pdfcrop.rb +32 -0
  45. data/sample/pdfdiv.rb +36 -0
  46. data/test/fixtures/image.pdf +0 -0
  47. data/test/fixtures/image.png +0 -0
  48. data/test/poppler-test-utils.rb +58 -0
  49. data/test/run-test.rb +32 -0
  50. data/test/test_annotation.rb +86 -0
  51. data/test/test_color.rb +26 -0
  52. data/test/test_constants.rb +30 -0
  53. data/test/test_document.rb +41 -0
  54. data/test/test_page.rb +42 -0
  55. data/vendor/local/bin/cjpeg.exe +0 -0
  56. data/vendor/local/bin/djpeg.exe +0 -0
  57. data/vendor/local/bin/jpegtran.exe +0 -0
  58. data/vendor/local/bin/libjpeg-9.dll +0 -0
  59. data/vendor/local/bin/libpoppler-48.dll +0 -0
  60. data/vendor/local/bin/libpoppler-cpp-0.dll +0 -0
  61. data/vendor/local/bin/libpoppler-glib-8.dll +0 -0
  62. data/vendor/local/bin/libsqlite3-0.dll +0 -0
  63. data/vendor/local/bin/pdfdetach.exe +0 -0
  64. data/vendor/local/bin/pdffonts.exe +0 -0
  65. data/vendor/local/bin/pdfimages.exe +0 -0
  66. data/vendor/local/bin/pdfinfo.exe +0 -0
  67. data/vendor/local/bin/pdfseparate.exe +0 -0
  68. data/vendor/local/bin/pdftocairo.exe +0 -0
  69. data/vendor/local/bin/pdftohtml.exe +0 -0
  70. data/vendor/local/bin/pdftoppm.exe +0 -0
  71. data/vendor/local/bin/pdftops.exe +0 -0
  72. data/vendor/local/bin/pdftotext.exe +0 -0
  73. data/vendor/local/bin/pdfunite.exe +0 -0
  74. data/vendor/local/bin/rdjpgcom.exe +0 -0
  75. data/vendor/local/bin/sqlite3.exe +0 -0
  76. data/vendor/local/bin/wrjpgcom.exe +0 -0
  77. data/vendor/local/include/jconfig.h +60 -0
  78. data/vendor/local/include/jerror.h +304 -0
  79. data/vendor/local/include/jmorecfg.h +446 -0
  80. data/vendor/local/include/jpeglib.h +1180 -0
  81. data/vendor/local/include/poppler/cpp/poppler-document.h +104 -0
  82. data/vendor/local/include/poppler/cpp/poppler-embedded-file.h +55 -0
  83. data/vendor/local/include/poppler/cpp/poppler-font.h +91 -0
  84. data/vendor/local/include/poppler/cpp/poppler-global.h +111 -0
  85. data/vendor/local/include/poppler/cpp/poppler-image.h +71 -0
  86. data/vendor/local/include/poppler/cpp/poppler-page-renderer.h +66 -0
  87. data/vendor/local/include/poppler/cpp/poppler-page-transition.h +82 -0
  88. data/vendor/local/include/poppler/cpp/poppler-page.h +76 -0
  89. data/vendor/local/include/poppler/cpp/poppler-rectangle.h +84 -0
  90. data/vendor/local/include/poppler/cpp/poppler-toc.h +74 -0
  91. data/vendor/local/include/poppler/cpp/poppler-version.h +39 -0
  92. data/vendor/local/include/poppler/glib/poppler-action.h +316 -0
  93. data/vendor/local/include/poppler/glib/poppler-annot.h +296 -0
  94. data/vendor/local/include/poppler/glib/poppler-attachment.h +87 -0
  95. data/vendor/local/include/poppler/glib/poppler-date.h +30 -0
  96. data/vendor/local/include/poppler/glib/poppler-document.h +299 -0
  97. data/vendor/local/include/poppler/glib/poppler-enums.h +116 -0
  98. data/vendor/local/include/poppler/glib/poppler-features.h +88 -0
  99. data/vendor/local/include/poppler/glib/poppler-form-field.h +111 -0
  100. data/vendor/local/include/poppler/glib/poppler-layer.h +43 -0
  101. data/vendor/local/include/poppler/glib/poppler-media.h +73 -0
  102. data/vendor/local/include/poppler/glib/poppler-movie.h +42 -0
  103. data/vendor/local/include/poppler/glib/poppler-page.h +377 -0
  104. data/vendor/local/include/poppler/glib/poppler-structure-element.h +357 -0
  105. data/vendor/local/include/poppler/glib/poppler.h +250 -0
  106. data/vendor/local/include/sqlite3.h +7494 -0
  107. data/vendor/local/include/sqlite3ext.h +487 -0
  108. data/vendor/local/lib/girepository-1.0/Poppler-0.18.typelib +0 -0
  109. data/vendor/local/lib/libjpeg.a +0 -0
  110. data/vendor/local/lib/libjpeg.dll.a +0 -0
  111. data/vendor/local/lib/libjpeg.la +41 -0
  112. data/vendor/local/lib/libpoppler-cpp.a +0 -0
  113. data/vendor/local/lib/libpoppler-cpp.dll.a +0 -0
  114. data/vendor/local/lib/libpoppler-cpp.la +41 -0
  115. data/vendor/local/lib/libpoppler-glib.a +0 -0
  116. data/vendor/local/lib/libpoppler-glib.dll.a +0 -0
  117. data/vendor/local/lib/libpoppler-glib.la +41 -0
  118. data/vendor/local/lib/libpoppler.a +0 -0
  119. data/vendor/local/lib/libpoppler.dll.a +0 -0
  120. data/vendor/local/lib/libpoppler.la +41 -0
  121. data/vendor/local/lib/libsqlite3.a +0 -0
  122. data/vendor/local/lib/libsqlite3.dll.a +0 -0
  123. data/vendor/local/lib/libsqlite3.la +41 -0
  124. data/vendor/local/lib/pkgconfig/poppler-cairo.pc +9 -0
  125. data/vendor/local/lib/pkgconfig/poppler-cpp.pc +13 -0
  126. data/vendor/local/lib/pkgconfig/poppler-glib.pc +13 -0
  127. data/vendor/local/lib/pkgconfig/poppler-splash.pc +9 -0
  128. data/vendor/local/lib/pkgconfig/poppler.pc +11 -0
  129. data/vendor/local/lib/pkgconfig/sqlite3.pc +13 -0
  130. data/vendor/local/share/gir-1.0/Poppler-0.18.gir +8281 -0
  131. data/vendor/local/share/gtk-doc/html/poppler/PopplerAnnot.html +3221 -0
  132. data/vendor/local/share/gtk-doc/html/poppler/PopplerAttachment.html +267 -0
  133. data/vendor/local/share/gtk-doc/html/poppler/PopplerDocument.html +3328 -0
  134. data/vendor/local/share/gtk-doc/html/poppler/PopplerFormField.html +1403 -0
  135. data/vendor/local/share/gtk-doc/html/poppler/PopplerLayer.html +307 -0
  136. data/vendor/local/share/gtk-doc/html/poppler/PopplerMedia.html +381 -0
  137. data/vendor/local/share/gtk-doc/html/poppler/PopplerMovie.html +197 -0
  138. data/vendor/local/share/gtk-doc/html/poppler/PopplerPage.html +3002 -0
  139. data/vendor/local/share/gtk-doc/html/poppler/PopplerStructureElement.html +3781 -0
  140. data/vendor/local/share/gtk-doc/html/poppler/annotation-glossary.html +63 -0
  141. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-12.html +123 -0
  142. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-14.html +102 -0
  143. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-16.html +180 -0
  144. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-18.html +72 -0
  145. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-20.html +39 -0
  146. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-22.html +64 -0
  147. data/vendor/local/share/gtk-doc/html/poppler/api-index-deprecated.html +39 -0
  148. data/vendor/local/share/gtk-doc/html/poppler/api-index-full.html +1830 -0
  149. data/vendor/local/share/gtk-doc/html/poppler/ch01.html +74 -0
  150. data/vendor/local/share/gtk-doc/html/poppler/home.png +0 -0
  151. data/vendor/local/share/gtk-doc/html/poppler/index.html +85 -0
  152. data/vendor/local/share/gtk-doc/html/poppler/index.sgml +557 -0
  153. data/vendor/local/share/gtk-doc/html/poppler/left-insensitive.png +0 -0
  154. data/vendor/local/share/gtk-doc/html/poppler/left.png +0 -0
  155. data/vendor/local/share/gtk-doc/html/poppler/poppler-PDF-Utility-functions.html +107 -0
  156. data/vendor/local/share/gtk-doc/html/poppler/poppler-PopplerAction.html +796 -0
  157. data/vendor/local/share/gtk-doc/html/poppler/poppler-PopplerColor.html +201 -0
  158. data/vendor/local/share/gtk-doc/html/poppler/poppler-Version-and-Features-Information.html +254 -0
  159. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler.html +169 -0
  160. data/vendor/local/share/gtk-doc/html/poppler/poppler.devhelp2 +470 -0
  161. data/vendor/local/share/gtk-doc/html/poppler/right-insensitive.png +0 -0
  162. data/vendor/local/share/gtk-doc/html/poppler/right.png +0 -0
  163. data/vendor/local/share/gtk-doc/html/poppler/style.css +476 -0
  164. data/vendor/local/share/gtk-doc/html/poppler/up-insensitive.png +0 -0
  165. data/vendor/local/share/gtk-doc/html/poppler/up.png +0 -0
  166. data/vendor/local/share/license/poppler/AUTHORS +5 -0
  167. data/vendor/local/share/license/poppler/COPYING +339 -0
  168. data/vendor/local/share/man/man1/cjpeg.1 +387 -0
  169. data/vendor/local/share/man/man1/djpeg.1 +252 -0
  170. data/vendor/local/share/man/man1/jpegtran.1 +293 -0
  171. data/vendor/local/share/man/man1/pdfdetach.1 +86 -0
  172. data/vendor/local/share/man/man1/pdffonts.1 +119 -0
  173. data/vendor/local/share/man/man1/pdfimages.1 +260 -0
  174. data/vendor/local/share/man/man1/pdfinfo.1 +152 -0
  175. data/vendor/local/share/man/man1/pdfseparate.1 +49 -0
  176. data/vendor/local/share/man/man1/pdftocairo.1 +295 -0
  177. data/vendor/local/share/man/man1/pdftohtml.1 +107 -0
  178. data/vendor/local/share/man/man1/pdftoppm.1 +170 -0
  179. data/vendor/local/share/man/man1/pdftops.1 +217 -0
  180. data/vendor/local/share/man/man1/pdftotext.1 +137 -0
  181. data/vendor/local/share/man/man1/pdfunite.1 +33 -0
  182. data/vendor/local/share/man/man1/rdjpgcom.1 +63 -0
  183. data/vendor/local/share/man/man1/sqlite3.1 +279 -0
  184. data/vendor/local/share/man/man1/wrjpgcom.1 +103 -0
  185. metadata +254 -0
@@ -0,0 +1,86 @@
1
+ .\" Copyright 2011 Glyph & Cog, LLC
2
+ .TH pdfdetach 1 "15 August 2011"
3
+ .SH NAME
4
+ pdfdetach \- Portable Document Format (PDF) document embedded file
5
+ extractor (version 3.03)
6
+ .SH SYNOPSIS
7
+ .B pdfdetach
8
+ [options]
9
+ .RI [ PDF-file ]
10
+ .SH DESCRIPTION
11
+ .B Pdfdetach
12
+ lists or extracts embedded files (attachments) from a Portable
13
+ Document Format (PDF) file.
14
+ .SH OPTIONS
15
+ Some of the following options can be set with configuration file
16
+ commands. These are listed in square brackets with the description of
17
+ the corresponding command line option.
18
+ .TP
19
+ .B \-list
20
+ List all of the embedded files in the PDF file. File names are
21
+ converted to the text encoding specified by the "\-enc" switch.
22
+ .TP
23
+ .BI \-save " number"
24
+ Save the specified embedded file. By default, this uses the file name
25
+ associated with the embedded file (as printed by the "\-list" switch);
26
+ the file name can be changed with the "\-o" switch.
27
+ .TP
28
+ .BI \-saveall
29
+ Save all of the embedded files. This uses the file names associated
30
+ with the embedded files (as printed by the "\-list" switch). By
31
+ default, the files are saved in the current directory; this can be
32
+ changed with the "\-o" switch.
33
+ .TP
34
+ .BI \-o " path"
35
+ Set the file name used when saving an embedded file with the "\-save"
36
+ switch, or the directory used by "\-saveall".
37
+ .TP
38
+ .BI \-enc " encoding-name"
39
+ Sets the encoding to use for text output (embedded file names).
40
+ This defaults to "UTF-8".
41
+ .TP
42
+ .BI \-opw " password"
43
+ Specify the owner password for the PDF file. Providing this will
44
+ bypass all security restrictions.
45
+ .TP
46
+ .BI \-upw " password"
47
+ Specify the user password for the PDF file.
48
+ .TP
49
+ .B \-v
50
+ Print copyright and version information.
51
+ .TP
52
+ .B \-h
53
+ Print usage information.
54
+ .RB ( \-help
55
+ and
56
+ .B \-\-help
57
+ are equivalent.)
58
+ .SH EXIT CODES
59
+ The Xpdf tools use the following exit codes:
60
+ .TP
61
+ 0
62
+ No error.
63
+ .TP
64
+ 1
65
+ Error opening a PDF file.
66
+ .TP
67
+ 2
68
+ Error opening an output file.
69
+ .TP
70
+ 3
71
+ Error related to PDF permissions.
72
+ .TP
73
+ 99
74
+ Other error.
75
+ .SH AUTHOR
76
+ The pdfinfo software and documentation are copyright 1996-2011 Glyph &
77
+ Cog, LLC.
78
+ .SH "SEE ALSO"
79
+ .BR pdfimages (1),
80
+ .BR pdffonts (1),
81
+ .BR pdfinfo (1),
82
+ .BR pdftocairo (1),
83
+ .BR pdftohtml (1),
84
+ .BR pdftoppm (1),
85
+ .BR pdftops (1),
86
+ .BR pdftotext (1)
@@ -0,0 +1,119 @@
1
+ .\" Copyright 1999-2011 Glyph & Cog, LLC
2
+ .TH pdffonts 1 "15 August 2011"
3
+ .SH NAME
4
+ pdffonts \- Portable Document Format (PDF) font analyzer (version
5
+ 3.03)
6
+ .SH SYNOPSIS
7
+ .B pdffonts
8
+ [options]
9
+ .RI [ PDF-file ]
10
+ .SH DESCRIPTION
11
+ .B Pdffonts
12
+ lists the fonts used in a Portable Document Format (PDF) file along
13
+ with various information for each font.
14
+ .PP
15
+ The following information is listed for each font:
16
+ .TP
17
+ .B name
18
+ the font name, exactly as given in the PDF file (potentially including
19
+ a subset prefix)
20
+ .TP
21
+ .B type
22
+ the font type -- see below for details
23
+ .TP
24
+ .B encoding
25
+ the font encoding
26
+ .TP
27
+ .B emb
28
+ "yes" if the font is embedded in the PDF file
29
+ .TP
30
+ .B sub
31
+ "yes" if the font is a subset
32
+ .TP
33
+ .B uni
34
+ "yes" if there is an explicit "ToUnicode" map in the PDF file (the
35
+ absence of a ToUnicode map doesn't necessarily mean that the text
36
+ can't be converted to Unicode)
37
+ .TP
38
+ .B object ID
39
+ the font dictionary object ID (number and generation)
40
+ .PP
41
+ PDF files can contain the following types of fonts:
42
+ .PP
43
+ .RS
44
+ Type 1
45
+ .RE
46
+ .RS
47
+ Type 1C -- aka Compact Font Format (CFF)
48
+ .RE
49
+ .RS
50
+ Type 3
51
+ .RE
52
+ .RS
53
+ TrueType
54
+ .RE
55
+ .RS
56
+ CID Type 0 -- 16-bit font with no specified type
57
+ .RE
58
+ .RS
59
+ CID Type 0C -- 16-bit PostScript CFF font
60
+ .RE
61
+ .RS
62
+ CID TrueType -- 16-bit TrueType font
63
+ .RE
64
+ .SH OPTIONS
65
+ .TP
66
+ .BI \-f " number"
67
+ Specifies the first page to analyze.
68
+ .TP
69
+ .BI \-l " number"
70
+ Specifies the last page to analyze.
71
+ .TP
72
+ .BI \-subst
73
+ List the substitute fonts that poppler will use for non embedded fonts.
74
+ .TP
75
+ .BI \-opw " password"
76
+ Specify the owner password for the PDF file. Providing this will
77
+ bypass all security restrictions.
78
+ .TP
79
+ .BI \-upw " password"
80
+ Specify the user password for the PDF file.
81
+ .TP
82
+ .B \-v
83
+ Print copyright and version information.
84
+ .TP
85
+ .B \-h
86
+ Print usage information.
87
+ .RB ( \-help
88
+ and
89
+ .B \-\-help
90
+ are equivalent.)
91
+ .SH EXIT CODES
92
+ The Xpdf tools use the following exit codes:
93
+ .TP
94
+ 0
95
+ No error.
96
+ .TP
97
+ 1
98
+ Error opening a PDF file.
99
+ .TP
100
+ 2
101
+ Error opening an output file.
102
+ .TP
103
+ 3
104
+ Error related to PDF permissions.
105
+ .TP
106
+ 99
107
+ Other error.
108
+ .SH AUTHOR
109
+ The pdffonts software and documentation are copyright 1996-2011 Glyph
110
+ & Cog, LLC.
111
+ .SH "SEE ALSO"
112
+ .BR pdfdetach (1),
113
+ .BR pdfimages (1),
114
+ .BR pdfinfo (1),
115
+ .BR pdftocairo (1),
116
+ .BR pdftohtml (1),
117
+ .BR pdftoppm (1),
118
+ .BR pdftops (1),
119
+ .BR pdftotext (1)
@@ -0,0 +1,260 @@
1
+ .\" Copyright 1998-2011 Glyph & Cog, LLC
2
+ .TH pdfimages 1 "15 August 2011"
3
+ .SH NAME
4
+ pdfimages \- Portable Document Format (PDF) image extractor
5
+ (version 3.03)
6
+ .SH SYNOPSIS
7
+ .B pdfimages
8
+ [options]
9
+ .I PDF-file image-root
10
+ .SH DESCRIPTION
11
+ .B Pdfimages
12
+ saves images from a Portable Document Format (PDF) file as Portable
13
+ Pixmap (PPM), Portable Bitmap (PBM), Portable Network Graphics (PNG),
14
+ Tagged Image File Format (TIFF), JPEG, JPEG2000, or JBIG2 files.
15
+ .PP
16
+ Pdfimages reads the PDF file
17
+ .IR PDF-file ,
18
+ scans one or more pages, and writes one file for each image,
19
+ .IR image-root - nnn . xxx ,
20
+ where
21
+ .I nnn
22
+ is the image number and
23
+ .I xxx
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.
33
+ .SH OPTIONS
34
+ .TP
35
+ .BI \-f " number"
36
+ Specifies the first page to scan.
37
+ .TP
38
+ .BI \-l " number"
39
+ Specifies the last page to scan.
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
47
+ .B \-j
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.
96
+ .TP
97
+ .B \-list
98
+ Instead of writing the images, list the images along with various information for each image. Do not specify an
99
+ .IR image-root
100
+ with this option.
101
+ .IP
102
+ The following information is listed for each image:
103
+ .RS
104
+ .TP
105
+ .B page
106
+ the page number containing the image
107
+ .TP
108
+ .B num
109
+ the image number
110
+ .TP
111
+ .B type
112
+ the image type:
113
+ .PP
114
+ .RS
115
+ image - an opaque image
116
+ .RE
117
+ .RS
118
+ mask - a monochrome mask image
119
+ .RE
120
+ .RS
121
+ smask - a soft-mask image
122
+ .RE
123
+ .RS
124
+ stencil - a monochrome mask image used for painting a color or pattern
125
+ .RE
126
+ .PP
127
+ Note: Tranparency in images is represented in PDF using a separate image for the image and the mask/smask.
128
+ The mask/smask used as part of a transparent image always immediately follows the image in the image list.
129
+ .TP
130
+ .B width
131
+ image width (in pixels)
132
+ .TP
133
+ .B height
134
+ image height (in pixels)
135
+ .PP
136
+ Note: the image width/height is the size of the embedded image, not the size the image will be rendered at.
137
+ .TP
138
+ .B color
139
+ image color space:
140
+ .PP
141
+ .RS
142
+ gray - Gray
143
+ .RE
144
+ .RS
145
+ rgb - RGB
146
+ .RE
147
+ .RS
148
+ cmyk - CMYK
149
+ .RE
150
+ .RS
151
+ lab - L*a*b
152
+ .RE
153
+ .RS
154
+ icc - ICC Based
155
+ .RE
156
+ .RS
157
+ index - Indexed Color
158
+ .RE
159
+ .RS
160
+ sep - Separation
161
+ .RE
162
+ .RS
163
+ devn - DeviceN
164
+ .RE
165
+ .TP
166
+ .B comp
167
+ number of color components
168
+ .TP
169
+ .B bpc
170
+ bits per component
171
+ .TP
172
+ .B enc
173
+ encoding:
174
+ .PP
175
+ .RS
176
+ image - raster image (may be Flate or LZW compressed but does not use an image encoding)
177
+ .RE
178
+ .RS
179
+ jpeg - Joint Photographic Experts Group
180
+ .RE
181
+ .RS
182
+ jp2 - JPEG2000
183
+ .RE
184
+ .RS
185
+ jbig2 - Joint Bi-Level Image Experts Group
186
+ .RE
187
+ .RS
188
+ ccitt - CCITT Group 3 or Group 4 Fax
189
+ .RE
190
+ .TP
191
+ .B interp
192
+ "yes" if the interpolation is to be performed when scaling up the image
193
+ .TP
194
+ .B object ID
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.
208
+ .RE
209
+ .TP
210
+ .BI \-opw " password"
211
+ Specify the owner password for the PDF file. Providing this will
212
+ bypass all security restrictions.
213
+ .TP
214
+ .BI \-upw " password"
215
+ Specify the user password for the PDF file.
216
+ .TP
217
+ .B \-p
218
+ Include page numbers in output file names.
219
+ .TP
220
+ .B \-q
221
+ Don't print any messages or errors.
222
+ .TP
223
+ .B \-v
224
+ Print copyright and version information.
225
+ .TP
226
+ .B \-h
227
+ Print usage information.
228
+ .RB ( \-help
229
+ and
230
+ .B \-\-help
231
+ are equivalent.)
232
+ .SH EXIT CODES
233
+ The Xpdf tools use the following exit codes:
234
+ .TP
235
+ 0
236
+ No error.
237
+ .TP
238
+ 1
239
+ Error opening a PDF file.
240
+ .TP
241
+ 2
242
+ Error opening an output file.
243
+ .TP
244
+ 3
245
+ Error related to PDF permissions.
246
+ .TP
247
+ 99
248
+ Other error.
249
+ .SH AUTHOR
250
+ The pdfimages software and documentation are copyright 1998-2011 Glyph
251
+ & Cog, LLC.
252
+ .SH "SEE ALSO"
253
+ .BR pdfdetach (1)
254
+ .BR pdffonts (1),
255
+ .BR pdfinfo (1),
256
+ .BR pdftocairo (1),
257
+ .BR pdftohtml (1),
258
+ .BR pdftoppm (1),
259
+ .BR pdftops (1),
260
+ .BR pdftotext (1)