[gdal-dev] Re: Saving 16 bit image

Chaitanya kumar CH chaitanya.ch at gmail.com
Tue Jul 26 06:27:16 EDT 2011


You can use the GDALRasterBand::SetScale() and GDALRasterBand::SetOffset()
methods[1]. There are methods to retrieve them too.

[1]: http://www.gdal.org/classGDALRasterBand.html

On Tue, Jul 26, 2011 at 2:53 PM, el_inca <pavkiz at mail.ru> wrote:

> Thank you for your answer.
>
> In gdal-translate.exe there is an option of -scale pixel range.
> How can i set this parameters from code (visual c++) ?
>
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Saving-16-bit-image-tp6606613p6621525.html
> Sent from the GDAL - Dev mailing list archive at Nabble.com.
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110726/2d6ae106/attachment-0001.html


More information about the gdal-dev mailing list