libjpeg-turbo-1.4.2
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 \
--mandir=/usr/share/man \
--with-jpeg8 \
--disable-static &&
make
To test the results, issue: make
test.
Note
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 root
user:
rm -f /usr/lib/libjpeg.so*
Now, as the root
user:
make install
Command Explanations
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
version 8.
--disable-static
: This
switch prevents installation of static versions of the libraries.
Contents
Installed Programs:
cjpeg, djpeg, jpegtran, rdjpgcom,
tjbench, and wrjpgcom
Installed Libraries:
libjpeg.so and libturbojpeg.so
Installed Directories:
/usr/share/doc/libjpeg-turbo-1.4.2
Short Descriptions
cjpeg
|
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.
|
djpeg
|
decompresses image files from JPEG/JFIF format to either
PPM (PBMPLUS color format), PGM (PBMPLUS gray-scale
format), BMP, or Targa format.
|
jpegtran
|
is used for lossless transformation of JPEG files.
|
rdjpgcom
|
displays text comments from within a JPEG file.
|
tjbench
|
is used to benchmark the performance of libjpeg-turbo.
|
wrjpgcom
|
inserts text comments into a JPEG file.
|
libjpeg.so
|
contains functions used for reading and writing JPEG
images.
|
Last updated on 2016-02-23 16:02:26 -0800