OpenJPEG-2.1.0

Introduction to OpenJPEG

OpenJPEG is an open-source implementation of the JPEG-2000 standard. OpenJPEG fully respects the JPEG-2000 specifications and can compress/decompress lossless 16-bit images.

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

Package Information

OpenJPEG Dependencies

Required

CMake-3.1.3

Optional

Little CMS-2.6, libpng-1.6.16, LibTIFF-4.0.3, and Doxygen-1.8.9.1 (to build the API documentation)

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

Installation of OpenJPEG

Install OpenJPEG by running the following commands:

mkdir build &&
cd    build &&

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .. &&
make

If you have built the test suite and wish to run it, issue: make test.

Now, as the root user:

make install &&
cd ../doc &&

for man in man/man?/* ; do
    install -v -D -m 644 $man /usr/share/$man
done

Command Explanations

-DBUILD_TESTING=ON: This switch enables building the test suite.

Contents

Installed Programs: opj_compress, opj_decompress, and opj_dump
Installed Libraries: libopenjp2.so
Installed Directories: /usr/include/openjpeg-2.1 and /usr/lib/openjpeg-2.1

Short Descriptions

opj_compress

converts various image formats to the jpeg2000 format.

opj_decompress

converts jpeg2000 images to other image types.

opj_dump

reads in a jpeg2000 image and dumps the contents to stdout.

Last updated on 2015-02-25 17:44:17 -0500