OpenJPEG-2.5.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 12.1 platform.

Package Information

OpenJPEG Dependencies

Required

CMake-3.28.3

Optional

Little CMS-2.14, libpng-1.6.42, libtiff-4.6.0, and Doxygen-1.10.0 (to build the API documentation)

Installation of OpenJPEG

Install OpenJPEG by running the following commands:

mkdir -v build &&
cd       build &&

cmake -DCMAKE_BUILD_TYPE=Release \
      -DCMAKE_INSTALL_PREFIX=/usr \
      -DBUILD_STATIC_LIBS=OFF .. &&
make

This package does not come with a test suite.

Now, as the root user:

make install &&
cp -rv ../doc/man -T /usr/share/man

Contents

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

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