[bd81e201] | 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 |
|
---|
[e77eea37] | 7 | <!ENTITY openjpeg2-download-http "&sourceforge-repo;/openjpeg.mirror/openjpeg-&openjpeg2-version;.tar.gz">
|
---|
[bd81e201] | 8 | <!ENTITY openjpeg2-download-ftp " ">
|
---|
| 9 | <!ENTITY openjpeg2-md5sum "f6419fcc233df84f9a81eb36633c6db6">
|
---|
| 10 | <!ENTITY openjpeg2-size "1.7 MB">
|
---|
| 11 | <!ENTITY openjpeg2-buildsize "13 MB">
|
---|
| 12 | <!ENTITY openjpeg2-time "0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="openjpeg2" xreflabel="OpenJPEG-&openjpeg2-version;">
|
---|
| 16 | <?dbhtml filename="openjpeg2.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>OpenJPEG-&openjpeg2-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="openjpeg2">
|
---|
| 26 | <primary sortas="a-openjpeg2">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
|
---|
| 33 | of the JPEG-2000 standard. OpenJPEG fully respects the JPEG-2000 specifications
|
---|
| 34 | and can compress/decompress lossless 16-bit images.</para>
|
---|
| 35 |
|
---|
| 36 | &lfs76_checked;
|
---|
| 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&openjpeg2-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&openjpeg2-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &openjpeg2-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &openjpeg2-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &openjpeg2-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &openjpeg2-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">OpenJPEG Dependencies</bridgehead>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 63 | <para role="required">
|
---|
| 64 | <xref linkend="cmake"/>
|
---|
| 65 | </para>
|
---|
| 66 |
|
---|
| 67 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 68 | <para role="optional">
|
---|
| 69 | <xref linkend="lcms2"/>,
|
---|
| 70 | <xref linkend="libpng"/>,
|
---|
| 71 | <xref linkend="libtiff"/>, and
|
---|
| 72 | <xref linkend="doxygen"/> (to build the API documentation)
|
---|
| 73 | </para>
|
---|
| 74 |
|
---|
| 75 | <para condition="html" role="usernotes">User Notes:
|
---|
| 76 | <ulink url="&blfs-wiki;/openjpeg2"/></para>
|
---|
| 77 |
|
---|
| 78 | </sect2>
|
---|
| 79 |
|
---|
| 80 | <sect2 role="installation">
|
---|
| 81 | <title>Installation of OpenJPEG</title>
|
---|
| 82 |
|
---|
[73bd2c4] | 83 | <para>
|
---|
| 84 | Install <application>OpenJPEG</application> by running the
|
---|
| 85 | following commands:
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
[bd81e201] | 88 | <screen><userinput>mkdir build &&
|
---|
| 89 | cd build &&
|
---|
| 90 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .. &&
|
---|
| 91 | make</userinput></screen>
|
---|
| 92 |
|
---|
| 93 | <para>If you have built the test suite and wish to run it, issue:
|
---|
| 94 | <command>make test</command>.</para>
|
---|
| 95 |
|
---|
| 96 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 97 |
|
---|
| 98 | <screen role="root"><userinput>make install &&
|
---|
| 99 | cd ../doc &&
|
---|
| 100 | for man in man/man?/* ; do
|
---|
| 101 | install -v -D -m 644 $man /usr/share/$man
|
---|
| 102 | done</userinput></screen>
|
---|
| 103 |
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | <sect2 role="commands">
|
---|
| 107 | <title>Command Explanations</title>
|
---|
| 108 |
|
---|
| 109 | <para><option>-DBUILD_TESTING=ON</option>: This switch enables
|
---|
| 110 | building the test suite.</para>
|
---|
| 111 |
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="content">
|
---|
| 115 | <title>Contents</title>
|
---|
| 116 |
|
---|
| 117 | <segmentedlist>
|
---|
| 118 | <segtitle>Installed Programs</segtitle>
|
---|
| 119 | <segtitle>Installed Libraries</segtitle>
|
---|
| 120 | <segtitle>Installed Directories</segtitle>
|
---|
| 121 |
|
---|
| 122 | <seglistitem>
|
---|
| 123 | <seg>opj_compress, opj_decompress, and opj_dump</seg>
|
---|
| 124 | <seg>libopenjp2.so</seg>
|
---|
| 125 | <seg>/usr/include/openjpeg-2.1 and /usr/lib/openjpeg-2.1</seg>
|
---|
| 126 | </seglistitem>
|
---|
| 127 | </segmentedlist>
|
---|
| 128 |
|
---|
| 129 | <variablelist>
|
---|
| 130 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 131 | <?dbfo list-presentation="list"?>
|
---|
| 132 | <?dbhtml list-presentation="table"?>
|
---|
| 133 |
|
---|
| 134 | <varlistentry id="opj_compress">
|
---|
| 135 | <term><command>opj_compress</command></term>
|
---|
| 136 | <listitem>
|
---|
| 137 | <para>converts various image formats to the jpeg2000 format.</para>
|
---|
| 138 | <indexterm zone="openjpeg2 opj_compress">
|
---|
| 139 | <primary sortas="b-opj_compress">opj_compress</primary>
|
---|
| 140 | </indexterm>
|
---|
| 141 | </listitem>
|
---|
| 142 | </varlistentry>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="opj_decompress">
|
---|
| 145 | <term><command>opj_decompress</command></term>
|
---|
| 146 | <listitem>
|
---|
| 147 | <para>converts jpeg2000 images to other image types.</para>
|
---|
| 148 | <indexterm zone="openjpeg2 opj_decompress">
|
---|
| 149 | <primary sortas="b-opj_decompress">opj_decompress</primary>
|
---|
| 150 | </indexterm>
|
---|
| 151 | </listitem>
|
---|
| 152 | </varlistentry>
|
---|
| 153 |
|
---|
| 154 | <varlistentry id="opj_dump">
|
---|
| 155 | <term><command>opj_dump</command></term>
|
---|
| 156 | <listitem>
|
---|
| 157 | <para>reads in a jpeg2000 image and dumps the contents to stdout.</para>
|
---|
| 158 | <indexterm zone="openjpeg2 opj_dump">
|
---|
| 159 | <primary sortas="b-opj_dump">opj_dump</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
| 164 | </variablelist>
|
---|
| 165 |
|
---|
| 166 | </sect2>
|
---|
| 167 |
|
---|
| 168 | </sect1>
|
---|