Changes between Version 3 and Version 4 of TIFF12BitJPEG
- Timestamp:
- Jun 23, 2009, 11:04:21 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TIFF12BitJPEG
v3 v4 35 35 Currently no changes have been made to GDAL, though it is necessary to build with an external libtiff to use dual mode as the internal libtiff build stuff does not currently support dual mode. This might change at some point. 36 36 37 Reading 12bit files is straightforward. Generating them requires particular creation options for the GTiff driver, for example: 38 39 {{{ 40 gdal_translate mandril_rgb.tif -co COMPRESS=JPEG -co PHOTOMETRIC=YCBCR -co NBITS=12 out.tif 41 }}} 42 43 == Prebuilt Binaries == 44 45 Dual mode support has been incorporated into [http://osgeo4w.osgeo.org/ OSGeo4W]'s libtiff package and thus by GDAL. Note that only gdal16 and gdal-dev packages support the NBITS creation option, so it is not currently possible to create 12bit jpeg tiff files with the default gdal 1.5 environment. The 12bit jpeg is provided by the [http://trac.osgeo.org/osgeo4w/wiki/pkg-libjpeg12 libjpeg12] package. 46