2009-01-14 04:30:09 +08:00
|
|
|
<?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;
|
|
|
|
|
2021-02-05 15:08:44 +08:00
|
|
|
<!ENTITY jasper-download-http "https://github.com/jasper-software/jasper/archive/version-&jasper-version;/jasper-&jasper-version;.tar.gz">
|
2009-01-14 23:16:44 +08:00
|
|
|
<!ENTITY jasper-download-ftp " ">
|
2021-05-07 01:41:31 +08:00
|
|
|
<!ENTITY jasper-md5sum "2c6017d275146f8792fa448227a7c373">
|
2021-02-05 09:37:44 +08:00
|
|
|
<!ENTITY jasper-size "1.3 MB">
|
2021-05-07 01:41:31 +08:00
|
|
|
<!ENTITY jasper-buildsize "6.6 MB (with tests)">
|
2021-03-28 02:52:34 +08:00
|
|
|
<!ENTITY jasper-time "0.2 SBU (with tests)">
|
2009-01-14 04:30:09 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="jasper" xreflabel="JasPer-&jasper-version;">
|
|
|
|
<?dbhtml filename="jasper.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
2013-07-16 07:27:18 +08:00
|
|
|
<title>JasPer-&jasper-version;</title>
|
2009-01-14 04:30:09 +08:00
|
|
|
|
|
|
|
<indexterm zone="jasper">
|
|
|
|
<primary sortas="a-jasper-&jasper-version;">JasPer</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to JasPer</title>
|
|
|
|
|
2020-03-19 14:44:08 +08:00
|
|
|
<para>
|
|
|
|
The <application>JasPer</application> Project is an open-source
|
|
|
|
initiative to provide a free software-based reference implementation
|
|
|
|
of the JPEG-2000 codec.
|
|
|
|
</para>
|
2009-01-14 04:30:09 +08:00
|
|
|
|
2021-02-22 07:09:04 +08:00
|
|
|
&lfs101_checked;
|
2009-01-14 04:30:09 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2020-03-19 14:44:08 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&jasper-download-http;"/>
|
|
|
|
</para>
|
2009-01-14 04:30:09 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-19 14:44:08 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&jasper-download-ftp;"/>
|
|
|
|
</para>
|
2009-01-14 04:30:09 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-19 14:44:08 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &jasper-md5sum;
|
|
|
|
</para>
|
2009-01-14 04:30:09 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-19 14:44:08 +08:00
|
|
|
<para>
|
|
|
|
Download size: &jasper-size;
|
|
|
|
</para>
|
2009-01-14 04:30:09 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-19 14:44:08 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &jasper-buildsize;
|
|
|
|
</para>
|
2009-01-14 04:30:09 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-19 14:44:08 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &jasper-time;
|
|
|
|
</para>
|
2009-01-14 04:30:09 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2009-01-14 23:16:44 +08:00
|
|
|
<bridgehead renderas="sect3">JasPer Dependencies</bridgehead>
|
2009-01-14 04:30:09 +08:00
|
|
|
|
2016-12-26 23:28:26 +08:00
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
|
|
|
<xref linkend="cmake"/>
|
|
|
|
</para>
|
|
|
|
|
2009-01-14 04:30:09 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
2013-12-20 21:14:47 +08:00
|
|
|
<para role="recommended">
|
2013-12-20 21:12:21 +08:00
|
|
|
<xref linkend="libjpeg"/>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
2017-01-02 02:53:08 +08:00
|
|
|
<xref linkend="freeglut"/> (required for <command>jiv</command>),
|
2016-11-29 04:15:44 +08:00
|
|
|
<xref linkend="doxygen"/> (needed for generating html documentation), and
|
2017-05-14 13:19:55 +08:00
|
|
|
<xref linkend="texlive"/> (needed to regnerate the pdf documentation)
|
2013-12-20 21:12:21 +08:00
|
|
|
</para>
|
2009-01-14 04:30:09 +08:00
|
|
|
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/jasper"/></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
2009-01-14 23:16:44 +08:00
|
|
|
<title>Installation of JasPer</title>
|
2009-01-14 04:30:09 +08:00
|
|
|
|
2021-02-05 09:37:44 +08:00
|
|
|
<note>
|
|
|
|
<para>
|
|
|
|
The tarball <emphasis>jasper-&jasper-version;.tar.gz</emphasis> will
|
|
|
|
extract to
|
|
|
|
<emphasis>jasper-version-&jasper-version;</emphasis>.
|
|
|
|
</para>
|
|
|
|
</note>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Install <application>JasPer</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
|
|
|
|
2016-11-29 04:15:44 +08:00
|
|
|
<screen><userinput>mkdir BUILD &&
|
|
|
|
cd BUILD &&
|
|
|
|
|
2016-12-13 06:54:03 +08:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_SKIP_INSTALL_RPATH=YES \
|
2017-09-18 04:57:59 +08:00
|
|
|
-DJAS_ENABLE_DOC=NO \
|
2017-01-02 02:53:08 +08:00
|
|
|
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/jasper-&jasper-version; \
|
2016-11-29 04:15:44 +08:00
|
|
|
.. &&
|
2009-01-14 04:30:09 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2020-03-19 14:44:08 +08:00
|
|
|
<para>
|
|
|
|
To test the results, issue: <command>make test</command>.
|
|
|
|
</para>
|
2009-01-14 04:30:09 +08:00
|
|
|
|
2020-03-19 14:44:08 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2009-01-14 04:30:09 +08:00
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2019-12-08 01:38:33 +08:00
|
|
|
<para>
|
|
|
|
<parameter>-DCMAKE_SKIP_INSTALL_RPATH=YES</parameter>: This option
|
|
|
|
removes embedded library search paths.
|
|
|
|
</para>
|
2016-11-29 04:15:44 +08:00
|
|
|
|
2019-12-08 01:38:33 +08:00
|
|
|
<para>
|
|
|
|
<parameter>-DJAS_ENABLE_DOC=NO</parameter>: This option disables
|
|
|
|
rebuilding the pdf documentation if <xref linkend="texlive"/>
|
|
|
|
is installed.
|
|
|
|
</para>
|
2017-09-18 04:57:59 +08:00
|
|
|
|
2009-01-14 04:30:09 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Library</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2016-11-29 04:15:44 +08:00
|
|
|
<seg>imgcmp, imginfo, jasper, and jiv</seg>
|
2013-06-21 14:56:36 +08:00
|
|
|
<seg>libjasper.so</seg>
|
2009-01-14 04:30:09 +08:00
|
|
|
<seg>/usr/include/jasper and /usr/share/doc/jasper-&jasper-version;</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="imgcmp">
|
|
|
|
<term><command>imgcmp</command></term>
|
|
|
|
<listitem>
|
2020-03-19 14:44:08 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
compares two images of the same geometry
|
2020-03-19 14:44:08 +08:00
|
|
|
</para>
|
2009-01-14 04:30:09 +08:00
|
|
|
<indexterm zone="jasper imgcmp">
|
|
|
|
<primary sortas="b-imgcmp">imgcmp</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="imginfo">
|
|
|
|
<term><command>imginfo</command></term>
|
|
|
|
<listitem>
|
2020-03-19 14:44:08 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
displays information about an image
|
2020-03-19 14:44:08 +08:00
|
|
|
</para>
|
2009-01-14 04:30:09 +08:00
|
|
|
<indexterm zone="jasper imginfo">
|
|
|
|
<primary sortas="b-imginfo">imginfo</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="jasper-command">
|
|
|
|
<term><command>jasper</command></term>
|
|
|
|
<listitem>
|
2020-03-19 14:44:08 +08:00
|
|
|
<para>
|
|
|
|
converts images between formats (BMP, JPS, JPC, JPG, PGX, PNM, MIF,
|
2021-02-19 23:20:16 +08:00
|
|
|
and RAS)
|
2020-03-19 14:44:08 +08:00
|
|
|
</para>
|
2009-01-14 04:30:09 +08:00
|
|
|
<indexterm zone="jasper jasper">
|
|
|
|
<primary sortas="b-jasper">jasper</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="jiv">
|
|
|
|
<term><command>jiv</command></term>
|
|
|
|
<listitem>
|
2020-03-19 14:44:08 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
displays images
|
2020-03-19 14:44:08 +08:00
|
|
|
</para>
|
2009-01-14 04:30:09 +08:00
|
|
|
<indexterm zone="jasper jiv">
|
|
|
|
<primary sortas="b-jiv">jiv</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="jasper-lib">
|
2021-02-19 23:20:16 +08:00
|
|
|
<term><filename class="libraryfile">libjasper.so</filename></term>
|
2009-01-14 04:30:09 +08:00
|
|
|
<listitem>
|
2020-03-19 14:44:08 +08:00
|
|
|
<para>
|
|
|
|
is a library used by programs for reading and writing
|
2021-02-19 23:20:16 +08:00
|
|
|
JPEG2000 format files
|
2020-03-19 14:44:08 +08:00
|
|
|
</para>
|
2009-01-14 04:30:09 +08:00
|
|
|
<indexterm zone="jasper jasper-lib">
|
2013-06-21 14:56:36 +08:00
|
|
|
<primary sortas="c-libjasper">libjasper.so</primary>
|
2009-01-14 04:30:09 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|