Difference between revisions of "Libjpeg"
From CBLFS
Jump to navigationJump to searchChipster19 (talk | contribs) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
!Download Source: | !Download Source: | ||
| http://www.ijg.org/files/jpegsrc.v{{Libjpeg-Version}}.tar.gz | | http://www.ijg.org/files/jpegsrc.v{{Libjpeg-Version}}.tar.gz | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
Line 16: | Line 10: | ||
== Dependencies == | == Dependencies == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Non-Multilib == | == Non-Multilib == | ||
Line 39: | Line 15: | ||
Compile the package: | Compile the package: | ||
− | |||
./configure --prefix=/usr --enable-static --enable-shared && | ./configure --prefix=/usr --enable-static --enable-shared && | ||
make | make | ||
Line 57: | Line 32: | ||
Compile the package: | Compile the package: | ||
− | |||
CC="gcc ${BUILD32}" ./configure --prefix=/usr --enable-static --enable-shared && | CC="gcc ${BUILD32}" ./configure --prefix=/usr --enable-static --enable-shared && | ||
make | make | ||
Line 69: | Line 43: | ||
Compile the package: | Compile the package: | ||
− | |||
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \ | CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \ | ||
--enable-static --enable-shared && | --enable-static --enable-shared && | ||
Line 82: | Line 55: | ||
Compile the package: | Compile the package: | ||
− | |||
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \ | CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \ | ||
--enable-static --enable-shared && | --enable-static --enable-shared && | ||
Line 127: | Line 99: | ||
| library is used by many programs for reading and writing JPEG format files. | | library is used by many programs for reading and writing JPEG format files. | ||
|} | |} | ||
+ | |||
+ | [[Category:Graphics Libraries]] |
Latest revision as of 11:40, 11 November 2009
Download Source: | http://www.ijg.org/files/jpegsrc.v8d.tar.gz |
---|
Contents
Introduction to Libjpeg
Libjpeg is a library developed by the Independent JPEG Group for JPEG image compression.
Project Homepage: http://www.ijg.org/
Dependencies
Non-Multilib
Compile the package:
./configure --prefix=/usr --enable-static --enable-shared && make
Install the package
make install
Command Explanations
--enable-static --enable-shared: These switches tell libjpeg to build both shared and static libraries.
Multilib
32Bit
Compile the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr --enable-static --enable-shared && make
Install the package
make install
N32
Compile the package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 \ --enable-static --enable-shared && make libdir=/usr/lib32
Install the package
make libdir=/usr/lib32 install
64Bit
Compile the package:
CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 \ --enable-static --enable-shared && make libdir=/usr/lib64
Install the package
make libdir=/usr/lib64 install
Contents
Installed Programs: | cjpeg, djpeg, jpegtran, rdjpgcom, and wrjpgcom |
---|---|
Installed Libraries: | libjpeg.{a,la,so} |
Installed Directories: | None |
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. |
wrjpgcom | inserts text comments into a JPEG file. |
libjpeg.{so,a} | library is used by many programs for reading and writing JPEG format files. |