aboutsummaryrefslogtreecommitdiffstats
path: root/archive/openjpeg.xml
blob: c543eb74be536c5c3f6d3c2f0106184b75538690 (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
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
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;

  <!ENTITY openjpeg-download-http "&sourceforge-dl;/openjpeg.mirror/openjpeg-&openjpeg-version;.tar.gz">
  <!ENTITY openjpeg-download-ftp  " ">
  <!ENTITY openjpeg-md5sum        "c41772c30fb1c272358b3707233134a1">
  <!ENTITY openjpeg-size          "1.4 MB">
  <!ENTITY openjpeg-buildsize     "16 MB">
  <!ENTITY openjpeg-time          "0.2 SBU">
]>

<sect1 id="openjpeg" xreflabel="OpenJPEG-&openjpeg-version;">
  <?dbhtml filename="openjpeg.html"?>


  <title>OpenJPEG-&openjpeg-version;</title>

  <indexterm zone="openjpeg">
    <primary sortas="a-openjpeg">OpenJPEG</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to OpenJPEG</title>

    <para><application>OpenJPEG</application> is an open-source implementation
    of the JPEG-2000 standard. OpenJPEG fully respects the JPEG-2000 specifications
    and can compress/decompress lossless 16-bit images.</para>

    &lfs82_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>Download (HTTP): <ulink url="&openjpeg-download-http;"/></para>
      </listitem>
      <listitem>
        <para>Download (FTP): <ulink url="&openjpeg-download-ftp;"/></para>
      </listitem>
      <listitem>
        <para>Download MD5 sum: &openjpeg-md5sum;</para>
      </listitem>
      <listitem>
        <para>Download size: &openjpeg-size;</para>
      </listitem>
      <listitem>
        <para>Estimated disk space required: &openjpeg-buildsize;</para>
      </listitem>
      <listitem>
        <para>Estimated build time: &openjpeg-time;</para>
      </listitem>
    </itemizedlist>
<!--
    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>Required patch: <ulink
        url="&patch-root;/openjpeg-&openjpeg-version;-security_fixes-1.patch"/></para>
      </listitem>
    </itemizedlist>
-->
    <bridgehead renderas="sect3">OpenJPEG Dependencies</bridgehead>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional">
    <xref linkend="lcms2"/>,
    <xref linkend="libpng"/>,
    <xref linkend="libtiff"/> and
    <xref linkend="doxygen"/> (to build the API documentation)
    </para>

    <para condition="html" role="usernotes">User Notes:
    <ulink url="&blfs-wiki;/openjpeg"/></para>

  </sect2>

  <sect2 role="installation">
    <title>Installation of OpenJPEG</title>

    <para>
      Install <application>OpenJPEG</application> by running the
      following commands:
    </para>

<screen><userinput>autoreconf -f -i &amp;&amp;
./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>

    <para>This package does not come with a testsuite.</para>

    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>

<screen role="root"><userinput>make install</userinput></screen>

  </sect2>

  <sect2 role="commands">
    <title>Command Explanations</title>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
      href="../../xincludes/static-libraries.xml"/>

  </sect2>

  <!--
  <sect2 role="configuration">
    <title>Configuring OpenJPEG</title>

    <sect3>
      <title>Configuration Information</title>

    </sect3>

  </sect2>
  -->

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>image_to_j2k, j2k_dump and j2k_to_image</seg>
        <seg>libopenjpeg.so</seg>
        <seg>/usr/include/openjpeg-1.5 and /usr/share/doc/openjpeg-1.5</seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="image_to_j2k">
        <term><command>image_to_j2k</command></term>
        <listitem>
          <para>converts various image formats to the jpeg2000 format.</para>
          <indexterm zone="openjpeg image_to_j2k">
            <primary sortas="b-image_to_j2k">image_to_j2k</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="j2k_dump">
        <term><command>j2k_dump</command></term>
        <listitem>
          <para>reads in a jpeg2000 image and dumps the contents to stdout.</para>
          <indexterm zone="openjpeg j2k_dump">
            <primary sortas="b-j2k_dump">j2k_dump</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="j2k_to_image">
        <term><command>j2k_to_image</command></term>
        <listitem>
          <para>converts jpeg2000 images to other image types.</para>
          <indexterm zone="openjpeg j2k_to_image">
            <primary sortas="b-j2k_to_image">j2k_to_image</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>