[gdal-dev] Converting from 16 bit to 8 bit images (best practices?)

Nikolaos Hatzopoulos nhatzop at gmail.com
Wed Jun 8 19:10:16 EDT 2011


why you don't try rgb2pct http://www.gdal.org/rgb2pct.html?

--Nikos Hatzopoulos

On Wed, Jun 8, 2011 at 2:20 PM, Jonathan Greenberg <greenberg at ucdavis.edu>wrote:

> Folks:
>
> I am using a piece of software which is relying on an older version of GDAL
> that doesn't have the "fix" to deal with > 8 bit geotiffs (it is trying to
> make a jpeg overlay but can't from a 16 bit image.  I think this is the
> issue: http://trac.osgeo.org/gdal/wiki/TIFF12BitJPEG), but when I do a
> straight convert (-ot Byte) the output image looks really washed out.  Any
> hints for getting the best quality output from a 16 bit to to an 8 bit
> conversion of a Geotiff?
>
> --j
>
> --
> Jonathan A. Greenberg, PhD
> Assistant Project Scientist
> Center for Spatial Technologies and Remote Sensing (CSTARS)
> Department of Land, Air and Water Resources
> University of California, Davis
> One Shields Avenue
> Davis, CA 95616
> Phone: 415-763-5476
> AIM: jgrn307, MSN: jgrn307 at hotmail.com, Gchat: jgrn307
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110608/6a8ed8fd/attachment-0001.html


More information about the gdal-dev mailing list