Introduction to libjpeg
The libjpeg package contains
libraries that allow compression of image files based on the Joint
Photographic Experts Group standard. It is a "lossy" compression
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libjpeg
Installation of libjpeg
Install libjpeg by running the
./configure --prefix=/usr --enable-static --enable-shared &&
To test the results, issue: make
Now, as the
--enable-shared: These switches tell libjpeg to build both shared and static
As with most libraries, there is no configuration to do, save
that the library directory, i.e.,
/usr/local/lib should appear in
/etc/ld.so.conf so that ldd can find the shared
libraries. After checking that this is the case, /sbin/ldconfig should be run
while logged in as
cjpeg, djpeg, jpegtran, rdjpgcom, and
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.
inserts text comments into a JPEG file.
library is used by many programs for reading and writing
JPEG format files.
Last updated on 2007-04-04 14:42:53 -0500