Introduction to libjpeg-turbo
libjpeg-turbo is a fork of the
original IJG libjpeg which uses
SIMD to accelerate baseline JPEG compression and decompression.
libjpeg is a library that
implements JPEG image encoding, decoding and transcoding.
This package is known to build and work properly using an LFS
NASM-2.11.08 or yasm-1.3.0
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libjpeg-turbo
Installation of libjpeg-turbo
Install libjpeg-turbo by running
the following commands:
sed -i -e '/^docdir/ s:$:/libjpeg-turbo-1.4.2:' Makefile.in &&
./configure --prefix=/usr \
To test the results, issue: make
If installing libjpeg-turbo over
an older jpeg installation, not all library symbolic links are
updated properly. To fix this before installation, run the
following as the
rm -f /usr/lib/libjpeg.so*
Now, as the
sed -i -e ... This
command fixes Makefile.in to install documentation and examples in
a version specific directory.
--with-jpeg8: This switch
enables compatibility with libjpeg
switch prevents installation of static versions of the libraries.
cjpeg, djpeg, jpegtran, rdjpgcom,
tjbench, and wrjpgcom
libjpeg.so and libturbojpeg.so
compresses image files to produce a JPEG/JFIF file on the
standard output. Currently supported input file formats
are: PPM (PBMPLUS color format), PGM (PBMPLUS gray-scale
format), BMP, and Targa.
decompresses image files from JPEG/JFIF format to either
PPM (PBMPLUS color format), PGM (PBMPLUS gray-scale
format), BMP, or Targa format.
is used for lossless transformation of JPEG files.
displays text comments from within a JPEG file.
is used to benchmark the performance of libjpeg-turbo.
inserts text comments into a JPEG file.
contains functions used for reading and writing JPEG
Last updated on 2016-01-26 00:29:53 -0600