[9b39d50e] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[9918de77] | 7 | <!ENTITY openjpeg-download-http "&sourceforge-repo;/openjpeg.mirror/openjpeg-&openjpeg-version;.tar.gz">
|
---|
[9b39d50e] | 8 | <!ENTITY openjpeg-download-ftp " ">
|
---|
[7715803] | 9 | <!ENTITY openjpeg-md5sum "c41772c30fb1c272358b3707233134a1">
|
---|
| 10 | <!ENTITY openjpeg-size "1.4 MB">
|
---|
| 11 | <!ENTITY openjpeg-buildsize "16 MB">
|
---|
| 12 | <!ENTITY openjpeg-time "0.2 SBU">
|
---|
[9b39d50e] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="openjpeg" xreflabel="OpenJPEG-&openjpeg-version;">
|
---|
| 16 | <?dbhtml filename="openjpeg.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>OpenJPEG-&openjpeg-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="openjpeg">
|
---|
| 26 | <primary sortas="a-openjpeg">OpenJPEG</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to OpenJPEG</title>
|
---|
| 31 |
|
---|
| 32 | <para><application>OpenJPEG</application> is an open-source implementation
|
---|
[0d7900a] | 33 | of the JPEG-2000 standard. OpenJPEG fully respects the JPEG-2000 specifications
|
---|
[9b39d50e] | 34 | and can compress/decompress lossless 16-bit images.</para>
|
---|
| 35 |
|
---|
[550d24aa] | 36 | &lfs77_checked; &gcc5_checked;
|
---|
[9b39d50e] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&openjpeg-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&openjpeg-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &openjpeg-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &openjpeg-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &openjpeg-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &openjpeg-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 | <!--
|
---|
| 60 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 61 | <itemizedlist spacing="compact">
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>Required patch: <ulink
|
---|
| 64 | url="&patch-root;/openjpeg-&openjpeg-version;-security_fixes-1.patch"/></para>
|
---|
| 65 | </listitem>
|
---|
| 66 | </itemizedlist>
|
---|
| 67 | -->
|
---|
| 68 | <bridgehead renderas="sect3">OpenJPEG Dependencies</bridgehead>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 71 | <para role="optional">
|
---|
| 72 | <xref linkend="lcms2"/>,
|
---|
| 73 | <xref linkend="libpng"/>,
|
---|
| 74 | <xref linkend="libtiff"/> and
|
---|
| 75 | <xref linkend="doxygen"/> (to build the API documentation)
|
---|
| 76 | </para>
|
---|
| 77 |
|
---|
| 78 | <para condition="html" role="usernotes">User Notes:
|
---|
| 79 | <ulink url="&blfs-wiki;/openjpeg"/></para>
|
---|
| 80 |
|
---|
| 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2 role="installation">
|
---|
| 84 | <title>Installation of OpenJPEG</title>
|
---|
| 85 |
|
---|
[73bd2c4] | 86 | <para>
|
---|
| 87 | Install <application>OpenJPEG</application> by running the
|
---|
| 88 | following commands:
|
---|
| 89 | </para>
|
---|
| 90 |
|
---|
[7715803] | 91 | <screen><userinput>autoreconf -f -i &&
|
---|
| 92 | ./configure --prefix=/usr --disable-static &&
|
---|
[9b39d50e] | 93 | make</userinput></screen>
|
---|
| 94 |
|
---|
| 95 | <para>This package does not come with a testsuite.</para>
|
---|
| 96 |
|
---|
| 97 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 98 |
|
---|
| 99 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 100 |
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="commands">
|
---|
| 104 | <title>Command Explanations</title>
|
---|
| 105 |
|
---|
| 106 | <para><option>--disable-static</option>: This prevents the
|
---|
| 107 | static library from being built.</para>
|
---|
| 108 |
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
[0d7900a] | 111 | <!--
|
---|
[9b39d50e] | 112 | <sect2 role="configuration">
|
---|
| 113 | <title>Configuring OpenJPEG</title>
|
---|
| 114 |
|
---|
| 115 | <sect3>
|
---|
| 116 | <title>Configuration Information</title>
|
---|
| 117 |
|
---|
| 118 | </sect3>
|
---|
| 119 |
|
---|
| 120 | </sect2>
|
---|
| 121 | -->
|
---|
| 122 |
|
---|
| 123 | <sect2 role="content">
|
---|
| 124 | <title>Contents</title>
|
---|
| 125 |
|
---|
| 126 | <segmentedlist>
|
---|
| 127 | <segtitle>Installed Programs</segtitle>
|
---|
| 128 | <segtitle>Installed Libraries</segtitle>
|
---|
| 129 | <segtitle>Installed Directories</segtitle>
|
---|
| 130 |
|
---|
| 131 | <seglistitem>
|
---|
| 132 | <seg>image_to_j2k, j2k_dump and j2k_to_image</seg>
|
---|
| 133 | <seg>libopenjpeg.so</seg>
|
---|
| 134 | <seg>/usr/include/openjpeg-1.5 and /usr/share/doc/openjpeg-1.5</seg>
|
---|
| 135 | </seglistitem>
|
---|
| 136 | </segmentedlist>
|
---|
| 137 |
|
---|
| 138 | <variablelist>
|
---|
| 139 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 140 | <?dbfo list-presentation="list"?>
|
---|
| 141 | <?dbhtml list-presentation="table"?>
|
---|
| 142 |
|
---|
| 143 | <varlistentry id="image_to_j2k">
|
---|
| 144 | <term><command>image_to_j2k</command></term>
|
---|
| 145 | <listitem>
|
---|
| 146 | <para>converts various image formats to the jpeg2000 format.</para>
|
---|
| 147 | <indexterm zone="openjpeg image_to_j2k">
|
---|
| 148 | <primary sortas="b-image_to_j2k">image_to_j2k</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 | </listitem>
|
---|
| 151 | </varlistentry>
|
---|
| 152 |
|
---|
| 153 | <varlistentry id="j2k_dump">
|
---|
| 154 | <term><command>j2k_dump</command></term>
|
---|
| 155 | <listitem>
|
---|
| 156 | <para>reads in a jpeg2000 image and dumps the contents to stdout.</para>
|
---|
| 157 | <indexterm zone="openjpeg j2k_dump">
|
---|
| 158 | <primary sortas="b-j2k_dump">j2k_dump</primary>
|
---|
| 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
| 162 |
|
---|
| 163 | <varlistentry id="j2k_to_image">
|
---|
| 164 | <term><command>j2k_to_image</command></term>
|
---|
| 165 | <listitem>
|
---|
| 166 | <para>converts jpeg2000 images to other image types.</para>
|
---|
| 167 | <indexterm zone="openjpeg j2k_to_image">
|
---|
| 168 | <primary sortas="b-j2k_to_image">j2k_to_image</primary>
|
---|
| 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
| 172 |
|
---|
| 173 | </variablelist>
|
---|
| 174 |
|
---|
| 175 | </sect2>
|
---|
| 176 |
|
---|
| 177 | </sect1>
|
---|