summaryrefslogtreecommitdiff
path: root/libraries/jbig2enc/pdf.py.rst
blob: 6b4cb623a25cf78641cbc05281729c9b06b5164e (plain)
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
.. RST source for pdf.py(1) man page. Convert with:
..   rst2man.py pdf.py.rst > pdf.py.1
.. rst2man.py comes from the SBo development/docutils package.

.. |version| replace:: 0.28
.. |date| date::

======
pdf.py
======

----------------------------------
create PDF files from JBIG2 images
----------------------------------

SYNOPSIS
========

jbig2 -b newdoc -s -p image1.jpg image2.jpg ...

pdf.py newdoc > newdoc.pdf

DESCRIPTION
===========

**pdf.py** creates a PDF document from **jbig2**'s PDF-ready output
(created using *-s* and *-p*, *--pdf*).

**pdf.py** takes only one argument: the base name of the files created
by **jbig2**, which is set with **jbig2**'s *-b* option.  Without *-b*,
the default name is **output**.

The PDF is written to standard output, which normally should be redirected
to a file (see the example above).

EXIT STATUS
===========

**pdf.py** exits with 0 (success) status if the conversion completed
OK, and non-zero status if anything went wrong. If standard output was
redirected to a file, the file will be empty or invalid when non-zero
status is returned. Diagnostic messages are printed to standard error.

COPYRIGHT
=========

See the file /usr/doc/jbig2enc-|version|/COPYING for license information.

AUTHORS
=======

pdf.py and jbig2enc were written by:
  Adam Langley <agl@imperialviolet.org>.

This man page written for the SlackBuilds.org project
by B. Watson, and is licensed under the WTFPL.

SEE ALSO
========

**jbig2(1)**, **jbig2dec(1)**