6dd0fd5c64
IJG JPEG library, hack requred by libtiff will be compiled and used in-place.
28 lines
905 B
Plaintext
28 lines
905 B
Plaintext
|
|
For the broadest possible support for OJPEG files the following steps are
|
|
necessary:
|
|
|
|
o Ensure you are able to build with JPEG support (see config.site).
|
|
|
|
o Uncomment OJPEG="yes" statement in config.site or #define OJPEG_SUPPORT
|
|
somewhere (if you don't use configure logic). This can be put in
|
|
tiffconf.h for instance.
|
|
|
|
o Compile ojpeg.c module and link it with libtiff library. If you are using
|
|
configure script for building library it should be done automatically.
|
|
As an another option you can append the jdhuff_add.c code to the end
|
|
of jdhuff.c within the IJG JPEG libraries jdhuff.c file and recompile
|
|
libjpeg (jpeg-6b tested).
|
|
|
|
o Rebuild cleanly.
|
|
|
|
|
|
OJPEG support implemented by Scott Marovich at HP (marovich@hpl.hp.com).
|
|
|
|
---
|
|
|
|
For notes on further improved JPEG-in-TIFF support also see the following
|
|
bug in bugzilla:
|
|
|
|
http://bugzilla.remotesensing.org/show_bug.cgi?id=156
|