JasPer-2.0.0

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.10 platform.

Package Information

JasPer Dependencies

Recommended

Optional

Freeglut-3.0.0 (required for jiv), Doxygen-1.8.12 (needed for generating html documentation), and texlive-20160523b (needed to regnerate the pdf documention)

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

Installation of JasPer

mkdir BUILD &&
cd    BUILD &&

cmake -DCMAKE_INSTALL_PREFIX=/usr           \
      -DCMAKE_BUILD_TYPE=Release            \
      -DCMAKE_EXE_LINKER_FLAGS="-lGL -lGLU" \
      -DCMAKE_SKIP_INSTALL_RPATH=YES        \
      ..  &&
make

To test the results, issue: make test.

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-2.0.0/html &&
install -v -m644 ../doc/*.pdf /usr/share/doc/jasper-2.0.0

If Doxygen-1.8.12 was installed, the html documentation was automatically built. If desired, install these files as the root user:

cp -Rv doc/html/* /usr/share/doc/jasper-2.0.0/jtml

Command Explanations

-DCMAKE_EXE_LINKER_FLAGS="-lGL -lGLU": This option is needed so the jiv program can be sucessfully built.

-DCMAKE_SKIP_INSTALL_RPATH=YES: This option removes embedded library search paths.

Contents

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

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.

libjasper.so

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

Last updated on 2016-11-28 20:54:12 -0600