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 <pav...@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@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to