2001-07-18 09:12:21 -04:00
|
|
|
|
|
|
|
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).
|
|
|
|
|
2003-05-06 08:57:14 -04:00
|
|
|
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).
|
2001-07-18 09:12:21 -04:00
|
|
|
|
|
|
|
o Rebuild cleanly.
|
|
|
|
|
|
|
|
|
|
|
|
OJPEG support implemented by Scott Marovich at HP (marovich@hpl.hp.com).
|
2002-06-11 22:29:11 -04:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
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
|