JasPer-1.900.1

Introduction to JasPer

The JasPer Project is an open-source initiative to provide a free software-based reference implementation of the JPEG-2000 codec.

This package is known to build and work properly using an LFS-7.9 platform.

Package Information

Additional Downloads

JasPer Dependencies

Required

UnZip-6.0

Recommended

Optional

Freeglut-3.0.0 (required for jiv)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/jasper

Installation of JasPer

[Note]

Note

The package source is distributed in .zip format and requires unzip, but it has been correctly packaged and will create the jasper-1.900.1 directory when you unzip it.

patch -Np1 -i ../jasper-1.900.1-security_fixes-2.patch &&
./configure --prefix=/usr    \
            --enable-shared  \
            --disable-static \
            --mandir=/usr/share/man &&
make

This package does not come with a testsuite.

Now, as the root user:

make install

If you wish to install the PDF files for the Reference Manual and a tutorial on the JPEG-2000 standard, run the following commands as the root user:

install -v -m755 -d /usr/share/doc/jasper-1.900.1 &&
install -v -m644 doc/*.pdf /usr/share/doc/jasper-1.900.1

Command Explanations

--enable-shared: This command causes the shared library to be built.

--disable-static: This switch prevents installation of static versions of the libraries.

--x-includes=DIR --x-libraries=DIR: These tell the configure script where to find Xorg if it is not in /usr/X11, /usr/X11R6, or /usr.

Contents

Installed Programs: imgcmp, imginfo, jasper, jiv, and tmrdemo
Installed Library: libjasper.so
Installed Directories: /usr/include/jasper and /usr/share/doc/jasper-1.900.1

Short Descriptions

imgcmp

compares two images of the same geometry.

imginfo

displays information about an image.

jasper

converts images between formats (BMP, JPS, JPC, JPG, PGX, PNM, MIF, and RAS).

jiv

displays images.

tmrdemo

is a timer demonstration program.

libjasper.so

a library used by programs for reading and writing JPEG2000 format files.

Last updated on 2016-02-24 00:06:22 -0800