[go: up one dir, main page]

File: xpstojpeg.xml

package info (click to toggle)
libgxps 0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,168 kB
  • sloc: ansic: 10,622; xml: 999; sh: 18; makefile: 15
file content (187 lines) | stat: -rw-r--r-- 5,705 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
<refentry id="xpstojpeg" lang="en">

  <refmeta>
    <refentrytitle>xpstojpeg</refentrytitle>
    <manvolnum>1</manvolnum>
    <refmiscinfo class="manual">XPS Tools</refmiscinfo>
  </refmeta>

  <refnamediv>
    <refname>xpstojpeg</refname>
    <refpurpose>XPS to JPEG converter</refpurpose>
  </refnamediv>

  <refsynopsisdiv>
    <cmdsynopsis>
      <command>xpstojpeg</command>
      <arg choice="opt" rep="repeat"><replaceable>OPTION</replaceable></arg>
      <arg choice="plain">FILE</arg>
      <arg choice="opt"><replaceable>OUTPUT FILE</replaceable></arg>
    </cmdsynopsis>
  </refsynopsisdiv>

  <refsect1>
    <title>Description</title>
    <para>
      <command>xpstojpeg</command> converts XPS documents to JPEG format.
      <command>xpstojpeg</command> reads the XPS file, <replaceable>FILE</replaceable>,
      and writes a JPEG file per page with the page number and file type appended to
      <replaceable>OUTPUT FILE</replaceable>. If <replaceable>OUTPUT FILE</replaceable>
      is not specified "page" will be used.
    </para>
  </refsect1>

  <refsect1>
    <title>Options</title>
    <variablelist>

      <varlistentry>
        <term><option>-?</option>, <option>--help</option></term>
        <listitem>
          <para>
            Show help options.
          </para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-d</option> <replaceable>DOCUMENT</replaceable>, <option>--document</option>=<replaceable>DOCUMENT</replaceable></term>
        <listitem>
          <para>
            The document inside the XPS file to convert. By default, the
            first document of the XPS file is used.
          </para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-f</option> <replaceable>PAGE</replaceable>, <option>--first</option>=<replaceable>PAGE</replaceable></term>
        <listitem>
          <para>
            The first page to convert.
          </para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-l</option> <replaceable>PAGE</replaceable>, <option>--last</option>=<replaceable>PAGE</replaceable></term>
        <listitem>
          <para>
            The last page to convert.
          </para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-o</option>, <option>--odd</option></term>
        <listitem>
          <para>
            Convert only odd pages.
          </para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-e</option>, <option>--even</option></term>
        <listitem>
          <para>
            Convert only even pages.
          </para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-r</option> <replaceable>RESOLUTION</replaceable>, <option>--resolution</option>=<replaceable>RESOLUTION</replaceable></term>
        <listitem>
          <para>
            Horizontal and vertical resolution in PPI (Pixels Per Inch). The default is 150 PPI.
          </para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>--rx</option>=<replaceable>RESOLUTION</replaceable></term>
        <listitem>
          <para>
            Horizontal resolution in PPI (Pixels Per Inch). The default is 150 PPI.
          </para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>--ry</option>=<replaceable>RESOLUTION</replaceable></term>
        <listitem>
          <para>
            Vertical resolution in PPI (Pixels Per Inch). The default is 150 PPI.
          </para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-x</option> <replaceable>X</replaceable>, <option>--crop-x</option>=<replaceable>X</replaceable></term>
        <listitem>
          <para>
            The x-coordinate of the crop area top left corner.
          </para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-y</option> <replaceable>Y</replaceable>, <option>--crop-y</option>=<replaceable>Y</replaceable></term>
        <listitem>
          <para>
            The y-coordinate of the crop area top left corner.
          </para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-w</option> <replaceable>WIDTH</replaceable>, <option>--crop-width</option>=<replaceable>WIDTH</replaceable></term>
        <listitem>
          <para>
            The width of crop area.
          </para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term><option>-h</option> <replaceable>HEIGHT</replaceable>, <option>--crop-height</option>=<replaceable>HEIGHT</replaceable></term>
        <listitem>
          <para>
            The height of crop area.
          </para>
        </listitem>
      </varlistentry>

    </variablelist>
  </refsect1>

  <refsect1>
    <title>Bugs</title>
    <para>
      Please send bug reports to
      <ulink url="https://bugzilla.gnome.org/enter_bug.cgi?product=libgxps">https://bugzilla.gnome.org/enter_bug.cgi?product=libgxps</ulink>.
    </para>
  </refsect1>

  <refsect1>
    <title>See also</title>
    <para>
      <citerefentry>
        <refentrytitle>xpstopng</refentrytitle><manvolnum>1</manvolnum>
      </citerefentry>

      <citerefentry>
        <refentrytitle>xpstopdf</refentrytitle><manvolnum>1</manvolnum>
      </citerefentry>

      <citerefentry>
        <refentrytitle>xpstops</refentrytitle><manvolnum>1</manvolnum>
      </citerefentry>

      <citerefentry>
        <refentrytitle>xpstosvg</refentrytitle><manvolnum>1</manvolnum>
      </citerefentry>
    </para>
  </refsect1>
</refentry>