Changes between Version 4 and Version 5 of TIFF12BitJPEG


Ignore:
Timestamp:
Jun 23, 2009, 11:16:32 AM (15 years ago)
Author:
warmerdam
Comment:

a few more build notes.

Legend:

Unmodified
Added
Removed
Modified
  • TIFF12BitJPEG

    v4 v5  
    1515 * Attempt to hide non-public API entry points through the use of -fvisibility=hidden and __attribute__((visibility("default))) on the gcc toolchain.
    1616
    17 The following tickets have been opened against libtiff with regard to 12bit support.
     17The following tickets have been opened against libtiff with regard to 12bit support, and patches applied.
    1818 * [https://sourceforge.net/tracker/?func=detail&aid=2809983&group_id=159521&atid=812162 add 12bit renaming mode]
    1919 * [https://sourceforge.net/tracker/?func=detail&aid=2809979&group_id=159521&atid=812162 add 12bit default huffman table]
     20
     21To build in 12bit mode it should only be necessary to define BITS_IN_JSAMPLE to 12, and NEED_12_BIT_NAMES in jmorecfg.h.
     22
     23{{{
     24#define BITS_IN_JSAMPLE 12
     25#define NEED_12_BIT_NAMES
     26}}}
    2027
    2128== libtiff ==
     
    2936 * Configure.ac changes for --with-jpeg12, --with-jpeg12-include-dir, and --with-jpeg12-lib options.
    3037
    31 The changes are all in libtiff4 (HEAD) CVS now.  No effort has been made to back port this to libtiff3.9.
     38The changes are all in libtiff4 (HEAD) CVS now.  No effort has been made to back port this to libtiff3.9.  To build add the following definitions in tif_config.h:
     39
     40{{{
     41/* 8/12 bit libjpeg dual mode enabled */
     42#define JPEG_DUAL_MODE_8_12 1
     43/* 12bit libjpeg primary include file with path */
     44#define LIBJPEG_12_PATH "/home/warmerda/wrk/jpeg_12/bld/include/jpeglib.h"
     45}}}
     46
     47and link against the appropriate 12bit library or on linux/unix configure like:
     48
     49{{{
     50    --enable-jpeg12 \
     51    --with-jpeg12-include-dir=/home/warmerda/wrk/jpeg_12/bld/include \
     52    --with-jpeg12-lib=/home/warmerda/wrk/jpeg_12/bld/lib/libjpeg.la
     53}}}
    3254
    3355== GDAL ==