Changes between Version 4 and Version 5 of TIFF12BitJPEG
- Timestamp:
- Jun 23, 2009, 11:16:32 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TIFF12BitJPEG
v4 v5 15 15 * Attempt to hide non-public API entry points through the use of -fvisibility=hidden and __attribute__((visibility("default))) on the gcc toolchain. 16 16 17 The following tickets have been opened against libtiff with regard to 12bit support .17 The following tickets have been opened against libtiff with regard to 12bit support, and patches applied. 18 18 * [https://sourceforge.net/tracker/?func=detail&aid=2809983&group_id=159521&atid=812162 add 12bit renaming mode] 19 19 * [https://sourceforge.net/tracker/?func=detail&aid=2809979&group_id=159521&atid=812162 add 12bit default huffman table] 20 21 To 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 }}} 20 27 21 28 == libtiff == … … 29 36 * Configure.ac changes for --with-jpeg12, --with-jpeg12-include-dir, and --with-jpeg12-lib options. 30 37 31 The changes are all in libtiff4 (HEAD) CVS now. No effort has been made to back port this to libtiff3.9. 38 The 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 47 and 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 }}} 32 54 33 55 == GDAL ==