Changes between Version 3 and Version 4 of TIFF12BitJPEG


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

add example and pointer to pre-built binaries.

Legend:

Unmodified
Added
Removed
Modified
  • TIFF12BitJPEG

    v3 v4  
    3535Currently 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.
    3636
     37Reading 12bit files is straightforward.  Generating them requires particular creation options for the GTiff driver, for example:
     38
     39{{{
     40gdal_translate mandril_rgb.tif -co COMPRESS=JPEG -co PHOTOMETRIC=YCBCR -co NBITS=12 out.tif
     41}}}
     42
     43== Prebuilt Binaries ==
     44
     45Dual 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